Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script can't find everloop.h #122

Open
timothybuchanan opened this issue Jun 2, 2022 · 0 comments
Open

Script can't find everloop.h #122

timothybuchanan opened this issue Jun 2, 2022 · 0 comments

Comments

@timothybuchanan
Copy link

Do not remove fields, answer them, otherwise your bug will be reported as invalid and closed

How I did start SLC, with what arguments
./hlc_download

Led device name
"Matrix Voice"

The bug
Script runs without error up to point of installing matrix-lite, then gcc fails with output below. If I skip matrix voice installation in script, then no main.py is created. Matrix-lite is already installed and test with python scripts on matrix website.

Debug output
× Running setup.py install for matrix-lite did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
running install
/home/voice/HermesLedControl/venv/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/matrix_lite
copying matrix_lite/colour.py -> build/lib.linux-armv7l-cpython-39/matrix_lite
copying matrix_lite/init.py -> build/lib.linux-armv7l-cpython-39/matrix_lite
copying matrix_lite/sensors.py -> build/lib.linux-armv7l-cpython-39/matrix_lite
copying matrix_lite/led.py -> build/lib.linux-armv7l-cpython-39/matrix_lite
running build_ext
building '_matrix_hal' extension
creating build/temp.linux-armv7l-cpython-39
creating build/temp.linux-armv7l-cpython-39/hal_wrapper
creating build/temp.linux-armv7l-cpython-39/hal_wrapper/drivers
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/voice/HermesLedControl/venv/lib/python3.9/site-packages/pybind11/include -I/home/voice/HermesLedControl/venv/lib/python3.9/site-packages/pybind11/include -I/home/voice/HermesLedControl/venv/include -I/usr/include/python3.9 -c hal_wrapper/drivers/everloop.cpp -o build/temp.linux-armv7l-cpython-39/hal_wrapper/drivers/everloop.o -O3 -DVERSION_INFO="0.0.8" -std=c++11
hal_wrapper/drivers/everloop.cpp:2:10: fatal error: ./everloop.h: No such file or directory
#include "./everloop.h"
^~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> matrix-lite

To Reproduce
Run sudo ./.hlc_download.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant