[Insight-users] building Insight on win2k with VC++ 6

Charlie H. Chang charlie.chang@nchc.gov.tw
Thu, 16 May 2002 14:07:53 +0800


--------------090406020006090508090509
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hello all,
I am new to ITK, and I have used VTK for a while.
Recently I have tried to build ITK on won2k but fails them all.
I have installed VTK 4.0 (CVS), fltk 1.1.0b13, and CMake 1.2;
the following are the parameters and their values in CMake,
then I included the error message.
Can anyone see what goes wrong?
Thank you in advance!


- CMake info to build ITK -
BUILD_AUXILIARY ON
BUILD_EXAMPLES  ON
BUILD_FEM_CODE ON
BUILD_FLTKIMAGEVIEWER ON
BUILD_METAIMAGE ON
BUILD_TESTING ON
BUILD_VTKINTERFACE ON
EXECUTABLE_OUTPUT_PATH  c:/OPT/BIN
FLTK_FLUID_EXE  C:/OPT/FLTK/FLUID.EXE
FLTK_INCLUDE_PATH C:/OPT/FLTK
FLTK_LIBRARY C:/OPT/FLTK/LIB/FLTK.LIB
FLTK_WRAP_UI ON
GLU_LIBRARY GLU32
...
USE_BUILT_VTK ON
USE_FLTK ON
USE_VTK ON
VTK_BINARY_PATH C:/OPT/VTK
VTK_INSTALL_PATH NOTFOUND
VW_RAW_DATA_PATH NOTFOUND


- VC++ 6 message -

--------------------Configuration: ImageRegistration - Win32 
Release--------------------
Linking...
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
Fl_Gl_Window::resize(int,int,int,int)" (?resize@Fl_Gl_Window@@UAEXHHHH@Z)
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
Fl_Gl_Window::resize(int,int,int,int)" (?resize@Fl_Gl_Window@@UAEXHHHH@Z)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "private: virtual void __thiscall 
Fl_Gl_Window::draw_overlay(void)" (?draw_overlay@Fl_Gl_Window@@EAEXXZ)
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved 
external symbol "private: virtual void __thiscall 
Fl_Gl_Window::draw_overlay(void)" (?draw_overlay@Fl_Gl_Window@@EAEXXZ)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)" 
(?hide@Fl_Gl_Window@@UAEXXZ)
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
Fl_Gl_Window::hide(void)" (?hide@Fl_Gl_Window@@UAEXXZ)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)" 
(?show@Fl_Gl_Window@@UAEXXZ)
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
Fl_Gl_Window::show(void)" (?show@Fl_Gl_Window@@UAEXXZ)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)" 
(?flush@Fl_Gl_Window@@UAEXXZ)
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
Fl_Gl_Window::flush(void)" (?flush@Fl_Gl_Window@@UAEXXZ)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" 
(??1Fl_Gl_Window@@UAE@XZ)
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved 
external symbol "public: virtual __thiscall 
Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window@@UAE@XZ)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "private: void __thiscall Fl_Gl_Window::init(void)" 
(?init@Fl_Gl_Window@@AAEXXZ)
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved 
external symbol "private: void __thiscall Fl_Gl_Window::init(void)" 
(?init@Fl_Gl_Window@@AAEXXZ)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "void __cdecl gl_draw(char const *,float,float)" 
(?gl_draw@@YAXPBDMM@Z)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "double __cdecl gl_width(char const *)" (?gl_width@@YANPBD@Z)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "int __cdecl gl_height(void)" (?gl_height@@YAHXZ)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "void __cdecl gl_font(int,int)" (?gl_font@@YAXHH@Z)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "public: void __thiscall Fl_Gl_Window::ortho(void)" 
(?ortho@Fl_Gl_Window@@QAEXXZ)
liImageRegistrationConsole.obj : error LNK2001: unresolved external 
symbol "public: void __thiscall Fl_Gl_Window::make_current(void)" 
(?make_current@Fl_Gl_Window@@QAEXXZ)
Release/ImageRegistration.exe : fatal error LNK1120: 13 unresolved externals
Error executing link.exe.

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





-- 
Charlie H. Chang, Software Development Group
National Center for High-performance Computing
T: 1-886-3-5776085x362
E: charlie.chang@nchc.gov.tw
W: www.nchc.gov.tw

--------------090406020006090508090509
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Hello all,<br>
I am new to ITK, and I have used VTK for a while.<br>
Recently I have tried to build ITK on won2k but fails them all.<br>
I have installed VTK 4.0 (CVS), fltk 1.1.0b13, and CMake 1.2;<br>
the following are the parameters and their values in CMake,<br>
then I included the error message.<br>
Can anyone see what goes wrong?<br>
Thank you in advance!<br>
<br>
<br>
<small><font face="Courier New, Courier, monospace">- CMake info to build
ITK -<br>
BUILD_AUXILIARY ON<br>
BUILD_EXAMPLES&nbsp; ON<br>
BUILD_FEM_CODE ON<br>
BUILD_FLTKIMAGEVIEWER ON<br>
BUILD_METAIMAGE ON<br>
BUILD_TESTING ON<br>
BUILD_VTKINTERFACE ON<br>
EXECUTABLE_OUTPUT_PATH&nbsp; c:/OPT/BIN<br>
FLTK_FLUID_EXE&nbsp; C:/OPT/FLTK/FLUID.EXE<br>
FLTK_INCLUDE_PATH C:/OPT/FLTK<br>
FLTK_LIBRARY C:/OPT/FLTK/LIB/FLTK.LIB<br>
FLTK_WRAP_UI ON<br>
GLU_LIBRARY GLU32<br>
...<br>
USE_BUILT_VTK ON<br>
USE_FLTK ON<br>
USE_VTK ON<br>
VTK_BINARY_PATH C:/OPT/VTK<br>
VTK_INSTALL_PATH NOTFOUND<br>
VW_RAW_DATA_PATH NOTFOUND<br>
<br>
<br>
- VC++ 6 message -<br>
<br>
--------------------Configuration: ImageRegistration - Win32 Release--------------------<br>
Linking...<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)" (?resize@Fl_Gl_Window@@UAEXHHHH@Z)<br>
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external
symbol "public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)"
(?resize@Fl_Gl_Window@@UAEXHHHH@Z)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
<a class="moz-txt-link-rfc2396E" href="private:virtualvoid__thiscallFl_Gl_Window::draw_overlay(void)">"private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)"</a> (?draw_overlay@Fl_Gl_Window@@EAEXXZ)<br>
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external
symbol <a class="moz-txt-link-rfc2396E" href="private:virtualvoid__thiscallFl_Gl_Window::draw_overlay(void)">"private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)"</a>
(?draw_overlay@Fl_Gl_Window@@EAEXXZ)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall Fl_Gl_Window::hide(void)" (?hide@Fl_Gl_Window@@UAEXXZ)<br>
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external
symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)" (?hide@Fl_Gl_Window@@UAEXXZ)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall Fl_Gl_Window::show(void)" (?show@Fl_Gl_Window@@UAEXXZ)<br>
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external
symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)" (?show@Fl_Gl_Window@@UAEXXZ)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall Fl_Gl_Window::flush(void)" (?flush@Fl_Gl_Window@@UAEXXZ)<br>
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external
symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)" (?flush@Fl_Gl_Window@@UAEXXZ)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window@@UAE@XZ)<br>
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external
symbol "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window@@UAE@XZ)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
<a class="moz-txt-link-rfc2396E" href="private:void__thiscallFl_Gl_Window::init(void)">"private: void __thiscall Fl_Gl_Window::init(void)"</a> (?init@Fl_Gl_Window@@AAEXXZ)<br>
FltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external
symbol <a class="moz-txt-link-rfc2396E" href="private:void__thiscallFl_Gl_Window::init(void)">"private: void __thiscall Fl_Gl_Window::init(void)"</a> (?init@Fl_Gl_Window@@AAEXXZ)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"void __cdecl gl_draw(char const *,float,float)" (?gl_draw@@YAXPBDMM@Z)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"double __cdecl gl_width(char const *)" (?gl_width@@YANPBD@Z)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"int __cdecl gl_height(void)" (?gl_height@@YAHXZ)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"void __cdecl gl_font(int,int)" (?gl_font@@YAXHH@Z)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"public: void __thiscall Fl_Gl_Window::ortho(void)" (?ortho@Fl_Gl_Window@@QAEXXZ)<br>
liImageRegistrationConsole.obj : error LNK2001: unresolved external symbol
"public: void __thiscall Fl_Gl_Window::make_current(void)" (?make_current@Fl_Gl_Window@@QAEXXZ)<br>
Release/ImageRegistration.exe : fatal error LNK1120: 13 unresolved externals<br>
Error executing link.exe.<br>
<br>
ALL_BUILD - 21 error(s), 0 warning(s)<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Charlie H. Chang, Software Development Group<br>
National Center for High-performance Computing<br>
T: 1-886-3-5776085x362<br>
E: <a class="moz-txt-link-abbreviated" href="mailto:charlie.chang@nchc.gov.tw">charlie.chang@nchc.gov.tw</a><br>
W: <a class="moz-txt-link-abbreviated" href="http://www.nchc.gov.tw">www.nchc.gov.tw</a></font></small>
</body>
</html>

--------------090406020006090508090509--