Menu

#6 Compilation failure due to missing escaped parantheses

open
nobody
None
5
2009-11-19
2009-11-19
Anonymous
No

On Kubuntu 9.10 (using GCC 4.4.1) with virtual console compiling fails due to undeclared variables "usr", "local"...
The error comes from missing escaped parantheses in Makefile which make the definition not being recognized as a string.

DEFINES = -DDEVDIR="/dev/input" -DICON24="/usr/local/share/pixmaps/qjoypad/icon24.png" -DICON64="/usr/local/share/pixmaps/qjoypad/icon64.png" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED

should be:
DEFINES = -DDEVDIR="\"/dev/input\"" -DICON24="\"/usr/local/share/pixmaps/qjoypad/icon24.png\"" -DICON64="\"/usr/local/share/pixmaps/qjoypad/icon64.png\"" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED

Discussion


Log in to post a comment.