Re: Ubuntu Edgy vs wxWidgets
- Posted by Jerry Story <story.jerry at gmail.com> Mar 24, 2007
- 544 views
Matt Lewis wrote: > > Jerry Story wrote: > > > > When I run wx-config --prefix it returns /usr > > I think you may have another version of wxWidgets installed. Try > > $ wx-config --version It returns 2.4.5 > I installed 2.6.3 using Synaptic to test this out. It gets put into > /usr when installed that way. If it's showing 2.6.3, try also > > $ wx-config --list It returns the same response as wx-config --help > It will probably show only 2.6.3. If 2.8.2 was installed in your /usr/local > path (which seems to be the default) you need to use /usr/local/bin/wx-config, > or else change your path so that /usr/local/bin is before /usr/bin. > > I've made a start on using a configure script. It won't handle the case > where 2.8.2 isn't the default, but at least it's a start. You can > download directly from svn here: > > <a > href="http://wxeuphoria.svn.sourceforge.net/viewvc/*checkout*/wxeuphoria/wxeu/branches/wxeu280/Makefile">http://wxeuphoria.svn.sourceforge.net/viewvc/*checkout*/wxeuphoria/wxeu/branches/wxeu280/Makefile</a> > <a > href="http://wxeuphoria.svn.sourceforge.net/viewvc/*checkout*/wxeuphoria/wxeu/branches/wxeu280/configure?revision=66">http://wxeuphoria.svn.sourceforge.net/viewvc/*checkout*/wxeuphoria/wxeu/branches/wxeu280/configure?revision=66</a> configure followed by make produced this result: g++ -c -o wxeu.o -D__WXGTK__ -I. -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -fno-strict-aliasing -pthread -Wall -Wundef -Wno-ctor-dtor-privacy wxeu.cpp wxeu.cpp:87: warning: ‘EuEventTypes’ initialized and declared ‘extern’ wxeu.cpp:172: error: ‘wxEVT_SCROLL_CHANGED’ was not declared in this scope wxeu.cpp:224: error: ‘wxEVT_SIZING’ was not declared in this scope wxeu.cpp:225: error: ‘wxEVT_MOVING’ was not declared in this scope wxeu.cpp:226: error: ‘wxEVT_HIBERNATE’ was not declared in this scope wxeu.h:247: warning: ‘wxEuApp’ defined but not used wxeu.h:264: warning: ‘object box_int(int)’ defined but not used make: *** [wxeu.o] Error 1 Now that I have the older version of wxEuphoria working on Ubuntu, I'm back in production. I hope you keep that on your website. Perhaps the problem with the new version of wxEuphoria on Ubuntu is simply that Ubuntu doesn't yet have an easy way to install the latest version of wxWidgets (sudo apt-get install). Perhaps that will happen in time. If so, then the old version of wxEuphoria will do until then.