Menu

#65 Compilation problem: wxcolour does not name a type

open-fixed
nobody
None
5
2007-09-25
2007-09-17
No

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.

Discussion

  • Alex L. Mauer

    Alex L. Mauer - 2007-09-17

    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.

     
  • Richard Lynch

    Richard Lynch - 2007-09-17
    • status: open --> pending
     
  • Richard Lynch

    Richard Lynch - 2007-09-17

    Logged In: YES
    user_id=1108678
    Originator: NO

    How did you install wxWidgets without installing wxGTK?

     
  • Alex L. Mauer

    Alex L. Mauer - 2007-09-17
    • status: pending --> open
     
  • Alex L. Mauer

    Alex L. Mauer - 2007-09-17

    Logged In: YES
    user_id=294105
    Originator: YES

    By installing the Ubuntu package 'libwxbase2.8-dev' and not 'libwxgtk2.8-dev'

     
  • Richard Lynch

    Richard Lynch - 2007-09-25

    Logged In: YES
    user_id=1108678
    Originator: NO

    configure script updated to handle this scenario.

     
  • Richard Lynch

    Richard Lynch - 2007-09-25
    • status: open --> open-fixed
     

Log in to post a comment.