Description:
I got two C++ classes named bclass and nclass. Both of two classes have made by .so already. My target is to use python to create a nclass and call a method named add in nclass. By the way, nclass depends on bclass. I plan to use ctypes module, but when a write the code "lib=CDLL("./libnclass.so")"
an error comes and show that
"OSError: libbclass.so: cannot open shared object file:No such file or directory"
When I just call libbclass.so program is OK
So I got two questions,
first,
how do I call nclass in python,
second
how do I create an object by nclass and using some method in nclass