[Paraview] Trouble compiling 3.10.0

Orion Poplawski orion at cora.nwra.com
Fri Mar 11 18:33:53 EST 2011


Running into the following trying to build ParaView 3.10.0 Fedora package on 
Fedora rawhide:

/usr/lib64/ccache/g++   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-Wno-deprecated  -Wno-deprecated -g 
CMakeFiles/spreadsheet-real.dir/spreadsheet_main.cxx.o 
CMakeFiles/spreadsheet-real.dir/pqspreadsheetInitializer.cxx.o 
CMakeFiles/spreadsheet-real.dir/qrc_spreadsheet_generated.cxx.o 
CMakeFiles/spreadsheet-real.dir/qrc_spreadsheet_configuration.cxx.o 
CMakeFiles/spreadsheet-real.dir/SpreadSheetMainWindow.cxx.o 
CMakeFiles/spreadsheet-real.dir/moc_SpreadSheetMainWindow.cxx.o 
CMakeFiles/spreadsheet-real.dir/qrc_SpreadSheet.cxx.o  -o 
/builddir/build/BUILD/ParaView-3.10.0/fedora/bin/spreadsheet -rdynamic 
-L/builddir/build/BUILD/ParaView-3.10.0/fedora/bin -lpqApplicationComponents 
-Wl,-rpath,/builddir/build/BUILD/ParaView-3.10.0/fedora/bin:
/usr/bin/ld: CMakeFiles/spreadsheet-real.dir/SpreadSheetMainWindow.cxx.o: 
undefined reference to symbol 'pqActiveObjects::setActiveView(pqView*)'
/usr/bin/ld: note: 'pqActiveObjects::setActiveView(pqView*)' is defined in DSO 
/builddir/build/BUILD/ParaView-3.10.0/fedora/bin/libpqComponents.so so try 
adding it to the linker command line
/builddir/build/BUILD/ParaView-3.10.0/fedora/bin/libpqComponents.so: could not 
read symbols: Invalid operation
collect2: ld returned 1 exit status



I don't quite follow since pqComponents seems to be requested, but it isn't 
listed above:

ParaView-3.10.0/Examples/CustomApplications/Spreadsheet/CMakeLists.txt:
TARGET_LINK_LIBRARIES(spreadsheet ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} 
vtkCommon vtkPVCommandOptions vtkPVServerCommon pqCore pqComponents)


This is with cmake 2.8.4 and qt 4.7.2.


-- 
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 ParaView mailing list