iokto / newton-dynamics

Automatically exported from code.google.com/p/newton-dynamics
0 stars 0 forks source link

wrong linking of shared object for linux64 (certainly for 32 too) #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make the linux64 of newton 2.00
2. python
   import ctypes
   lib = ctypes.CDLL('path to the shared object')

What is the expected output? What do you see instead?
exception about some undefined/unresolved symbols

What version of the product are you using? On what operating system?
newton 2.0 on Linux64 (debian Squeeze 6.0)/(Ubuntu Natty 11.04)

a fix is to alter the makefile where it generates the shared object and add 
-lpthread and -lstdc++.

Original issue reported on code.google.com by xion...@gmail.com on 24 May 2011 at 1:29