[Insight-users] Could you give me some hints about my problem?

Hon-Cheng Wong hcwong at must . edu . mo
Mon, 4 Aug 2003 12:28:29 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C35A83.E90F5E60
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Dear Luis and all ITK user,

         In order to separate the GaussianFilter in independent project, =

I have separated the FLTKImageViewer library and built it using=20

IN-SOURCE build successfully. And I have set the necessary paths
in CMakeList.txt of GaussianFilter.

        When I build the GaussianFilter, there are 136 errors during=20
the linking process of ITKFltkImageViewer.lib.

         Could you give me some hints about my problem?

Thank you very much in advance!!

Regards,
Hugo

Here are the selected error messages I got:
--------------------Configuration: GaussianFilter - Win32 =
Release--------------------
Building Custom Rule D:\ITKResearch\GaussianFilter\liFilterConsoleGUI.fl

Compiling...

GaussianFilter.cxx

liFilterConsole.cxx

liFilterConsoleBase.cxx

liFilterConsoleGUI.cxx

Generating Code...

Linking...         =20

   Creating library Release/GaussianFilter.lib and object =
Release/GaussianFilter.exp

GaussianFilter.obj : error LNK2001: unresolved external symbol "public: =
static int __cdecl Fl::run(void)" (?run at Fl@@SAHXZ)

liFilterConsole.obj : error LNK2001: unresolved external symbol "public: =
void __thiscall Fl_Widget::deactivate(void)" =
(?deactivate at Fl_Widget@@QAEXXZ)

liFilterConsoleGUI.obj : error LNK2001: unresolved external symbol =
"public: void __thiscall Fl_Widget::deactivate(void)" =
(?deactivate at Fl_Widget@@QAEXXZ)

liFilterConsole.obj : error LNK2001: unresolved external symbol "public: =
void __thiscall Fl_Widget::activate(void)" (?activate at Fl_Widget@@QAEXXZ)

liFilterConsole.obj : error LNK2001: unresolved external symbol "char * =
__cdecl fl_file_chooser(char const *,char const *,char const *,int)" =
(?fl_file_chooser@@YAPADPBD00H at Z)

liFilterConsole.obj : error LNK2001: unresolved external symbol "public: =
static int __cdecl Fl::check(void)" (?check at Fl@@SAHXZ)

ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved =
external symbol "public: static int __cdecl Fl::check(void)" =
(?check at Fl@@SAHXZ)

ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved =
external symbol "public: static int __cdecl Fl::check(void)" =
(?check at Fl@@SAHXZ)

=A1K=A1K

Release/GaussianFilter.exe : fatal error LNK1120: 93 unresolved =
externals

Error executing link.exe.

=20

ALL_BUILD - 136 error(s), 0 warning(s)

------=_NextPart_000_000B_01C35A83.E90F5E60
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Dear Luis and all ITK =
user,</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" =
size=3D3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
In order to separate the GaussianFilter in independent =
project,&nbsp;<BR>I have=20
separated&nbsp;the FLTKImageViewer library and built it using </P>
<DIV><FONT face=3D"Times New Roman"><STRONG>IN-SOURCE</STRONG> build =
successfully.=20
And I have set the necessary paths</FONT></DIV>
<DIV>in CMakeList.txt of GaussianFilter.</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Times New =
Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
When I build the GaussianFilter, there are 136 errors during =
</FONT></DIV>
<DIV><FONT face=3D"Times New Roman">the linking </FONT>process of=20
ITKFltkImageViewer.lib.</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Could you give me =
some=20
hints about my problem?</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Thank you very much in advance!!</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Hugo</DIV>
<DIV>&nbsp;</DIV>
<DIV>Here are the selected error messages I got:</DIV>
<DIV></FONT></SPAN><SPAN lang=3DEN-US><FONT face=3D"Times New Roman"=20
size=3D3>--------------------Configuration: GaussianFilter - Win32=20
Release--------------------</FONT></SPAN></DIV>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Building Custom Rule=20
D:\ITKResearch\GaussianFilter\liFilterConsoleGUI.fl</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Compiling...</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>GaussianFilter.cxx</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>liFilterConsole.cxx</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" =
size=3D3>liFilterConsoleBase.cxx</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" =
size=3D3>liFilterConsoleGUI.cxx</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Generating Code...</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; tab-stops: =
108.65pt"><SPAN=20
lang=3DEN-US><FONT size=3D3><FONT face=3D"Times New =
Roman">Linking...<SPAN=20
style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></FONT></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
size=3D3><FONT face=3D"Times New Roman"><SPAN style=3D"mso-spacerun: =
yes">&nbsp;&nbsp;=20
</SPAN>Creating library Release/GaussianFilter.lib and object=20
Release/GaussianFilter.exp</FONT></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>GaussianFilter.obj : error LNK2001: =
unresolved=20
external symbol "public: static int __cdecl Fl::run(void)"=20
(?run at Fl@@SAHXZ)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>liFilterConsole.obj : error LNK2001: =
unresolved=20
external symbol "public: void __thiscall Fl_Widget::deactivate(void)"=20
(?deactivate at Fl_Widget@@QAEXXZ)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>liFilterConsoleGUI.obj : error =
LNK2001: unresolved=20
external symbol "public: void __thiscall Fl_Widget::deactivate(void)"=20
(?deactivate at Fl_Widget@@QAEXXZ)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>liFilterConsole.obj : error LNK2001: =
unresolved=20
external symbol "public: void __thiscall Fl_Widget::activate(void)"=20
(?activate at Fl_Widget@@QAEXXZ)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>liFilterConsole.obj : error LNK2001: =
unresolved=20
external symbol "char * __cdecl fl_file_chooser(char const *,char const =
*,char=20
const *,int)" (?fl_file_chooser@@YAPADPBD00H at Z)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>liFilterConsole.obj : error LNK2001: =
unresolved=20
external symbol "public: static int __cdecl Fl::check(void)"=20
(?check at Fl@@SAHXZ)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" =
size=3D3>ITKFltkImageViewer.lib(fltkLightButton.obj) :=20
error LNK2001: unresolved external symbol "public: static int __cdecl=20
Fl::check(void)" (?check at Fl@@SAHXZ)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" =
size=3D3>ITKFltkImageViewer.lib(fltkProgressBar.obj) :=20
error LNK2001: unresolved external symbol "public: static int __cdecl=20
Fl::check(void)" (?check at Fl@@SAHXZ)</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>=A1K=A1K</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Release/GaussianFilter.exe : fatal =
error LNK1120:=20
93 unresolved externals</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>Error executing =
link.exe.</FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
size=3D3><FONT face=3D"Times New Roman">&nbsp;<?xml:namespace prefix =3D =
o ns =3D=20
"urn:schemas-microsoft-com:office:office" =
/><o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN =
lang=3DEN-US><FONT=20
face=3D"Times New Roman" size=3D3>ALL_BUILD - 136 error(s), 0=20
warning(s)</FONT></SPAN></P></FONT></DIV></BODY></HTML>

------=_NextPart_000_000B_01C35A83.E90F5E60--