Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Problem compiling on Raspberry Pi

This thread is locked; no one can reply to it. rss feed Print
Problem compiling on Raspberry Pi
AMCerasoli
Member #11,955
May 2010
avatar

Hola, I'm getting "/home/pi/allegro5/src/linux/lkeybdnu.c:490:4: error: expected ‘;’ before ‘}’ token"...

[ 12%] Building C object CMakeFiles/allegro.dir/src/unix/umouse.c.o
[ 12%] Building C object CMakeFiles/allegro.dir/src/unix/upath.c.o
[ 13%] Building C object CMakeFiles/allegro.dir/src/unix/utime.c.o
[ 13%] Building C object CMakeFiles/allegro.dir/src/unix/uxthread.c.o
[ 13%] Building C object CMakeFiles/allegro.dir/src/linux/lkeybdnu.c.o
/home/pi/allegro5/src/linux/lkeybdnu.c: In function ‘lkeybd_clear_keyboard_state’:
/home/pi/allegro5/src/linux/lkeybdnu.c:490:4: error: expected ‘;’ before ‘}’ token
    }
    ^
CMakeFiles/allegro.dir/build.make:1503: recipe for target 'CMakeFiles/allegro.dir/src/linux/lkeybdnu.c.o' failed
make[2]: *** [CMakeFiles/allegro.dir/src/linux/lkeybdnu.c.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/allegro.dir/all' failed
make[1]: *** [CMakeFiles/allegro.dir/all] Error 2
Makefile:107: recipe for target 'all' failed
make: *** [all] Error 2

I don't know how to use Git so I put it here.

Go to: