hbldh/pymetawear

libmetawear.so is not being built because of -Werror

Joshuaalbert opened this issue · 2 comments

Greetings,

I am attempting to install this package and upon attempting to import any of the code I get an error,
/home/josh/git/pymetawear/pymetawear/libmetawear.so: cannot open shared object file: No such file or directory
I installed by python setup.py build.
Actually, I notice there are some warnings that appear and you have the compiler flat -Werror set which treats warnings as an error.
After removing -Werror from pymetawear/MetaWear-SDK-Cpp/config.mk everything compiles.

If you would like a list of the warning I can send these.

System

python 3.6 from conda, Fedora 25

hbldh commented

Did this occur when building the master or the develop branch?

I ran into this myself, but I cannot replicate it now, even though I haven't made any changes regarding the issue... I believe it relates to this issue: mbientlab/MetaWear-SDK-Cpp#14
Please add the warnings here as well so that we can verify that.

hbldh commented

Since version 0.9.0, libmetawear is being built in the mbientlab/MetaWear-SDK-Python package. This is no longer an issue relating to PyMetWear directly.