Re: Ubuntu Edgy vs wxWidgets
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Mar 22, 2007
- 585 views
Jerry Story wrote: > > Matt Lewis wrote: > > > > I've streamlined the Makefile, which you can download directly from the > > repository here (beware wrapping url): > > > > <a > > href="http://wxeuphoria.svn.sourceforge.net/viewvc/*checkout*/wxeuphoria/wxeu/branches/wxeu280/Makefile?revision=63">http://wxeuphoria.svn.sourceforge.net/viewvc/*checkout*/wxeuphoria/wxeu/branches/wxeu280/Makefile?revision=63</a> > > I think I am hopelessly confused. Sorry about that. > What should these be changed to? > > top_srcdir = /home/matt/euphoria/development/wxeu/wxGTK-2.8.0 > top_srcdir = $(prefix)/include/wx-2.8 > top_builddir = /home/matt/euphoria/development/wxeu/wxGTK-2.8.0 > > Where did wxGTK come from? I was using a different file. wxGTK was the version of wxWidgets that I had downloaded at one point. If you installed wxWidgets (make install), then the correct values for those variables in the Makefile should be top_srcdir = $(prefix)/include/wx-2.8 top_builddir = $(prefix) I should have deleted the other declarations. Those just tell the compiler where to find certain include files. > > > $ wx-config --prefix > > $ wx-config --libs > > $ wx-config --cppflags > > Is wx-config supposed to be in Makefile? A search does not find it. It's actually a shell script installed by wxWidgets that reads a config file that was also installed. The purpose is to be able to get various parameters so that you can link against wxWidgets. Try running those from the command line. Matt