From: Subhasis R. <ray...@gm...> - 2013-07-31 08:25:55
|
Hi Dilawar, On Wed, Jul 31, 2013 at 1:13 PM, Dilawar Singh <dil...@gm...>wrote: > > I build the moose using `python setup.py build`. It complained about > unavailability of two files 'ksolve/FuncTerm.cpp', and > 'mesh/ChemMesh.cpp'. I removed them from `setuo_/__init__.py` file. It got > compiled. When importing moose into python, I am getting following error. > > ImportError: /usr/local/lib/python2.7/dist-packages/moose.so: undefined > symbol: _ZN8ReacBase9setSolverE2IdS0_ > > What am I missing? > > The distutils based setup is not actively maintained. The standard way to build moose is: make moose in the top level directory and then you can add {moose}/python to your PYTHONPATH variable. I am not sure what version of moose you are using, but the latest development branch is buildQ. Best, Subha |