concaveman-cpp icon indicating copy to clipboard operation
concaveman-cpp copied to clipboard

Can not load library?

Open K-M-Ibrahim-Khalilullah opened this issue 5 years ago • 2 comments

I compiled from terminal using the following command: g++ -std=c++11 -shared concaveman.cpp -o libconcaveman.so

but when I run the demo.py it produces the following error: OSError: cannot load library 'D:/feasibilityAnalysis2020_3/Dpointcloud3Dvision/RemoveNoiseAndTIN/Code/ConCaveHull/concaveman-cpp-master/concaveman-cpp-master/src/main/cpp/libconcaveman.so': error 0xc1

is there any solution? g++ version 8.1.0 python 3.6 cffi 1.14.0

K-M-Ibrahim-Khalilullah avatar May 18 '20 02:05 K-M-Ibrahim-Khalilullah

Same problem here. Has anyone found a solution?

ricardobarriosp avatar Oct 04 '20 16:10 ricardobarriosp

On my side I had the most silly error. When changing the hard-coded path to the '.so' library the was a typo in the path, left from copy pasting. Now it runs.

ricardobarriosp avatar Oct 04 '20 16:10 ricardobarriosp