Common errors

From KratosWiki
Revision as of 10:42, 5 February 2010 by Kazem (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
ImportError: /home/kazem/kratos/libs/KratosMeshingApplication.so: undefined symbol: _ZN6Kratos17TetGenPfemContactC1Ev

2 general reasons:

- The old .so file is used. You need to remove "libs" and compile all again

rm libs/ -r

sometimes you need to delete it by hand from the "bin" file.

- The defined class doesn´t have constructor or destructor so you can´t call it from python. Define them to be able to call.

 /// Default constructor.
 TetGenPfemContact() {}
 /// Destructor.
 virtual ~TetGenPfemContact(){}
Personal tools
Categories