[Paraview] Linking errors when building ParaView v3.98.0 with VS2008
Nenad Vujicic
nenadus at gmail.com
Thu Dec 27 07:19:51 EST 2012
Hello everyone,
I tried to build release sources ParaView v3.98.0 in x64 mode with
VS2008 SP1, built Python 2.7.3 x64, built Qt 4.8.3 x64, built OpenMPI
v1.6.3 x64 and got some linking errors. All other projects were built
fine and everything works fine so far, except pvpython subsystem. Do
You have some idea how I could solve these issues?
Here are linking errors:
2>------ Build started: Project: vtkPVClientServerCoreCorePythonD,
Configuration: Release x64 ------
2>Linking...
2> Creating library
C:\Projects\PVdev\ParaView-3.98.0\build\lib\Release\vtkPVClientServerCoreCorePython27D-pv3.98.lib
and object C:\Projects\PVdev\ParaView-3.98.0\build\lib\Release\vtkPVClientServerCoreCorePython27D-pv3.98.exp
2>vtkPVClientServerCoreCorePythonInit.obj : error LNK2019: unresolved
external symbol PyVTKAddFile_vtkPVPythonOptions referenced in function
"void __cdecl real_initvtkPVClientServerCoreCorePython(char const *)"
(?real_initvtkPVClientServerCoreCorePython@@YAXPEBD at Z)
2>C:\Projects\PVdev\ParaView-3.98.0\build\bin\Release\vtkPVClientServerCoreCorePython27D-pv3.98.dll
: fatal error LNK1120: 1 unresolved externals
2>Build log was saved at
"file://c:\Projects\PVdev\ParaView-3.98.0\build\ParaViewCore\ClientServerCore\Core\vtkPVClientServerCoreCorePythonD.dir\Release\BuildLog.htm"
2>vtkPVClientServerCoreCorePythonD - 2 error(s), 0 warning(s)
3>------ Build started: Project: vtkPVServerImplementationCorePythonD,
Configuration: Release x64 ------
4>------ Build started: Project:
vtkPVClientServerCoreRenderingPythonD, Configuration: Release x64
------
3>Linking...
3> Creating library
C:\Projects\PVdev\ParaView-3.98.0\build\lib\Release\vtkPVServerImplementationCorePython27D-pv3.98.lib
and object C:\Projects\PVdev\ParaView-3.98.0\build\lib\Release\vtkPVServerImplementationCorePython27D-pv3.98.exp
4>Linking...
3>vtkSIDoubleVectorPropertyPython.obj : error LNK2019: unresolved
external symbol PyVTKClass_vtkSIVectorPropertyTemplate_IdENew
referenced in function PyVTKClass_vtkSIDoubleVectorPropertyNew
3>vtkSIIdTypeVectorPropertyPython.obj : error LNK2019: unresolved
external symbol
PyVTKClass_vtkSIVectorPropertyTemplate_I9vtkIdTypebENew referenced in
function PyVTKClass_vtkSIIdTypeVectorPropertyNew
3>vtkSIIntVectorPropertyPython.obj : error LNK2019: unresolved
external symbol PyVTKClass_vtkSIVectorPropertyTemplate_IiENew
referenced in function PyVTKClass_vtkSIIntVectorPropertyNew
3>C:\Projects\PVdev\ParaView-3.98.0\build\bin\Release\vtkPVServerImplementationCorePython27D-pv3.98.dll
: fatal error LNK1120: 3 unresolved externals
4> Creating library
C:\Projects\PVdev\ParaView-3.98.0\build\lib\Release\vtkPVClientServerCoreRenderingPython27D-pv3.98.lib
and object C:\Projects\PVdev\ParaView-3.98.0\build\lib\Release\vtkPVClientServerCoreRenderingPython27D-pv3.98.exp
...
12>------ Build started: Project: vtkPVClientServerCoreCorePython,
Configuration: Release x64 ------
12>Linking...
12> Creating library
C:\Projects\PVdev\ParaView-3.98.0\build\lib\Release\vtkPVClientServerCoreCorePython.lib
and object C:\Projects\PVdev\ParaView-3.98.0\build\lib\Release\vtkPVClientServerCoreCorePython.exp
12>vtkPVClientServerCoreCorePythonInit.obj : error LNK2019: unresolved
external symbol PyVTKAddFile_vtkPVPythonOptions referenced in function
"void __cdecl real_initvtkPVClientServerCoreCorePython(char const *)"
(?real_initvtkPVClientServerCoreCorePython@@YAXPEBD at Z)
12>C:\Projects\PVdev\ParaView-3.98.0\build\bin\Release\vtkPVClientServerCoreCorePython.pyd
: fatal error LNK1120: 1 unresolved externals
Thanks,
Nenad.
More information about the ParaView
mailing list