CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   Paraview3 python scripting (http://www.cfd-online.com/Forums/openfoam-paraview/61106-paraview3-python-scripting.html)

tomislav_maric October 6, 2008 12:45

I'm building paraview3.3-cvs w
 
I'm building paraview3.3-cvs with python scripting enabled and I'm getting this error when running make:

[ 75%] Building CXX object Servers/Filters/Testing/Cxx/CMakeFiles/ServersFiltersPrintSelf.dir/ServersFilter sPrintSelf.o
Linking CXX executable ../../../../bin/ServersFiltersPrintSelf
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyType_IsSubtype'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyList_Insert'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `Py_SetProgramName'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PySys_SetObject'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `Py_Main'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyRun_SimpleStringFlags'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyType_Ready'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyString_AsString'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyImport_AddModule'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `Py_NewInterpreter'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyModule_GetDict'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyString_FromString'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyArg_Parse'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PySys_GetObject'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyThreadState_Swap'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyArg_ParseTuple'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyRun_SimpleFileExFlags'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `_PyObject_New'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `Py_Initialize'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `Py_BuildValue'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyDict_GetItemString'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `Py_EndInterpreter'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `Py_IsInitialized'
../../../../bin/libvtkPVPythonInterpretor.so: undefined reference to `PyObject_CallMethod'
collect2: ld returned 1 exit status
make[2]: *** [bin/ServersFiltersPrintSelf] Error 1
make[1]: *** [Servers/Filters/Testing/Cxx/CMakeFiles/ServersFiltersPrintSelf.dir/all] Error 2
make: *** [all] Error 2

I have built qt 4.3.5 localy with no problem, and linked it to pview with cmake.

Has anyone here had similar problems or knows what this error means?

Please help...

tomislav_maric October 6, 2008 16:47

All good, problem solved.
 
All good, problem solved.


All times are GMT -4. The time now is 13:36.