CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Paraview3 python scripting

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2008, 13:45
Default Paraview3 python scripting
  #1
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
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...
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   October 6, 2008, 17:47
Default All good, problem solved.
  #2
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
All good, problem solved.
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
material for python scripting amin.z Pointwise & Gridgen 4 June 19, 2018 14:14
[General] Filters using Python Scripting Birro ParaView 0 January 11, 2017 11:26
[ICEM] ICEM python geometry scripting eromon84 ANSYS Meshing & Geometry 0 December 12, 2015 12:39
python scripting in WB Windows.Forms OpenFileDialog() crashing mvoss CFX 0 November 4, 2011 04:46
python scripting in paraFoam chegdan OpenFOAM Post-Processing 0 March 31, 2010 20:06


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