<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6617.47">
<TITLE>Problems with bulilding itk 2.6.0, with cmake 2.4.2, etc.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello all,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">after some monthes awaz from ITK, I am fighting now to build the latest releases. My old environment </FONT>
<BR><FONT SIZE=2 FACE="Arial">(which was working very well) was: ITK 2.4.0, fltk-1.1.6, vtk 4.2, MS visual studio 7.0, cmake 2.0.5, and Qt 2.3nc.</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">I am trying also to start with </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">MS visual studio .NET 2003.</FONT>
<BR><FONT SIZE=2 FACE="Arial">CMake 2.4.2.</FONT>
<BR><FONT SIZE=2 FACE="Arial">VTK 5.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">Fltk-1.1.6</FONT>
<BR><FONT SIZE=2 FACE="Arial">and ITK 2.6.0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Both ITK and VTK habe been built (with the new CMake) and compiled well with .NET 2003. </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">1. Unfortunately fltk did not! The fltkdll and the fltkimagesd could not be built. I cut a piece from the long error list.</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">------ Build started: Project: fltkdll, Configuration: Release Win32 ------</FONT>
</P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">Linking...</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New"> Creating library .\../test/fltkdll.lib and object .\../test/fltkdll.exp</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">gl_start.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) referenced in function "void __cdecl gl_start(void)" (?gl_start@@YAXXZ)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">glut_compatability.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) referenced in function "void __cdecl domenu(int,int,int)" (?domenu@@YAXHHH@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">glut_font.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">forms_fselect.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) referenced in function "char * __cdecl fl_show_file_selector(char const *,char const *,char const *,char const *)" (?fl_show_file_selector@@YAPADPBD000@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">forms_pixmap.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) referenced in function "public: __thiscall Fl_FormsPixmap::Fl_FormsPixmap(enum Fl_Boxtype,int,int,int,int,char const *)" (??0Fl_FormsPixmap@@QAE@W4Fl_Boxtype@@HHHHPBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">forms_timer.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">gl_draw.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">Fl_XPM_Image.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">forms_bi</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">2. Three of the InsightApplication projects could not be build. Here are some cuts of their error lists:</FONT>
</P>
<BR>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">------ Build started: Project: DeformableModelSimplexMesh, Configuration: Release Win32 ------</FONT>
</P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">Linking...</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New"> Creating library Release\DeformableModelSimplexMesh.lib and object Release\DeformableModelSimplexMesh.exp</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_destroy_decompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_read_scanlines referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj)</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=2 FACE="Arial">...</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=2 FACE="Arial">...</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=2 FACE="Arial">...</FONT>
</P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">------ Build started: Project: LiverTumorSegmentationExample, Configuration: Release Win32 ------</FONT>
</P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">Linking...</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New"> Creating library Release\LiverTumorSegmentationExample.lib and object Release\LiverTumorSegmentationExample.exp</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_destroy_decompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_read_scanlines referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_start_decompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkim</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=2 FACE="Arial"> ...</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=2 FACE="Arial">...</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=2 FACE="Arial">...</FONT>
</P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">------ Build started: Project: InsightSNAP, Configuration: Release Win32 ------</FONT>
</P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">Linking...</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New"> Creating library Release\InsightSNAP.lib and object Release\InsightSNAP.exp</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library</FONT>
<BR><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_destroy_decompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_read_scanlines referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_start_decompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE@PBD@Z)</FONT></P>
<P><FONT COLOR="#FF00FF" SIZE=1 FACE="Courier New">fltkimag</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">The question is: Does the a.m. combination of cmake, itk, vtk, and MS studio actually work well together? Or should I have</FONT></P>
<P><FONT SIZE=2 FACE="Arial">made some mistake somewhere?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am asking because my own programs also did not work after the new setup and generate long lists of errors.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Much Thanks for any help,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Zein</FONT>
</P>
<BR>
<BR>
<BR>
</BODY>
</HTML>