[vtk-developers] opengl mixed with opengl2
Chaffra Affouda
chaffra at gmail.com
Tue Sep 15 18:30:07 EDT 2015
Hello,
I built vtk 6.3 with the following options below to use the old OpenGL
backend. The problem is that I am getting some opengl2 modules mixed in.
When linking to VTK, the ${VTK_LIBRARIES} contains some opengl2
dependent modules that were not built. So the linker is giving me errors:
/usr/bin/ld: cannot find -lvtkRenderingVolumeOpenGL2
/usr/bin/ld: cannot find -lvtkRenderingOpenGL2
/usr/bin/ld: cannot find -lvtkglew
/usr/bin/ld: cannot find -lvtkDomainsChemistryOpenGL2
/usr/bin/ld: cannot find -lvtkRenderingContextOpenGL2
/usr/bin/ld: cannot find -lvtkRenderingVolumeOpenGL2
/usr/bin/ld: cannot find -lvtkRenderingOpenGL2
/usr/bin/ld: cannot find -lvtkglew
/usr/bin/ld: cannot find -lvtkDomainsChemistryOpenGL2
/usr/bin/ld: cannot find -lvtkRenderingContextOpenGL2
VTK_LIBRARIES =
vtkImagingFourier;vtkImagingCore;vtkCommonDataModel;vtkCommonMath;vtkCommonCore;vtksys;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkCommonExecutionModel;/usr/lib/x86_64-linux-gnu/libjpeg.so;vtkRenderingGL2PS;vtkRenderingContextOpenGL;vtkRenderingContext2D;vtkRenderingCore;vtkCommonColor;vtkFiltersExtraction;vtkFiltersCore;vtkFiltersGeneral;vtkCommonComputationalGeometry;vtkFiltersStatistics;vtkalglib;vtkFiltersGeometry;vtkFiltersSources;vtkRenderingFreeType;/usr/lib/x86_64-linux-gnu/libfreetype.so;/usr/lib/x86_64-linux-gnu/libz.so;vtkftgl;vtkRenderingOpenGL;vtkImagingHybrid;vtkIOImage;vtkDICOMParser;vtkIOCore;vtkmetaio;/usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libtiff.so;/usr/lib/libgl2ps.so;vtkIOEnSight;vtkIOInfovis;vtkIOLegacy;vtkIOXML;vtkIOGeometry;vtkIOXMLParser;/usr/lib/x86_64-linux-gnu/libexpat.so;vtkInfovisCore;/usr/lib/x86_64-linux-gnu/libxml2.so;vtkRenderingImage;vtkChartsCore;vtkFiltersVerdict;verdict;vtkGUISupportQtOpenGL;vtkGUISupportQt;vtkInteractionStyle;vtkFiltersAMR;vtkParallelCore;vtkViewsContext2D;vtkViewsCore;vtkInteractionWidgets;vtkFiltersHybrid;vtkImagingSources;vtkFiltersModeling;vtkImagingGeneral;vtkRenderingAnnotation;vtkImagingColor;vtkRenderingVolume;vtkIOAMR;/usr/lib/x86_64-linux-gnu/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/libmpi.so;/usr/lib/x86_64-linux-gnu/libhwloc.so;/usr/lib/libmpi_cxx.so;vtkRenderingVolumeOpenGL2;vtkRenderingOpenGL2;vtkglew;vtkFiltersSMP;vtkIOMINC;vtkNetCDF;vtkNetCDF_cxx;vtkIOImport;vtkIOExport;vtkRenderingLabel;vtkImagingStencil;vtkFiltersParallelGeometry;vtkParallelMPI;vtkImagingStatistics;vtkGUISupportQtSQL;vtkIOSQL;vtksqlite;vtkIOMovie;/usr/lib/x86_64-linux-gnu/libtheoraenc.so;/usr/lib/x86_64-linux-gnu/libtheoradec.so;/usr/lib/x86_64-linux-gnu/libogg.so;vtkRenderingLOD;vtkFiltersSelection;vtkIOMPIImage;vtkIOParallel;vtkFiltersParallel;vtkIONetCDF;vtkexoIIc;vtkjsoncpp;vtkFiltersParallelImaging;vtkFiltersImaging;vtkImagingMorphological;vtkRenderingQt;vtkFiltersTexture;vtkFiltersHyperTree;vtkDomainsChemistry;vtkParallelMPI4Py;/usr/lib/x86_64-linux-gnu/libpython2.7.so;vtkFiltersPython;vtkWrappingPythonCore;vtkWrappingTools;vtkIOPLY;vtkIOParallelXML;vtkRenderingLIC;vtkFiltersProgrammable;vtkIOExodus;vtkFiltersParallelMPI;vtkInfovisLayout;vtkFiltersFlowPaths;vtkViewsInfovis;vtkIOMPIParallel;vtkViewsQt;vtkDomainsChemistryOpenGL2;vtkViewsGeovis;vtkGeovisCore;vtkproj4;vtkRenderingContextOpenGL2;vtkIOVideo;vtkGUISupportQtWebkit;vtkFiltersGeneric;vtkImagingMath;vtkIOLSDyna;vtkInteractionImage;vtkIOParallelNetCDF;vtkRenderingVolumeOpenGL
-DCMAKE_BUILD_TYPE=Release
-D BUILD_TESTING=OFF
-D BUILD_SHARED_LIBS=ON
-D VTK_WRAP_PYTHON=ON
-DVTK_WRAP_JAVA=OFF
-DVTK_USE_TK:BOOL=ON
-DVTK_QT_VERSION=4
-DVTK_USE_SYSTEM_EXPAT=ON
-DVTK_USE_SYSTEM_FREETYPE=ON
-DVTK_USE_SYSTEM_GL2PS=ON
-DVTK_USE_SYSTEM_HDF5=ON
-DVTK_USE_SYSTEM_JPEG=ON
-DVTK_USE_SYSTEM_LIBXML2=ON
-DVTK_USE_SYSTEM_OGGTHEORA=ON
-DVTK_USE_SYSTEM_PNG=ON
-DVTK_USE_SYSTEM_TIFF=ON
-DVTK_USE_SYSTEM_ZLIB=ON
-DVTK_Group_Imaging=ON
-DVTK_Group_MPI=ON
-DVTK_Group_Qt=ON
-DVTK_Group_Tk=ON
-DVTK_Group_Views=ON
-DVTK_BUILD_ALL_MODULES=OFF
-DMPI_CXX_INCLUDE_PATH="/usr/include/mpi"
-DVTK_MAKE_INSTANTIATORS=ON
-DVTK_RENDERING_BACKEND:STRING=OpenGL
More information about the vtk-developers
mailing list