[vtkusers] Compile error with vtk 6.0.0 rc2
Orion Poplawski
orion at cora.nwra.com
Fri May 31 09:38:47 EDT 2013
I'm trying to compile vtk 6.0.0 on Fedora (in preparation for updating
the Fedora package) and getting the following:
Linking CXX executable ../../../../bin/vtkIOGeometryCxxTests
cd
/export/home/orion/fedora/vtk/VTK6.0.0.rc2/build/IO/Geometry/Testing/Cxx
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/vtkIOGeometryCxxTests.dir/link.txt --verbose=1
/usr/lib64/ccache/c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -D_UNICODE -Wno-deprecated -g -Wl,--fatal-warnings
-Wl,--no-undefined -lc -Wl,--fatal-warnings -Wl,--no-undefined -lc
-Wl,-z,relro
CMakeFiles/vtkIOGeometryCxxTests.dir/vtkIOGeometryCxxTests.cxx.o
CMakeFiles/vtkIOGeometryCxxTests.dir/TestSimplePointsReaderWriter.cxx.o
CMakeFiles/vtkIOGeometryCxxTests.dir/TestWindBladeReader.cxx.o -o
../../../../bin/vtkIOGeometryCxxTests
-L/usr/lib/jvm/java/jre/lib/amd64/xawt
-L/usr/lib/jvm/java/jre/lib/amd64/client
-L/usr/lib/jvm/java/jre/lib/amd64/server -rdynamic
../../../../lib/libvtkFiltersGeometry-6.0.so.1
../../../../lib/libvtkFiltersCore-6.0.so.1
../../../../lib/libvtkCommonExecutionModel-6.0.so.1
../../../../lib/libvtkCommonDataModel-6.0.so.1
../../../../lib/libvtkCommonMath-6.0.so.1
../../../../lib/libvtkCommonCore-6.0.so.1
../../../../lib/libvtksys-6.0.so.1
../../../../lib/libvtkCommonMisc-6.0.so.1
../../../../lib/libvtkCommonSystem-6.0.so.1
../../../../lib/libvtkCommonTransforms-6.0.so.1
../../../../lib/libvtkIOAMR-6.0.so.1
../../../../lib/libvtkFiltersAMR-6.0.so.1
../../../../lib/libvtkFiltersGeneral-6.0.so.1
../../../../lib/libvtkCommonComputationalGeometry-6.0.so.1
../../../../lib/libvtkParallelCore-6.0.so.1
../../../../lib/libvtkIOLegacy-6.0.so.1
../../../../lib/libvtkIOCore-6.0.so.1 -lz -lrt -lm -lhdf5_hl -lhdf5
../../../../lib/libvtkjsoncpp-6.0.so.1
../../../../lib/libvtkInteractionStyle-6.0.so.1
../../../../lib/libvtkRenderingCore-6.0.so.1
../../../../lib/libvtkFiltersExtraction-6.0.so.1
../../../../lib/libvtkFiltersStatistics-6.0.so.1
../../../../lib/libvtkImagingFourier-6.0.so.1
../../../../lib/libvtkImagingCore-6.0.so.1
../../../../lib/libvtkalglib-6.0.so.1
../../../../lib/libvtkFiltersSources-6.0.so.1
../../../../lib/libvtkIOImage-6.0.so.1
../../../../lib/libvtkDICOMParser-6.0.so.1
../../../../lib/libvtkmetaio-6.0.so.1 -ljpeg -lpng -ltiff
../../../../lib/libvtkIOXMLParser-6.0.so.1 -lexpat
../../../../lib/libvtkRenderingOpenGL-6.0.so.1
../../../../lib/libvtkImagingHybrid-6.0.so.1
../../../../lib/libvtkTestingRendering-6.0.so.1 -lGLU -lGL -lSM -lICE
-lX11 -lXext -lSM -lICE -lX11 -lXext -lXt
../../../../lib/libvtkRenderingCore-6.0.so.1
../../../../lib/libvtkFiltersGeometry-6.0.so.1
../../../../lib/libvtkFiltersExtraction-6.0.so.1
../../../../lib/libvtkFiltersStatistics-6.0.so.1
../../../../lib/libvtkImagingFourier-6.0.so.1
../../../../lib/libvtkalglib-6.0.so.1
../../../../lib/libvtkFiltersSources-6.0.so.1
../../../../lib/libvtkFiltersGeneral-6.0.so.1
../../../../lib/libvtkFiltersCore-6.0.so.1
../../../../lib/libvtkCommonComputationalGeometry-6.0.so.1
../../../../lib/libvtkIOImage-6.0.so.1
../../../../lib/libvtkDICOMParser-6.0.so.1
../../../../lib/libvtkmetaio-6.0.so.1 -ljpeg -lpng -ltiff
../../../../lib/libvtkIOXMLParser-6.0.so.1
../../../../lib/libvtkIOCore-6.0.so.1 -lz -lexpat
../../../../lib/libvtkImagingCore-6.0.so.1
../../../../lib/libvtkCommonExecutionModel-6.0.so.1
../../../../lib/libvtkCommonDataModel-6.0.so.1
../../../../lib/libvtkCommonMisc-6.0.so.1
../../../../lib/libvtkCommonSystem-6.0.so.1
../../../../lib/libvtkCommonTransforms-6.0.so.1
../../../../lib/libvtkCommonMath-6.0.so.1
../../../../lib/libvtkCommonCore-6.0.so.1
../../../../lib/libvtksys-6.0.so.1 -ldl
-Wl,-rpath,/usr/lib/jvm/java/jre/lib/amd64/xawt:/usr/lib/jvm/java/jre/lib/amd64/client:/usr/lib/jvm/java/jre/lib/amd64/server:/export/home/orion/fedora/vtk/VTK6.0.0.rc2/build/lib
CMakeFiles/vtkIOGeometryCxxTests.dir/TestWindBladeReader.cxx.o: In
function `vtkSmartPointer<vtkWindBladeReader>::New()':
/export/home/orion/fedora/vtk/VTK6.0.0.rc2/Common/Core/vtkSmartPointer.h:113:
undefined reference to `vtkWindBladeReader::New()'
CMakeFiles/vtkIOGeometryCxxTests.dir/TestWindBladeReader.cxx.o: In
function `TestWindBladeReader(int, char**)':
/export/home/orion/fedora/vtk/VTK6.0.0.rc2/IO/Geometry/Testing/Cxx/TestWindBladeReader.cxx:132:
undefined reference to `vtkWindBladeReader::GetFieldOutput()'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/vtkIOGeometryCxxTests] Error 1
It looks like it is not getting linked to libvtkIOGeometry but should.
Not sure how to fix this.
Configuration:
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=ge
neric -D_UNICODE'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=
generic -D_UNICODE'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=ge
neric -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=g
eneric -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro '
+ export LDFLAGS
+ /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG
-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELE
ASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
-DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include
-DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc
-DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DB
UILD_SHARED_LIBS:BOOL=ON .. -DBUILD_DOCUMENTATION:BOOL=ON
-DBUILD_EXAMPLES:BOOL=ON -DBUILD_TESTING:BOOL=ON -DVTK_INSTALL_INCL
UDE_DIR:PATH=/include/vtk -DVTK_INSTALL_LIB_DIR:PATH=/lib64/vtk
-DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic '-DVT
K_PYTHON_SETUP_ARGS=--prefix=/usr
--root=/export/home/orion/redhat/BUILDROOT/vtk-6.0.0-0.1.rc2.fc18.x86_64' -DVTK_WRAP_PYTHON
:BOOL=ON -DVTK_WRAP_JAVA:BOOL=ON
-DJAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include
-DJAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/ja
va/include/linux -DJAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include
-DVTK_WRAP_TCL:BOOL=ON -DVTK_Group_Imaging:BOOL=ON -D
VTK_Group_Qt:BOOL=ON -DVTK_Group_Rendering:BOOL=ON
-DVTK_Group_StandAlone:BOOL=ON -DVTK_Group_Tk:BOOL=ON -DVTK_Group_Views:BO
OL=ON -DVTK_USE_OGGTHEORA_ENCODER=ON -DVTK_USE_SYSTEM_LIBRARIES=ON
-DVTK_USE_SYSTEM_LIBPROJ4=OFF
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the vtkusers
mailing list