[Insight-users] Problems building InsightApplications

Zein Salah salah at gris.uni-tuebingen.de
Tue Jul 4 07:46:04 EDT 2006


Hello everzbody,

I am trying to build Insightapplication-2.8.1. I have 

fltk-1.1.6,  Cmake 2.2.3, MS VS .NET2003.

Three of the application failed to build. All are complaining about fltkimages.lib. 
Here are the error that came.

Any idea what the problem is? May be fltk-1.1.6 is not compatible with the configuration?

Many thanks,
Zein




------ Build started: Project: DeformableModelSimplexMesh, Configuration: Debug Win32 ------

Linking...
   Creating library Debug\DeformableModelSimplexMesh.lib and object Debug\DeformableModelSimplexMesh.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_calc_output_dimensions referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_read_header referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_stdio_src referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_CreateDecompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_std_error referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_destroy_read_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_end referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_rows referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_interlace_handling referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_tRNS_to_alpha referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_get_valid referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_strip_16 referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_packing referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_expand referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_info referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_init_io referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_create_info_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_create_read_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
Debug\DeformableModelSimplexMesh.exe : fatal error LNK1120: 22 unresolved externals

Build log was saved at "file://d:\InsightApplications-BIN\DeformableModelSimplexMesh\DeformableModelSimplexMesh.dir\Debug\BuildLog.htm"
DeformableModelSimplexMesh - 23 error(s), 1 warning(s)


------ Build started: Project: ResampleVolumes, Configuration: Debug Win32 ------

ResampleVolumes - up-to-date.


------ Build started: Project: MRFGaussianIBSRClassificationApp, Configuration: Debug Win32 ------

MRFGaussianIBSRClassificationApp - up-to-date.


------ Build started: Project: LiverTumorSegmentationExample, Configuration: Debug Win32 ------

Linking...
   Creating library Debug\LiverTumorSegmentationExample.lib and object Debug\LiverTumorSegmentationExample.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_calc_output_dimensions referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_read_header referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_stdio_src referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_CreateDecompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_std_error referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_destroy_read_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_end referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_rows referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_interlace_handling referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_tRNS_to_alpha referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_get_valid referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_strip_16 referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_packing referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_expand referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_info referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_init_io referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_create_info_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_create_read_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
Debug\LiverTumorSegmentationExample.exe : fatal error LNK1120: 22 unresolved externals

Build log was saved at "file://d:\InsightApplications-BIN\LiverTumorSegmentation\LiverTumorSegmentationExample.dir\Debug\BuildLog.htm"
LiverTumorSegmentationExample - 23 error(s), 1 warning(s)


------ Build started: Project: MRFKmeansIBSRClassificationApp, Configuration: Debug Win32 ------

MRFKmeansIBSRClassificationApp - up-to-date.


------ Build started: Project: DicomThumbnailGenerator, Configuration: Debug Win32 ------

DicomThumbnailGenerator - up-to-date.


------ Build started: Project: InsightSNAP, Configuration: Debug Win32 ------

Linking...
   Creating library Debug\InsightSNAP.lib and object Debug\InsightSNAP.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.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 at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_calc_output_dimensions referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_read_header referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_stdio_src referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_CreateDecompress referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_JPEG_Image.obj) : error LNK2019: unresolved external symbol _jpeg_std_error referenced in function "public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *)" (??0Fl_JPEG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_destroy_read_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_end referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_rows referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_interlace_handling referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_tRNS_to_alpha referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_get_valid referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_strip_16 referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_packing referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_set_expand referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_read_info referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_init_io referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_create_info_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
fltkimages.lib(Fl_PNG_Image.obj) : error LNK2019: unresolved external symbol _png_create_read_struct referenced in function "public: __thiscall Fl_PNG_Image::Fl_PNG_Image(char const *)" (??0Fl_PNG_Image@@QAE at PBD@Z)
Debug\InsightSNAP.exe : fatal error LNK1120: 22 unresolved externals

Build log was saved at "file://d:\InsightApplications-BIN\Snap\InsightSNAP.dir\Debug\BuildLog.htm"
InsightSNAP - 23 error(s), 1 warning(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060704/2fe67c84/attachment.htm


More information about the Insight-users mailing list