<br clear="all">Hi, all:<br><br>Sorry for my newbie questions. Hope this won&#39;t disturb you.<br><br>I&#39;m trying to build current <span class="il">VTK</span> cvs (wondering why there is no svn or git support ?? ), say <span class="il">VTK</span> cvs 12/09/2009 .<br>
<br>However, I really wanna make myself understood of 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             <div id=":pj" class="ii gt">   OFF                         // what is HP_PTHREADS ??  It seems there are several types of pthreads.<br>

CMAKE_USE_SPROC                 
OFF                           // yes, sorry, till now, I&#39;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 <span class="il">VTK</span> only supports FFMPEG &lt;= 0.5. the default FFMPEG in current Ubuntu 9.10 now doesn&#39;t afford an single &quot;include&quot; 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&#39;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 &quot;libgl1-mesa-swx11-dev&quot;. However, if I tick this up,
package &quot;ubuntu-desktop&quot; will be removed, as well as some conflicted
mesa packages listed above.<br>
So, what is &quot;OPENGL_xmesa_INCLUDE_DIR&quot; 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&#39;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            <span class="il">vtk</span><br> VERDICT_USE_FLOAT                OFF<br>
//
What are VERDICT for? Always meet this in many packages.  Something is
even more strange. If I enable &quot;VERDICT_ENABLE_TESTING           ON&quot;, after the configuration, it will be automatically change back to &quot;VERDICT_ENABLE_TESTING           OFF&quot; !!! Amazing.... The same thing happens to &quot;VERDICT_USE_FLOAT                OFF&quot; 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 <span class="il">VTK</span> !!<br>

Here, I enumerate all I&#39;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>
----------- <span class="il">VTK</span><br>
----------- VTKData<br>
How should I arrange these 2 directories &quot;<span class="il">VTK</span>&quot; and &quot;VTKData&quot;?<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&#39;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&#39;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&#39;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? <span class="il">vtk</span> or vtkmpeg2encode? why not afford a standard installation for vtkmpeg2encode?  Or just integrate <span class="il">VTK</span> 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 <span class="il">VTK</span> configuration settings.<br>

<br><br>What&#39;s more...<br>Compilation error message on TDX as follows.<br><br>/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/<div id=":51" class="ii gt">Rendering/vtkTDxUnixDevice.cxx:23:54: error: xdrvlib.h: No such file or directory  <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx: In member function ‘void vtkTDxUnixDevice::Initialize()’:                                                                                                           <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:123: error: ‘MagellanInit’ was not declared in this scope                                                                                                            <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx: In member function ‘virtual void vtkTDxUnixDevice::Close()’:                                                                                                        <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:139: error: ‘MagellanClose’ was not declared in this scope                                                                                                           <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx: In member function ‘bool vtkTDxUnixDevice::ProcessEvent(const XEvent*)’:                                                                                            <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:160: error: ‘MagellanFloatEvent’ was not declared in this scope                                                                                                      <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:160: error: expected ‘;’ before ‘info’              <br>/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:164: error: ‘info’ was not declared in this scope   <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:166: error: ‘MagellanTranslateEvent’ was not declared in this scope                                                                                                  <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:177: error: ‘MagellanInputMotionEvent’ was not declared in this scope                                                                                                <br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:179: error: ‘MagellanRemoveMotionEvents’ was not declared in this scope<br>/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:180: error: ‘MagellanX’ was not declared in this scope<br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:181: error: ‘MagellanY’ was not declared in this scope<br>/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:186: error: ‘MagellanZ’ was not declared in this scope<br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:188: error: ‘MagellanA’ was not declared in this scope<br>/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:189: error: ‘MagellanB’ was not declared in this scope<br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:192: error: ‘MagellanC’ was not declared in this scope<br>/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:211: error: ‘MagellanInputButtonPressEvent’ was not declared in this scope<br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:218: error: ‘MagellanInputButtonReleaseEvent’ was not declared in this scope<br>/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx: In member function ‘void vtkTDxUnixDevice::SetSensitivity(double)’:<br>

/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/Rendering/vtkTDxUnixDevice.cxx:243: error: ‘MagellanApplicationSensitivity’ was not declared in this scope<br>make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkTDxUnixDevice.cxx.o] Error 1<br>

make[2]: Leaving directory `/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/build&#39;<br>make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2<br>make[1]: Leaving directory `/home/jiapei/Tools/CV/<span class="il">vtk</span>/<span class="il">VTK</span>/build&#39;<br>
make: *** [all] Error 2<br><br>What is TDX for? and where about can I find TDX related package under Ubuntu 9.10?<br><br><br>Hope anybody can give me a detailed explanation about this please....<br><br>Best Regards<br>JIA Pei<br>
</div><br><font color="#888888"><br><br><br><br><br><br></font></div><br>-- <br>Welcome to Vision Open<br><a href="http://www.visionopen.com">http://www.visionopen.com</a><br>