From: JIA P. <jp...@gm...> - 2009-12-06 18:52:13
|
Hi, all: I dropped this Email just in order to understand the configuration for VXL compilation thoroughly. My configuration for compiling current VXL SVN is as follows, which brings me a successful configuration before "make" !! DOXYGEN_INDEX_FILE *index.html DOXYGEN_MERGE_DOCS_WITH * DOXYGEN_OUTPUT_DIR */home/jiapei/Tools/CV/vxl-svn-20091206/build/doxy DOXYGEN_USE_GRAPHVIZ *ON PNMTOPNG_EXECUTABLE */usr/bin/pnmtopng PSTOPNM_EXECUTABLE */usr/bin/pstopnm TEXI2HTML_EXECUTABLE */usr/bin/texi2html AVIFILE_AVIPLAY_LIBRARY /usr/lib/libaviplay.so AVIFILE_INCLUDE_DIR /usr/include/avifile BUILD_BRL ON BUILD_CONTRIB ON BUILD_CONVERSIONS ON BUILD_CORE_GEOMETRY ON BUILD_CORE_IMAGING ON BUILD_CORE_NUMERICS ON BUILD_CORE_PROBABILITY ON BUILD_CORE_SERIALISATION ON BUILD_CORE_UTILITIES ON BUILD_CORE_VIDEO ON BUILD_DOCUMENTATION ON BUILD_EXAMPLES ON BUILD_FOR_VXL_DASHBOARD OFF BUILD_GEL ON BUILD_MUL ON BUILD_MUL_TOOLS ON BUILD_OUL ON BUILD_OXL ON BUILD_PRIP ON BUILD_RPL ON BUILD_SHARED_LIBS ON BUILD_TBL ON BUILD_TESTING ON BUILD_UNMAINTAINED_LIBRARIES OFF BUILD_VGUI OFF CMAKE_BACKWARDS_COMPATIBILITY 2.4 CMAKE_BUILD_TYPE CMAKE_INSTALL_PREFIX /usr/local DART_TESTING_TIMEOUT 1500 DCMTK_ROOT_INCLUDE_DIR /usr/include DCMTK_config_INCLUDE_DIR /usr/include/dcmtk/config DCMTK_dcmdata_INCLUDE_DIR /usr/include/dcmtk/dcmdata DCMTK_dcmdata_LIBRARY /usr/lib/libdcmdata.so DCMTK_dcmimgle_INCLUDE_DIR /usr/include/dcmtk/dcmimgle DCMTK_dcmimgle_LIBRARY /usr/lib/libdcmimgle.so DCMTK_ofstd_INCLUDE_DIR /usr/include/dcmtk/ofstd DCMTK_ofstd_LIBRARY /usr/lib/libofstd.so ECW_INCLUDE_DIR ECW_INCLUDE_DIR-NOTFOUND EXECUTABLE_OUTPUT_PATH FFMPEG_CONFIG FFMPEG_CONFIG-NOTFOUND FFMPEG_INCLUDE1_DIR FFMPEG_INCLUDE1_DIR-NOTFOUND FFMPEG_INCLUDE2_DIR /usr/include FFMPEG_avcodec_LIBRARY /usr/lib/libavcodec.so FFMPEG_avformat_LIBRARY /usr/lib/libavformat.so FFMPEG_avutil_LIBRARY /usr/lib/libavutil.so FFMPEG_swscale_LIBRARY /usr/lib/libswscale.so GEOTIFF_INCLUDE_DIR /home/jiapei/Tools/CV/vxl-svn-20091206/v3p/geotiff GEOTIFF_LIBRARY /usr/lib/libgeotiff.so LIBRARY_OUTPUT_PATH /home/jiapei/Tools/CV/vxl-svn-20091206/build/lib MPEG2_INCLUDE_DIR /usr/include/mpeg2dec MPEG2_mpeg2_LIBRARY /usr/lib/libmpeg2.so MPEG2_vo_LIBRARY MPEG2_vo_LIBRARY-NOTFOUND SDLMAIN_LIBRARY /usr/lib/libSDLmain.a SDL_INCLUDE_DIR /usr/include/SDL SDL_LIBRARY /usr/lib/libSDLmain.a;/usr/lib/libSDL.so;-lpthread TESTLIB_VCL_WHERE_ROOT_DIR_H /home/jiapei/Tools/CV/vxl-svn-20091206/build/vcl/vcl_where_root_dir.h VCL_INCLUDE_CXX_0X OFF VIDEODEV2_FOUND /usr/include/linux/videodev2.h VIDEODEV_FOUND /usr/include/linux/videodev.h VIL_CONFIG_ENABLE_SSE2_ROUNDIN OFF VXL_BUILD_DCMTK ON VXL_EXTRA_CMAKE_CXX_FLAGS VXL_EXTRA_CMAKE_C_FLAGS VXL_EXTRA_CMAKE_EXE_LINKER_FLA VXL_EXTRA_CMAKE_MODULE_LINKER_ VXL_EXTRA_CMAKE_SHARED_LINKER_ VXL_LEGACY_ERROR_REPORTING ON XERCES_BXML_INCLUDE_PATH XERCES_BXML_INCLUDE_PATH-NOTFOUND XERCES_BXML_LIBRARY_PATH /usr/lib/libxerces-c.so XERCES_NEW_BXML_INCLUDE_PATH XERCES_NEW_BXML_INCLUDE_PATH-NOTFOUND XERCES_NEW_BXML_LIBRARY_PATH XERCES_NEW_BXML_LIBRARY_PATH-NOTFOUND However, I tried the following configurations with failure, I really want to know why it is so and what happened to these settings. 1) if BUILD_FOR_VXL_DASHBOARD OFF I got the following error message for configuration CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: MPEG2_vo_LIBRARY linked by target "vidl1" in directory /home/jiapei/Tools/CV/vxl-svn-20091206/core/vidl1 linked by target "vidl_vil1" in directory /home/jiapei/Tools/CV/vxl-svn-20091206/core/vidl_vil1 linked by target "oxp" in directory /home/jiapei/Tools/CV/vxl-svn-20091206/contrib/oxl/oxp So, what is BUILD_FOR_VXL_DASHBOARD for? 2) if BUILD_UNMAINTAINED_LIBRARIES ON I got the following error message for configuration CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: MPEG2_vo_LIBRARY linked by target "vidl1" in directory /home/jiapei/Tools/CV/vxl-svn-20091206/core/vidl1 linked by target "vidl_vil1" in directory /home/jiapei/Tools/CV/vxl-svn-20091206/core/vidl_vil1 linked by target "oxp" in directory /home/jiapei/Tools/CV/vxl-svn-20091206/contrib/oxl/oxp So, what is BUILD_UNMAINTAINED_LIBRARIES for? What are those unmaintained libraries. 3) if BUILD_VGUI ON This will brings me a lot of GUI choices including GTK, QT, X11, etc. ignore this setting 4) What is ECW_INCLUDE_DIR ECW_INCLUDE_DIR-NOTFOUND for ? What is ECW? On my Ubuntu 9.10, I don't have ECW package in the default repository at all. 5) FFMPEG now seems to be well supported FFMPEG_CONFIG FFMPEG_CONFIG-NOTFOUND FFMPEG_INCLUDE1_DIR FFMPEG_INCLUDE1_DIR-NOTFOUND FFMPEG_INCLUDE2_DIR /usr/include FFMPEG_avcodec_LIBRARY /usr/lib/libavcodec.so FFMPEG_avformat_LIBRARY /usr/lib/libavformat.so FFMPEG_avutil_LIBRARY /usr/lib/libavutil.so FFMPEG_swscale_LIBRARY /usr/lib/libswscale.so I guessed FFMPEG_CONFIG FFMPEG_CONFIG-NOTFOUND FFMPEG_INCLUDE1_DIR FFMPEG_INCLUDE1_DIR-NOTFOUND are for old FFMPEG, while FFMPEG_INCLUDE2_DIR /usr/include FFMPEG_avcodec_LIBRARY /usr/lib/libavcodec.so FFMPEG_avformat_LIBRARY /usr/lib/libavformat.so FFMPEG_avutil_LIBRARY /usr/lib/libavutil.so FFMPEG_swscale_LIBRARY /usr/lib/libswscale.so are for FFMPEG 0.5 or above, right?? 6) What is MPEG2_vo_LIBRARY MPEG2_vo_LIBRARY-NOTFOUND for?? Which package is required for this setting? 7) VCL_INCLUDE_CXX_0X can be ON and OFF, both are ok for configuration But, what is VCL_INCLUDE_CXX_0X for? 8) if VIL_CONFIG_ENABLE_SSE2_ROUNDIN ON I got the following error message for configuration The current compiler flags do not allow the SSE2 instructions to be used. It looks like if you add the flag '-msse2' you will be able to use the SSE2 instructions. If you make this change and still see this message, you may need to set VXL_UPDATE_CONFIGURATION to ON. CMake Error at core/vil/CMakeLists.txt:102 (MESSAGE): Cannot have VIL_CONFIG_ENABLE_SSE2_ROUNDING because there is no SSE2 hardware support Strange why is it so? 9) What are XERCES_BXML and XERCES_NEW_BXML? XERCES_BXML_INCLUDE_PATH XERCES_BXML_INCLUDE_PATH-NOTFOUND XERCES_BXML_LIBRARY_PATH /usr/lib/libxerces-c.so XERCES_NEW_BXML_INCLUDE_PATH XERCES_NEW_BXML_INCLUDE_PATH-NOTFOUND XERCES_NEW_BXML_LIBRARY_PATH XERCES_NEW_BXML_LIBRARY_PATH-NOTFOUND I installed package libxerces-c-dev already. But I've got no idea what are XERCES_BXML and XERCES_NEW_BXML respectively for? Please, can anybody give me a detailed explanation for all these settings of VXL? Best Regards JIA Pei -- Welcome to Vision Open http://www.visionopen.com |