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

"make hardware" fails on Raspi #12

Open
aliekens opened this issue Sep 27, 2015 · 1 comment
Open

"make hardware" fails on Raspi #12

aliekens opened this issue Sep 27, 2015 · 1 comment

Comments

@aliekens
Copy link
Owner

None of the _hardware executables builds, with, e.g., "make: *** No rule to make target 'example_hardware', needed by 'hardware'. Stop." as the error.

Building example_hardware with make example_hardware does however work.

pi@raspberrypi ~/hexxx $ make
cd ws2811 ; make
make[1]: Entering directory '/home/pi/hexxx/ws2811'
gcc -o ws2811.o -c -g -O2 ws2811.c
gcc -o pwm.o -c -g -O2 pwm.c
gcc -o dma.o -c -g -O2 dma.c
gcc -o board_info.o -c -g -O2 board_info.c
gcc -o mailbox.o -c -g -O2 mailbox.c
ar rc libws2811.a ws2811.o pwm.o dma.o board_info.o mailbox.o
ranlib libws2811.a
make[1]: Leaving directory '/home/pi/hexxx/ws2811'
cd gpio ; make
make[1]: Entering directory '/home/pi/hexxx/gpio'
gcc -o gpio.o -c -g -O2 gpio.c
ar rc gpio.a gpio.o
ranlib gpio.a
g++ -o main.o -c -g -O2 main.cpp
g++ -o test main.o gpio.a -O2
make[1]: Leaving directory '/home/pi/hexxx/gpio'
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o pong.o pong.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o hexxx.o hexxx.cpp
gcc  -O3  -c -o ledstring.o ledstring.c
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o color.o color.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o buttons.o buttons.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o coordinates.o coordinates.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o font.o font.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o players.o players.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o vector.o vector.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o coordinate.o coordinate.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o line.o line.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o circle.o circle.cpp
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o buffer.o buffer.cpp
g++ -std=c++0x `sdl2-config --cflags` -o pong_hardware pong.o hexxx.o ledstring.o color.o buttons.o coordinates.o font.o players.o vector.o coordinate.o line.o circle.o buffer.o ws2811/libws2811.a gpio/gpio.a -lX11 -pthread
make: *** No rule to make target 'example_hardware', needed by 'hardware'.  Stop.
pi@raspberrypi ~/hexxx $ make example_hardware
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o example.o example.cpp
g++ -std=c++0x `sdl2-config --cflags` -o example_hardware example.o hexxx.o ledstring.o color.o buttons.o coordinates.o font.o players.o vector.o coordinate.o line.o circle.o buffer.o ws2811/libws2811.a gpio/gpio.a -lX11 -pthread
pi@raspberrypi ~/hexxx $ make simulator
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o hexxx_simulator.o hexxx_simulator.cpp
g++ -std=c++0x `sdl2-config --cflags` -o pong_simulator pong.o hexxx_simulator.o ledstring.o color.o buttons.o coordinates.o font.o players.o vector.o coordinate.o line.o circle.o buffer.o `sdl2-config --libs` -lSDL2_gfx -lpthread
g++ -std=c++0x `sdl2-config --cflags` -o example_simulator example.o hexxx_simulator.o ledstring.o color.o buttons.o coordinates.o font.o players.o vector.o coordinate.o line.o circle.o buffer.o `sdl2-config --libs` -lSDL2_gfx -lpthread
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o tron.o tron.cpp
g++ -std=c++0x `sdl2-config --cflags` -o tron_simulator tron.o hexxx_simulator.o ledstring.o color.o buttons.o coordinates.o font.o players.o vector.o coordinate.o line.o circle.o buffer.o `sdl2-config --libs` -lSDL2_gfx -lpthread
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o fontdemo.o fontdemo.cpp
g++ -std=c++0x `sdl2-config --cflags` -o fontdemo_simulator fontdemo.o hexxx_simulator.o ledstring.o color.o buttons.o coordinates.o font.o players.o vector.o coordinate.o line.o circle.o buffer.o `sdl2-config --libs` -lSDL2_gfx -lpthread
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o cube.o cube.cpp
g++ -std=c++0x `sdl2-config --cflags` -o cube_simulator cube.o hexxx_simulator.o ledstring.o color.o buttons.o coordinates.o font.o players.o vector.o coordinate.o line.o circle.o buffer.o `sdl2-config --libs` -lSDL2_gfx -lpthread
g++ -std=c++0x `sdl2-config --cflags` -O3  -c -o flappybird.o flappybird.cpp
g++ -std=c++0x `sdl2-config --cflags` -o flappybird_simulator flappybird.o hexxx_simulator.o ledstring.o color.o buttons.o coordinates.o font.o players.o vector.o coordinate.o line.o circle.o buffer.o `sdl2-config --libs` -lSDL2_gfx -lpthread
pi@raspberrypi ~/hexxx $ 
@christophevg
Copy link
Contributor

Will look into it when I have access to the Pi ... on Thursday probably ;-)

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

2 participants