Hi all, I'm currently trying to compile both grass 6.4 and grass7 on Ubuntu 8.10, and I am consistently getting a couple of compile errors for .../gui/wxwigits/vdigit and .../gui/wxwidgets/NVIS for that have really stumped me. here are the initial errors:
Errors in: /home/iullah/grass6_source/grass6_devel/gui/wxpython/vdigit /home/iullah/grass6_source/grass6_devel/gui/wxpython/nviz When I cd to .../gui/wxwidgets/vdigit and run make, I get the following error: In file included from cats.cpp:21: driver.h: At global scope: driver.h:84: error: field 'color' has incomplete type driver.h:88: error: field 'highlight' has incomplete type make: *** [OBJ.i686-pc-linux-gnu/cats.o] Error 1 This final error is preceeded by a long list of other errors. The intial place where it goes wrong is here: cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from /usr/include/wx-2.8/wx/dc.h:22, from driver.h:21, from cats.cpp:21: /usr/include/wx-2.8/wx/cursor.h: In constructor 'wxBusyCursorSuspender::wxBusyCursorSuspender()': /usr/include/wx-2.8/wx/cursor.h:65: error: 'wxIsBusy' was not declared in this scope /usr/include/wx-2.8/wx/cursor.h:67: error: 'wxBusyCursor' has not been declared /usr/include/wx-2.8/wx/cursor.h:67: error: 'wxSetCursor' was not declared in this scope /usr/include/wx-2.8/wx/cursor.h: In destructor 'wxBusyCursorSuspender::~wxBusyCursorSuspender()': /usr/include/wx-2.8/wx/cursor.h:72: error: 'wxIsBusy' was not declared in this scope /usr/include/wx-2.8/wx/cursor.h:74: error: 'wxBusyCursor' has not been declared /usr/include/wx-2.8/wx/cursor.h:74: error: 'wxSetCursor' was not declared in this scope In file included from driver.h:21, from cats.cpp:21: /usr/include/wx-2.8/wx/dc.h: At global scope: /usr/include/wx-2.8/wx/dc.h:835: error: field 'm_pen' has incomplete type /usr/include/wx-2.8/wx/dc.h:836: error: field 'm_brush' has incomplete type /usr/include/wx-2.8/wx/dc.h:837: error: field 'm_backgroundBrush' has incomplete type with maybe a hundred or so more lines in a similar vein. When I run ./configure without --with-wxwidgets, both versions compile with no errors, and i'm able to install the resulting binaries just fine. Is this a wx issue? I've read the latest few threads about other compile errors with wx enabling in ./configure options, and I've confirmed that my etc/alternatives/wx-config file is pointing to /usr/lib/wx/config/base-unicode-release-2.8, so I think i'm having a different issue than others are having. Any suggestions would be most welcome! -- Isaac I Ullah, M.A. Archaeology PhD Student, ASU School of Evolution and Social Change Research Assistant, Mediterranean Landscape Dynamics Project *************************************************** [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.public.asu.edu/~iullah ***************************************************
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev