Closed ScrumpyJack closed 8 years ago
sources: py-unicorn-hat-2.1.2.tar.gz first i build UnicornHat, which succeeds, then rpi-ws281x method: python setup.py build
building UnicornHat running build running build_py creating build creating build/lib copying unicornhat.py -> build/lib building rpi-ws281x running build running build_py Compiling ws281x library... creating build creating build/lib.linux-armv7l-2.7 copying neopixel.py -> build/lib.linux-armv7l-2.7 running build_ext building '_rpi_ws281x' extension creating build/temp.linux-armv7l-2.7 gcc -DNDEBUG -Os -fomit-frame-pointer -pipe -fPIC -g -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -Ilib/ -I/usr/include/python2.7 -c rpi_ws281x_wrap.c -o build/temp.linux-armv7l-2.7/rpi_ws281x_wrap.o gcc -shared -Wl,--as-needed -Wl,--as-needed -Os -fomit-frame-pointer -Os -fomit-frame-pointer build/temp.linux-armv7l-2.7/rpi_ws281x_wrap.o -Llib/ -L/usr/lib -lws2811 -lpython2.7 -o build/lib.linux-armv7l-2.7/_rpi_ws281x.so /usr/lib/gcc/armv6-alpine-linux-muslgnueabihf/5.3.0/../../../../armv6-alpine-linux-muslgnueabihf/bin/ld: cannot find -lws2811 collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1
Which version of Raspbian are you building on, and what's the result of:
gcc --version
sources: py-unicorn-hat-2.1.2.tar.gz first i build UnicornHat, which succeeds, then rpi-ws281x method: python setup.py build