timschmidt/repsnapper — Issue #57: Ubuntu 10.04 Make fail
Author: khalida
Created: 2011-12-04 08:55:52+00:00
State: open

Hi,

I have (or at least think I have) install all the dependencies; and the
./autogen.sh
appeared to run without reporting any problems and produced the Makefile.

However, when running make, which I did using
sudo make

I get the following errors, and no repsnapper executable is produced:

$ sudo make
make all-recursive
make[1]: Entering directory `/home/khalid/Projects/repRap/repsnap2/repsnapper'
Making all in po
make[2]: Entering directory `/home/khalid/Projects/repRap/repsnap2/repsnapper/po'
file=`echo en_GB | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file en_GB.po
file=`echo de_DE | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file de_DE.po
make[2]: Leaving directory `/home/khalid/Projects/repRap/repsnap2/repsnapper/po'
make[2]: Entering directory `/home/khalid/Projects/repRap/repsnap2/repsnapper'
CC libraries/libreprap/libreprap_la-comms.lo
CC libraries/libreprap/libreprap_la-fived.lo
CC libraries/libreprap/libreprap_la-serial.lo
CC libraries/libreprap/libreprap_la-tonokip.lo
CC libraries/libreprap/libreprap_la-util.lo
CCLD libreprap.la
CXX libraries/polylib/libpolylib_la-GeometryBase.lo
CXX libraries/polylib/libpolylib_la-Polygon2f.lo
CXXLD libpolylib.la
CXX src/repsnapper-model.o
CXX src/repsnapper-model2.o
CXX src/repsnapper-view.o
src/view.cpp: In member function ‘bool View::key_pressed_event(GdkEventKey*)’:
src/view.cpp:582: error: ‘GDK_KEY_Tab’ was not declared in this scope
src/view.cpp:599: error: ‘GDK_KEY_Escape’ was not declared in this scope
src/view.cpp:605: error: ‘GDK_KEY_Delete’ was not declared in this scope
src/view.cpp:606: error: ‘GDK_KEY_KP_Delete’ was not declared in this scope
src/view.cpp:609: error: ‘GDK_KEY_Up’ was not declared in this scope
src/view.cpp:609: error: ‘GDK_KEY_KP_Up’ was not declared in this scope
src/view.cpp:611: error: ‘GDK_KEY_Down’ was not declared in this scope
src/view.cpp:611: error: ‘GDK_KEY_KP_Down’ was not declared in this scope
src/view.cpp:613: error: ‘GDK_KEY_Left’ was not declared in this scope
src/view.cpp:613: error: ‘GDK_KEY_KP_Left’ was not declared in this scope
src/view.cpp:615: error: ‘GDK_KEY_Right’ was not declared in this scope
src/view.cpp:615: error: ‘GDK_KEY_KP_Right’ was not declared in this scope
make[2]: *** [src/repsnapper-view.o] Error 1
make[2]: Leaving directory `/home/khalid/Projects/repRap/repsnap2/repsnapper'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/khalid/Projects/repRap/repsnap2/repsnapper'
make: *** [all] Error 2

I originally tried this on my 64-bit desktop, but have also tried it on my 32-bit laptop (both running Ubuntu 10.04) and got exactly the same error so I think I must be missing something in the compile or installation process.

I have tried googling and searching in this and other forums for the key terms in the error but not had any luck. Anyone had these error messages before or understand them?

Many thanks,

- Khalid