Attributeerror: Python: Undefined Symbol: When Accessing C++ Function From Python Using Ctypes
What I am trying to do is call a C++ method from Python to return a 2D array. The Python filename is: BaxterArm1.py and the C++ filename is: baxIK.cpp. Below is how I compiled my c
Solution 1:
Finally got it working! Problem is that (os.path.dirname('baxIK.so')
was returning an empty string, so I put in the full directory. I fixed the other issue I mentioned earlier by compiling g++ with llapack and now I'm fixing up one last detail. I hope this helps somebody else.
Post a Comment for "Attributeerror: Python: Undefined Symbol: When Accessing C++ Function From Python Using Ctypes"