[Insight-users] Try to compile SNAP in InsightApplications-2.8.1, but failed

衣文文 tracy728 at 163.com
Tue Mar 13 09:44:18 EST 2007


Hi everyone,
   I want to compile SNAP in InsightApplications-2.8.1, but failed.
   The OS is Windows XP, and the compiler is Visual C++ 6.0.
    # ITK version 2.8.1
    # FLTK version 1.1.6
    # VTK version 5.0.2 

Cache Values for FLTK in CMake are as folowing:
*******************************************************************************
FLTK_BASE_LIBRARY     E:/FLTK/fltk-1.1.6/lib/fltkd.lib
FLTK_DIR              E:/FLTK/fltk-1.1.6/visualc
FLTK_FLUID_EXECUTABLE E:/FLTK/fltk-1.1.6/fluid/fluidd.exe
FLTK_FORMS_LIBRARY    E:/FLTK/fltk-1.1.6/lib/fltkformsd.lib
FLTK_GL_LIBRARY       E:/FLTK/fltk-1.1.6/lib/fltkgld.lib
FLTK_IMAGES_LIBRARY   E:/FLTK/fltk-1.1.6/lib/fltkimagesd.lib
FLTK_INCLUDE_DIR      E:/FLTK/fltk-1.1.6
*******************************************************************************
Build output in VC++6.0 as following:
************************************************************************************************************
--------------------Configuration: InsightSNAP - Win32 Debug--------------------
Compiling...
SNAPMain.cxx
Linking...
   Creating library Debug/InsightSNAP.lib and object Debug/InsightSNAP.exp
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_destroy_decompress
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_finish_decompress
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_read_scanlines
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_start_decompress
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_calc_output_dimensions
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_read_header
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_stdio_src
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_CreateDecompress
fltkimagesd.lib(Fl_JPEG_Image.obj) : error LNK2001: unresolved external symbol _jpeg_std_error
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_destroy_read_struct
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_read_end
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_read_rows
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_set_interlace_handling
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_set_tRNS_to_alpha
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_get_valid
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_set_strip_16
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_set_packing
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_set_expand
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_read_info
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_init_io
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_create_info_struct
fltkimagesd.lib(Fl_PNG_Image.obj) : error LNK2001: unresolved external symbol _png_create_read_struct
Debug/InsightSNAP.exe : fatal error LNK1120: 22 unresolved externals
Error executing link.exe.

ALL_BUILD - 23 error(s), 459 warning(s)
*******************************************************************************************************
I'll appreciate any tips.

Regards,

Yi Wenwen
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070313/32fe328c/attachment.htm


More information about the Insight-users mailing list