Compilation problem: wxcolour does not name a type
Status: Inactive
Brought to you by:
rllynch
When trying to compile roadnav, I get the following errors:
../include/libroadnav/MapRepresentations.h: At global scope:
../include/libroadnav/MapRepresentations.h:42: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/libroadnav/MapRepresentations.h:42: error: ISO C++ forbids declaration of ‘wxColour’ with no type
../include/libroadnav/MapRepresentations.h:43: error: ‘wxColour’ does not name a type
This happens with both wxWindows 2.6 and 2.8, and with roadnav 0.18 and the svn trunk.
Logged In: YES
user_id=294105
Originator: YES
(This is when compiling Address.cpp, error shows on line 40 of that file.
It appears to be fixed by installing wxGTK (The requirement of which should be listed in the README).
It would be good if the configure script would complain that it's missing, if it is needed.
Logged In: YES
user_id=1108678
Originator: NO
How did you install wxWidgets without installing wxGTK?
Logged In: YES
user_id=294105
Originator: YES
By installing the Ubuntu package 'libwxbase2.8-dev' and not 'libwxgtk2.8-dev'
Logged In: YES
user_id=1108678
Originator: NO
configure script updated to handle this scenario.