You can set additional linker flags using CMAKE_EXE_LINKER_FLAGS, CMAKE_SHARED_LINKER_FLAGS and/or CMAKE_MODULE_LINKER_FLAGS
2010/4/20 Stéphane Le Borgne <stephane.lebor...@univ-pau.fr>: > Hi all, > > I try to compile Paraview but now i have this problem : > > [ 44%] Built target vtkChartsPython > Linking CXX executable ../../../bin/pvtkpython > /opt/cluster/intel/fce/10.1.021/lib/libimf.so: warning: warning: feupdateenv > is not implemented and will always fail > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QMapData::createData(int)' > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QPainter::drawImage(QPointF const&, QImage const&)' > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QTransform::translate(double, double)' > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QMapData::node_create(QMapData::Node**, int, int)' > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QTransform::QTransform()' > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QTransform::rotate(double, Qt::Axis)' > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QTransform::map(QPoint const&) const' > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QTransform::mapRect(QRectF const&) const' > ../../../bin/libvtkRendering.so.pv3.8: undefined reference to > `QTextDocument::setDocumentMargin(double)' > collect2: ld returned 1 exit status > make[2]: *** [bin/pvtkpython] Error 1 > make[1]: *** [VTK/Wrapping/Python/CMakeFiles/pvtkpython.dir/all] Error 2 > make: *** [all] Error 2 > > > It would seem that we should give the parameter -i_dynamic to ifort. > But I don't know how specify this parameter in cmake. > > Thank you. > > Stéphane > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview