[Paraview] undefined reference when building Paraview 3.98.0 RC 1
Cook, Rich
cook47 at llnl.gov
Fri Nov 16 13:45:23 EST 2012
Hello,
I would like to build and install 3.98.0 but am getting the following error. I'm hoping someone here is wise and kind enough to answer. :-)
[ 58%] CMakeFiles/vtkIONetCDFCxxTests.dir/SLACParticleReader.cxx.o: In function `vtkRenderingCore_AutoInit':
/tmp/dpkg-mkdeb.Wjxm1WQMDz/src/ParaView-3.98.0-Build/VTK/Rendering/Core/vtkRenderingCoreModule.h:44: undefined reference to `vtkRenderingOpenGL_AutoInit_Construct()'
CMakeFiles/vtkIONetCDFCxxTests.dir/SLACParticleReader.cxx.o: In function `~vtkRenderingCore_AutoInit':
/tmp/dpkg-mkdeb.Wjxm1WQMDz/src/ParaView-3.98.0-Build/VTK/Rendering/Core/vtkRenderingCoreModule.h:44: undefined reference to `vtkRenderingOpenGL_AutoInit_Destruct()'
collect2: ld returned 1 exit status
gmake[2]: *** [bin/vtkIONetCDFCxxTests] Error 1
gmake[1]: *** [VTK/IO/NetCDF/Testing/Cxx/CMakeFiles/vtkIONetCDFCxxTests.dir/all] Error 2
Here is how I build:
/usr/local/tools/cmake-2.8.10/bin/cmake.real -DPARAVIEW_BUILD_QT_GUI:BOOL=ON -DVTK_OPENGL_HAS_OSMESA:BOOL=OFF -DVTK_USE_OFFSCREEN:BOOL=OFF -DOPENGL_gl_LIBRARY:FILEPATH=/usr/lib64/nvidia/libGL.so -DOPENGL_INCLUDE_DIR=/usr/include/nvidia -DVTK_USE_X:BOOL=ON -DCMAKE_CXX_COMPILER:FILEPATH=/usr/local/tools/gcc-4.4.6/bin/g++ -DCMAKE_C_COMPILER:FILEPATH=/usr/local/tools/gcc-4.4.6/bin/gcc -DPARAVIEW_USE_MPI:BOOL=OFF -DPARAVIEW_USE_MPI_SSEND:BOOL=OFF -DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/local/tools/qt-4.8.3/bin/qmake.real -DOPENGL_glu_LIBRARY:FILEPATH=/usr/lib64/libGLU.so -DCMAKE_INSTALL_PREFIX:PATH=//usr/local/tools/paraview-opengl-3.98.0 -DPARAVIEW_USE_BOOST:BOOL=ON -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DVISIT_BUILD_READER_CGNS:BOOL=ON -DVISIT_BUILD_READER_Mili:BOOL=ON -DVISIT_BUILD_READER_Silo:BOOL=ON -DCGNS_INCLUDE_DIR:PATH=/usr/local/tools/cgnslib-3.1.3-4/include '-DCGNS_LIBRARY:FILEPATH=/usr/local/tools/cgnslib-3.1.3-4/lib/libcgns.so;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' -DMILI_INCLUDE_DIR:PATH=/usr/local/tools/mili-1.11.1/include '-DMILI_LIBRARY:FILEPATH=/usr/local/tools/mili-1.11.1/lib/libmili.a;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' '-DSILO_INCLUDE_DIR:PATH=/usr/local/tools/silo-4.8/include;/usr/local/tools/mili-1.11.1/include' '-DSILO_LIBRARY:FILEPATH=/usr/local/tools/silo-4.8/lib/libsiloh5.a;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' -DBoost_INCLUDE_DIR:PATH=/usr/local/tools/boost-nompi-1.49.0/include -DBoost_LIBRARY_DIRS:FILEPATH=/usr/local/tools/boost-nompi-1.49.0/lib -DCMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-rpath,:/usr/local/lib -DCMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=-Wl,-rpath,:/usr/local/lib '-DCMAKE_CXX_FLAGS:STRING= -I/usr/local/tools/mili-1.11.1/include -I/usr/local/tools/hdf5-gnu-serial-1.8.8/include -I/usr/local/include ' '-DCMAKE_C_FLAGS:STRING= -I/usr/local/tools/mili-1.11.1/include -I/usr/local/tools/hdf5-gnu-serial-1.8.8/include -I/usr/local/include ' -DVTK_USE_SYSTEM_HDF5:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=ON -DHDF5_C_INCLUDE_DIR:PATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/include -DHDF5_INCLUDE_DIR:PATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/include '-DHDF5_hdf5_LIBRARY:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5.so;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' '-DHDF5_hdf5_LIBRARY_DEBUG:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5.so;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' '-DHDF5_hdf5_LIBRARY_RELEASE:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5.so;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' '-DHDF5_hdf5_hl_LIBRARY:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5_hl.so;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' '-DHDF5_hdf5_hl_LIBRARY_DEBUG:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5_hl.so;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' '-DHDF5_hdf5_hl_LIBRARY_RELEASE:FILEPATH=/usr/local/tools/hdf5-gnu-serial-1.8.8/lib/libhdf5_hl.so;/usr/local/tools/szip-2.0/lib/libsz.so;/usr/lib64/libz.so' -DBUILD_SHARED_LIBS:BOOL=ON /tmp/dpkg-mkdeb.Wjxm1WQMDz/src/ParaView
make -j 32
--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
More information about the ParaView
mailing list