<br>Hi, all:<br><br>Sorry for my newbie questions. Hope this won't disturb you.<br><br>I'm trying to build current VTK cvs (wondering why there is no svn or git support ?? ), say VTK cvs 12/09/2009 .<br><br>However, I really wanna make myself understand all the meanings of configuration parameters before I go on for compilation.<br>
So, I enumerate some of the doubtful parameters down here, and a detailed explanation is extremely expected.<br><br><br><br>CMAKE_HP_PTHREADS OFF // what is HP_PTHREADS ?? It seems there are several types of pthreads.<br>
CMAKE_USE_SPROC OFF // yes, sorry, till now, I've got no idea what is SPROC ? what for? See this many times in various packages<br><br>FFMPEG_INCLUDE_DIR FFMPEG_INCLUDE_DIR-NOTFOUND <br>
// using Ubuntu 9.10, it looks like VTK only supports FFMPEG <= 0.5. the default FFMPEG in current Ubuntu 9.10 now doesn't afford an single "include" directory.<br><br> FFMPEG_dc1394_LIBRARY FFMPEG_dc1394_LIBRARY-NOTFOUND<br>
FFMPEG_dts_LIBRARY FFMPEG_dts_LIBRARY-NOTFOUND<br>// why FFMPEG_dc1394 and FFMPEG_dts? I installed libdc1394-22-dev , but it seems this has nothing to do with FFMPEG ???<br><br> MEMORYCHECK_COMMAND MEMORYCHECK_COMMAND-NOTFOUND<br>
// Couldn't find any package related to MEMORYCHECK ? which package is required for this package?<br><br>OPENGL_xmesa_INCLUDE_DIR OPENGL_xmesa_INCLUDE_DIR-NOTFOUND<br>// strange tha under Ubuntu 9.10, this can not be found. <br>
All mesa related packages have been installed including<br>libgl1-mesa-dev<br>libglu1-mesa-dev<br>libglw1-mesa-dev<br>libosmesa6-dev<br>mesa-common-dev<br>xlibmesa-gl-dev<br>xlibmesa-glu<br><br>Only except package "libgl1-mesa-swx11-dev". However, if I tick this up, package "ubuntu-desktop" will be removed, as well as some conflicted mesa packages listed above.<br>
So, what is "OPENGL_xmesa_INCLUDE_DIR" for?<br><br><br> LIBPROJ4_INCLUDE_DIR LIBPROJ4_INCLUDE_DIR-NOTFOUND<br> LIBPROJ4_LIBRARIES LIBPROJ4_LIBRARIES-NOTFOUND<br>// In fact, I installed libproj-dev from current Ubuntu 9.10 repository. But, <br>
<br><br> PROJ_LIST_EXTERNAL OFF<br> PROJ_USE_GSL OFF<br> PROJ_USE_PTHREADS OFF<br>// What are these three choices for? If I picked ON for any of the three, I will obtain the following error message:<br>
CMake Error at Utilities/vtklibproj4/CMakeLists.txt:28 (message):<br> You may not define both PROJ_LIST_EXTERNAL and BUILD_SHARED_LIBS. Turn one<br> off and re-run CMake.<br>Therefore, it's better I turn off these 3 choices right?<br>
<br> VERDICT_BUILD_DOC OFF<br> VERDICT_ENABLE_TESTING OFF<br> VERDICT_MANGLE ON<br> VERDICT_MANGLE_PREFIX vtk<br> VERDICT_USE_FLOAT OFF<br>// What are VERDICT for? Always meet this in many packages. Something is even more strange. If I enable "VERDICT_ENABLE_TESTING ON", after the configuration, it will be automatically change back to "VERDICT_ENABLE_TESTING OFF" !!! Amazing.... The same thing happens to "VERDICT_USE_FLOAT OFF" as well.<br>
<br>VLI_LIBRARY_FOR_VP1000 VLI_LIBRARY_FOR_VP1000-NOTFOUND<br>// what is this for? It seems nothing is related with this choice in Ubuntu 9.10? <br><br><br> X11_XTest_LIB X11_XTest_LIB-NOTFOUND<br>
X11_Xaccessrules_INCLUDE_PATH X11_Xaccessrules_INCLUDE_PATH-NOTFOUND<br>// Strange that in ubuntu 9.10, these 2 packages are not able to be found. What are these 2 packages for?<br><br><br><br>Finally, I really hope all VTK_ settings can be carefully explained because all these parameters are specifically for VTK !!<br>
Here, I enumerate all I'm interested in as follows:<br><br>
VTK_LARGE_DATA_ROOT VTK_LARGE_DATA_ROOT-NOTFOUND<br>
// what is LARGE_DATA? is it VTKData? My directory tree is just like<br>
some folder <br>
----------- VTK<br>
----------- VTKData<br>
How should I arrange these 2 directories "VTK" and "VTKData"?<br><br>VTK_LEGACY_REMOVE OFF<br> VTK_LEGACY_SILENT OFF<br>// What are VTK_LEGACY for?<br><br> VTK_OPENGL_HAS_OSMESA OFF<br>
// what is OSMESA? what's the relationship between opengl and osmesa?<br><br> VTK_TESTING_USE_FPE ON<br>// what does FPE refer to??<br> VTK_TESTING_USE_LOCALE OFF<br>// what does LOCALE refer to?<br>
<br> VTK_USE_FFMPEG_ENCODER OFF<br>// As you may see above, FFMPEG_INCLUDE_DIR FFMPEG_INCLUDE_DIR-NOTFOUND , so it's better for me to turn off VTK_USE_FFMPEG_ENCODER .<br><br>VTK_USE_MANGLED_MESA OFF<br>
// OPENGL_xmesa_INCLUDE_DIR OPENGL_xmesa_INCLUDE_DIR-NOTFOUND , so it seems i'd better turn off VTK_USE_MANGLED_MESA <br><br>VTK_USE_MPEG2_ENCODER OFF<br>// This seems to be specific for vtkmpeg2encode, right?<br>
which one should be installed first? vtk or vtkmpeg2encode? why not afford a standard installation for vtkmpeg2encode? Or just integrate VTK and vtkmpeg2encode??<br><br> VTK_USE_TDX ON<br>// What is TDX for?<br>
VTK_USE_TEXT_ANALYSIS ON<br>// What is TEXT_ANALYSIS for?<br><br> VTK_USE_VOLUMEPRO_1000 OFF<br>// What is VOLUMEPRO_1000?<br><br><br>Hope anybody can afford a detailed explanation on all the above VTK configuration settings.<br>
<br>Thank you very much.<br><br><br>Best Regards<br>JIA Pei<br><br><br><br><br><br><br><br><br><br><br><br clear="all"><br>-- <br>Welcome to Vision Open<br><a href="http://www.visionopen.com">http://www.visionopen.com</a><br>