[vtkusers] Compile error with vtk 6.0.0 rc2

Orion Poplawski orion at cora.nwra.com
Fri May 31 13:34:23 EDT 2013


I also filed http://paraview.org/Bug/view.php?id=14104

Thanks for taking a look.


On 05/31/2013 11:29 AM, David E DeMarle wrote:
> Thanks Orion. Looking into it...
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Fri, May 31, 2013 at 9:38 AM, Orion Poplawski <orion at cora.nwra.com
> <mailto:orion at cora.nwra.com>> wrote:
>
>     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
>     <http://libvtkCommonTransforms-6.0.so>.__1
>     ../../../../lib/libvtkIOAMR-6.__0.so.1
>     ../../../../lib/__libvtkFiltersAMR-6.0.so.1
>     ../../../../lib/__libvtkFiltersGeneral-6.0.so.1
>     ../../../../lib/__libvtkCommonComputationalGeome__try-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
>     <http://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
>     <http://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/__libvtkCommonComputationalGeome__try-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
>     <http://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 <tel:303-415-9701%20x222>
>     NWRA/CoRA Division                    FAX: 303-415-9702 <tel:303-415-9702>
>     3380 Mitchell Lane orion at cora.nwra.com <mailto:orion at cora.nwra.com>
>     Boulder, CO 80301 http://www.cora.nwra.com
>     _________________________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/__opensource/opensource.html
>     <http://www.kitware.com/opensource/opensource.html>
>
>     Please keep messages on-topic and check the VTK FAQ at:
>     http://www.vtk.org/Wiki/VTK___FAQ <http://www.vtk.org/Wiki/VTK_FAQ>
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.vtk.org/mailman/__listinfo/vtkusers
>     <http://www.vtk.org/mailman/listinfo/vtkusers>
>
>


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com



More information about the vtkusers mailing list