Re: Ubuntu Edgy vs wxWidgets

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jerry Story wrote:
> 
> Matt Lewis wrote:
> > You have to have these things installed:
> > gcc
> > g++
> > libgtk2.0-dev
> > 
> > Don't try to use the Applications->Add/Remove, because it doesn't have
> > them.  I had to go into synaptic to add these.  Then do the 
> 
> I got libgtk2.0-dev with sudo apt-get install libgtk2.0-dev
> That got me a bunch of files that I had trouble getting.
>  
> > $ ./configure &&  make && sudo make install
> > for wxWidgets.
> 
> That seemed to work.
> 
> > 1.  Change top_srcdir and top_builddir to point to the correct directory
> 
> Did that. But nothing went into that directory.

I think I was unclear about this.  You need to change the Makefile for 
wxEuphoria.  They should point to wherever you unpacked the source to
wxWidgets.  The values there are where I have them, but you may have
done something differently.

> > 2.  Change the definitions of __LIB_TIPP_p and __LIB_JPEG_p to use
> >     the wx-supplied libaries.  There could be others on your system that
> >     have the same issue, but the fix is pretty easy:
> 
> I had difficulty with this part. Couldn't find __LIB_TIPP_p
> Didn't understand what to do with __LIB_JPEG_p

These also were in the wxEuphoria Makefile.  It's the same procedure
for __LIB_JPEG_p as for __LIB_TIFF_p.


> 
> > Once you've made these changes:
> > 
> > $ make && sudo make install
> 
> On make I got a bunch of 'not declared in this scope' errors.

I think the problem is that top_srcdir and top_builddir aren't set 
correctly.  The wxEuphoria Makefile uses these to find all of the 
wxWidgets headers.  If the compiler can't find them, that's how the
compiler reacts.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu