[Paraview] Compiling with MinGW - why is it looking for QtChart?

Fred Fred stan1313 at hotmail.fr
Sat May 1 12:51:01 EDT 2010


I am trying to compile PV with MinGW. Everything goes fine till I get a surprinsing error (see below).
I tried to add the required option of the linker --enable-auto-import everywhere I can in the cmake configuration file (in all the linker options and even in the linker name itself at the end) without any change (how does cmake works with this file??).
And I do not know if this lacking option is the reason of the following errors.
Any idea?



$ mingw32-make
[  0%] Built target vtksysEncodeExecutable
[  0%] Built target vtksysProcessFwd9x
[  0%] Built target vtksys
[  1%] Built target vtkzlib
[  2%] Built target vtkjpeg
[  3%] Built target vtkpng
[  3%] Built target vtktiff
[  3%] Built target vtkexpat
[  4%] Built target vtkfreetype
[  4%] Built target vtklibxml2
[  4%] Built target vtkDICOMParser
[  4%] Built target ProcessShader
[  4%] Built target vtkMaterialLibraryConfiguredFiles
[  6%] Built target vtkproj4
[  6%] Built target lproj
[  6%] Built target vtkverdict
[  6%] Built target vtkNetCDF
[  6%] Built target vtksqlite
[  8%] Built target vtkexoIIc
[  8%] Built target vtkalglib
[  8%] Built target vtkEncodeString
[  8%] Built target vtkftgl
[  8%] Built target vtkParseOGLExt
[ 10%] Built target vtkCommon
[ 13%] Built target vtkFiltering
[ 14%] Built target vtkImaging
[ 18%] Built target vtkGraphics
[ 18%] Built target vtkGenericFiltering
[ 21%] Built target vtkIO
[ 24%] Built target vtkRendering
[ 25%] Built target vtkVolumeRendering
[ 26%] Built target vtkParallel
[ 27%] Built target vtkHybrid
[ 28%] Built target vtkWidgets
[ 29%] Built target vtkInfovis
[ 31%] Built target vtkQtChart
[ 31%] Built target QVTK
[ 31%] Built target QVTKWidgetPlugin
[ 31%] Built target H5detect
[ 32%] Built target vtkhdf5
[ 33%] Built target Xdmf
[ 33%] Built target vtkXdmf
[ 33%] Built target KWCommon
[ 33%] Built target kwProcessXML
[ 33%] Built target vtkClientServer
[ 33%] Built target vtkWrapClientServer
[ 38%] Built target vtkCommonCS
[ 43%] Built target vtkFilteringCS
[ 43%] Built target vtkGenericFilteringCS
[ 46%] Built target vtkImagingCS
[ 52%] Built target vtkGraphicsCS
[ 56%] Built target vtkIOCS
[ 61%] Built target vtkRenderingCS
[ 62%] Built target vtkHybridCS
[ 64%] Built target vtkParallelCS
[ 65%] Built target vtkVolumeRenderingCS
[ 68%] Built target vtkWidgetsCS
[ 68%] Built target vtkXdmfCS
[ 71%] Built target vtkInfovisCS
[ 71%] Built target vtkPVCommandOptions
[ 71%] Built target vtkPVServerCommon
[ 72%] Built target vtkPVServerCommonCS
[ 74%] Built target vtkPVFilters
[ 78%] Built target vtkPVFiltersCS
[ 79%] Built target QtChart
Linking CXX shared library ..\..\bin\libvtkPVServerManager.dll
C:\Developpement\MinGV\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
CMakeFiles\vtkPVServerManager.dir\vtkSMAnimationSceneImageWriter.obj:vtkSMAnimationSceneImageWriter.cxx:(.text+0x1c83): undefined reference to `_imp___ZN12vtkAVIWriter3NewEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMBarChartViewProxy.obj:vtkSMBarChartViewProxy.cxx:(.text+0x3b3): undefined reference to `_imp___ZN17vtkQtBarChartView3NewEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMBarChartViewProxy.obj:vtkSMBarChartViewProxy.cxx:(.text+0x412): undefined reference to `_imp___ZN17vtkQtBarChartView15SetOutlineStyleEi'
CMakeFiles\vtkPVServerManager.dir\vtkSMBarChartViewProxy.obj:vtkSMBarChartViewProxy.cxx:(.text+0x438): undefined reference to `_imp___ZN17vtkQtBarChartView19SetBarGroupFractionEf'
CMakeFiles\vtkPVServerManager.dir\vtkSMBarChartViewProxy.obj:vtkSMBarChartViewProxy.cxx:(.text+0x45e): undefined reference to `_imp___ZN17vtkQtBarChartView19SetBarWidthFractionEf'
CMakeFiles\vtkPVServerManager.dir\vtkSMBarChartViewProxy.obj:vtkSMBarChartViewProxy.cxx:(.text+0x484): undefined reference to `_imp___ZN17vtkQtBarChartView13SetHelpFormatEPKc'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartNamedOptionsModelProxy.obj:vtkSMChartNamedOptionsModelProxy.cxx:(.text+0x7d1): undefined reference to `_imp___ZN24vtkQtChartRepresentation14GetSeriesModelEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xc1e): undefined reference to `_imp___ZN14vtkQtChartView8SetTitleEPKc'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xe25): undefined reference to `_imp___ZN14vtkQtChartView12SetTitleFontEPKcibb'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xe62): undefined reference to `_imp___ZN14vtkQtChartView13SetTitleColorEddd'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xe90): undefined reference to `_imp___ZN14vtkQtChartView17SetTitleAlignmentEi'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xec5): undefined reference to `_imp___ZN14vtkQtChartView12SetAxisTitleEiPKc'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xf1e): undefined reference to `_imp___ZN14vtkQtChartView16SetAxisTitleFontEiPKcibb'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xf61): undefined reference to `_imp___ZN14vtkQtChartView17SetAxisTitleColorEiddd'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xf97): undefined reference to `_imp___ZN14vtkQtChartView21SetAxisTitleAlignmentEii'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xfcd): undefined reference to `_imp___ZN14vtkQtChartView19SetLegendVisibilityEb'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0xffc): undefined reference to `_imp___ZN14vtkQtChartView17SetLegendLocationEi'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x102a): undefined reference to `_imp___ZN14vtkQtChartView13SetLegendFlowEi'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x1066): undefined reference to `_imp___ZN14vtkQtChartView17SetAxisVisibilityEib'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x10a9): undefined reference to `_imp___ZN14vtkQtChartView12SetAxisColorEiddd'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x10e6): undefined reference to `_imp___ZN14vtkQtChartView17SetGridVisibilityEib'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x111b): undefined reference to `_imp___ZN14vtkQtChartView16SetGridColorTypeEii'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x115f): undefined reference to `_imp___ZN14vtkQtChartView12SetGridColorEiddd'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x119c): undefined reference to `_imp___ZN14vtkQtChartView22SetAxisLabelVisibilityEib'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x11f4): undefined reference to `_imp___ZN14vtkQtChartView16SetAxisLabelFontEiPKcibb'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x1237): undefined reference to `_imp___ZN14vtkQtChartView17SetAxisLabelColorEiddd'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x126d): undefined reference to `_imp___ZN14vtkQtChartView20SetAxisLabelNotationEii'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x12a3): undefined reference to `_imp___ZN14vtkQtChartView21SetAxisLabelPrecisionEii'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x12d9): undefined reference to `_imp___ZN14vtkQtChartView12SetAxisScaleEii'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x1401): undefined reference to `_imp___ZN14vtkQtChartView12GetChartAreaEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartOptionsProxy.obj:vtkSMChartOptionsProxy.cxx:(.text+0x14a5): undefined reference to `_imp___ZN14vtkQtChartView7GetAxisEi'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0x340): undefined reference to `_imp___ZN24vtkQtChartRepresentation3NewEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0x462): undefined reference to `_imp___ZN24vtkQtChartRepresentation3NewEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0x973): undefined reference to `_imp___ZN24vtkQtChartRepresentation15SetOptionsModelEP28vtkQtChartSeriesOptionsModel'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0xa1b): undefined reference to `_imp___ZN7vtkView17AddRepresentationEP21vtkDataRepresentation'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0xabd): undefined reference to `_imp___ZN7vtkView20RemoveRepresentationEP21vtkDataRepresentation'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0xb68): undefined reference to `_imp___ZN7vtkView17AddRepresentationEP21vtkDataRepresentation'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0xb9c): undefined reference to `_imp___ZN7vtkView20RemoveRepresentationEP21vtkDataRepresentation'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0xc4d): undefined reference to `_imp___ZN24vtkQtChartRepresentation17GetNumberOfSeriesEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0xc70): undefined reference to `_imp___ZN24vtkQtChartRepresentation13GetSeriesNameEi'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0xd38): undefined reference to `_imp___ZN24vtkQtTableRepresentation12SetKeyColumnEPKc'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartRepresentationProxy.obj:vtkSMChartRepresentationProxy.cxx:(.text+0xd55): undefined reference to `_imp___ZN24vtkQtTableRepresentation12SetKeyColumnEPKc'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartViewProxy.obj:vtkSMChartViewProxy.cxx:(.text+0x56e): undefined reference to `_imp___ZN14vtkQtChartView12GetChartAreaEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMChartViewProxy.obj:vtkSMChaInfo: resolving vtable for vtkProcessModuleGUIHelperby linking to __imp___ZTV25vtkProcessModuleGUIHelper (auto-import)
Info: resolving vtable for vtkPVRenderViewProxyby linking to __imp___ZTV20vtkPVRenderViewProxy (auto-import)
Creating library file: ..\..\bin\libvtkPVServerManager.dll.a
rtViewProxy.cxx:(.text+0x5b9): undefined reference to `_imp___ZN14vtkQtChartView24SetColorSchemeToSpectrumEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMLineChartViewProxy.obj:vtkSMLineChartViewProxy.cxx:(.text+0x3b3): undefined reference to `_imp___ZN18vtkQtLineChartView3NewEv'
CMakeFiles\vtkPVServerManager.dir\vtkSMLineChartViewProxy.obj:vtkSMLineChartViewProxy.cxx:(.text+0x412): undefined reference to `_imp___ZN18vtkQtLineChartView13SetHelpFormatEPKc'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [bin/libvtkPVServerManager.dll] Error 1
mingw32-make[1]: *** [Servers/ServerManager/CMakeFiles/vtkPVServerManager.dir/all] Error 2
mingw32-make: *** [all] Error 2

 		 	   		  
_________________________________________________________________
Hotmail et MSN dans la poche? HOTMAIL et MSN sont dispo gratuitement sur votre téléphone!
http://www.messengersurvotremobile.com/?d=Hotmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100501/4969ab71/attachment.htm>


More information about the ParaView mailing list