Common errors

From KratosWiki
Jump to: navigation, search
ImportError: /home/kazem/kratos/libs/ 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