<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi luis and ITK Users</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Many thanks for the help you give.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I start to use FLTK (windows)
and </FONT><FONT face=Arial size=2>I tried the program example as
mentioned in the ITK tutorial Getting Started IV. I make Cmakelist.txt,
myProject.cxx and make myProjectGUI.fl with fluid. Project file generation using
CMake was succeed. In the compilation stage, there were no error in compiling
myproject.cxx, myprojectGUI.cxx but it stoped in the lingking stage. There
were 90 error that almost the same, such as: </FONT></DIV>
<DIV><FONT face=Arial size=2>Creating library Debug/myProject.lib and object
Debug/myProject.exp<BR>itkIO.lib(itkDICOMImageIO2.obj) : error LNK2001:
unresolved external symbol "public: __thiscall
DICOMAppHelper::DICOMAppHelper(void)" (<A
href="mailto:??0DICOMAppHelper@@QAE@XZ">??0DICOMAppHelper@@QAE@XZ</A>)<BR>itkIO.lib(itkDICOMImageIO2.obj)
: error LNK2001: unresolved external symbol "public: __thiscall
DICOMParser::DICOMParser(void)" (<A
href="mailto:??0DICOMParser@@QAE@XZ">??0DICOMParser@@QAE@XZ</A>)</FONT></DIV>
<DIV><FONT face=Arial size=2>....</FONT></DIV>
<DIV><FONT face=Arial size=2>Would you mind to show me what should I
do?</FONT></DIV>
<DIV><FONT face=Arial size=2>I am sorry this error maybe caused by the wrong
setting in my MSVC++, and I am really don't know how to fix
it. </FONT></DIV>
<DIV><FONT face=Arial size=2>I use fltk and fluid 1.1.4.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Many thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>//
------CMakelist.txt ---<BR>PROJECT(myProjectGUI)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># first we have to find
VTK<BR>FIND_PACKAGE(ITK)<BR>IF(ITK_FOUND)<BR>
INCLUDE(${ITK_USE_FILE})<BR>ENDIF(ITK_FOUND)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># then
FLTK<BR>FIND_PACKAGE(FLTK)<BR>IF(FLTK_FOUND)<BR>
INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})<BR>ENDIF(FLTK_FOUND)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ADD_EXECUTABLE(myProject
myProject.cxx)<BR>IF(FLTK_FOUND)<BR> FLTK_WRAP_UI(myProject
myProjectGUI.fl)<BR>ENDIF(FLTK_FOUND)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>TARGET_LINK_LIBRARIES(myProject itkIO
itkBasicFilters itkCommon itkNumerics fltkd fltkgld fltkimagesd fltkformsd
${FLTK_LIBRARIES})<BR></DIV></FONT></BODY></HTML>