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:<br>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Errors in:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/home/iullah/grass6_source/grass6_devel/gui/wxpython/vdigit</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/iullah/grass6_source/grass6_devel/gui/wxpython/nviz</span><br> <br>When I cd to .../gui/wxwidgets/vdigit and run make, I get the following error:<br><br><font face="courier new,monospace">In file included from cats.cpp:21:<br>
driver.h: At global scope:<br>driver.h:84: error: field 'color' has incomplete type<br>driver.h:88: error: field 'highlight' has incomplete type<br>make: *** [OBJ.i686-pc-linux-gnu/cats.o] Error 1<br></font> <br>This final error is preceeded by a long list of other errors. The intial place where it goes wrong is here:<br>
<br><font face="courier new,monospace">cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ <br>In file included from /usr/include/wx-2.8/wx/dc.h:22, <br>
from driver.h:21, <br> from cats.cpp:21: <br>
/usr/include/wx-2.8/wx/cursor.h: In constructor 'wxBusyCursorSuspender::wxBusyCursorSuspender()': <br>/usr/include/wx-2.8/wx/cursor.h:65: error: 'wxIsBusy' was not declared in this scope <br>
/usr/include/wx-2.8/wx/cursor.h:67: error: 'wxBusyCursor' has not been declared <br>/usr/include/wx-2.8/wx/cursor.h:67: error: 'wxSetCursor' was not declared in this scope <br>
/usr/include/wx-2.8/wx/cursor.h: In destructor 'wxBusyCursorSuspender::~wxBusyCursorSuspender()': <br>/usr/include/wx-2.8/wx/cursor.h:72: error: 'wxIsBusy' was not declared in this scope <br>
/usr/include/wx-2.8/wx/cursor.h:74: error: 'wxBusyCursor' has not been declared <br>/usr/include/wx-2.8/wx/cursor.h:74: error: 'wxSetCursor' was not declared in this scope <br>
In file included from driver.h:21, <br> from cats.cpp:21: <br>
/usr/include/wx-2.8/wx/dc.h: At global scope: <br>/usr/include/wx-2.8/wx/dc.h:835: error: field 'm_pen' has incomplete type <br>
/usr/include/wx-2.8/wx/dc.h:836: error: field 'm_brush' has incomplete type <br>/usr/include/wx-2.8/wx/dc.h:837: error: field 'm_backgroundBrush' has incomplete type<br>
<br><font face="arial,helvetica,sans-serif">with maybe a hundred or so more lines in a similar vein.</font> </font><br><br>When I run ./configure without --with-wxwidgets, both versions compile with no errors, and i'm able to install the resulting binaries just fine.<br clear="all">
<br>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 <style type="text/css">, li { white-space: pre-wrap; </style>/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!<br>
<br>-- <br><br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Student,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>***************************************************<br>
<a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com">ullah@archaeologist.com</a><br><br><a href="http://www.public.asu.edu/~iullah">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>