Open LemonPi opened 1 year ago
Any updates on the issue? I would love to help if I can
I have the same issue, did you resolve it?
@EdoardoPassera can you try the latest develop branch? Thanks
I still get the same error.
me too, did any handsome guy solved this problems?
I have met same problem under Window 10 MinGW toolchain. Here's some steps I took to make it work.
Under Windows, pybind11 tends to generate .pyd instead of .so, we have to change the line 11 at ${ProjectRoot}/python/setup.py.in, from package_data={'': ['*.so]}
to package_data={'': ['*.pyd']}
. This step make sure that the compiled .pyd or .so file can be copied to pip installation path.
Make sure that the FOUND PYTHON INTERPRETER is the one as the same as you use for running py scripts. Otherwise, import
can't find the entry of the Library. Pay attention if you use Anaconda Env, pybind11 may use base python.exe, but you may run scripts in your established envs.
Copy the generated .dll or .so files under ${ProjectRoot}/build/teaser, and other path (e.g. pmc-build, tinyply-build) to the same path where the py scripts placed, in case that the searching path for dynamic load libraries is not correctly configured.
Describe the bug Following the minimal python readme steps exactly, I'm getting the following error when trying to run the example:
I've built the c++ version and it works fine on the example, and in the output after
cmake ...
I see that python bindings have been built:I've also read the previous related issues #131 and #92
Installed Dependencies Ubuntu 20.04 cmake version 3.16.3 conda 4.13.0
To Reproduce Execute the commands