Re: wxEuphoria machine level exception

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

Hi

Matt Lewis wrote:

> 
> I guess I should have documented this a bit more.  It's fairly easy to
> change where it looks, by modifying the wxWin_Name constant.  The Euphoria
> bin directory seemed like the most logical place for it, and I was also
> sorta copying how Irv did it in EuGTK, using something that worked as an
> example.  I'm not completely clear how linking to libraries works in 
> Linux.
> 
> Matt Lewis
> 

At the risk of teaching Granny to suck eggs smile

wxEuphoria.e specifies EUDIR & bin/wxgtk_lib...so
( wxWin_name = getenv("EUDIR") & "/bin/libwx_gtk-2.4.so.0.1.1")
   - the library must be installed here to work

If you install the library somewhere in the searched PATH it _should_ be able
to find it.

So specifying
   wxWin_name = "libwx_gtk-2.4.so.0.1.1"
and putting the library _anywhere_ in $PATH should work - my first choice
for development would be ~/euphoria/include, along with all the other
wxEuphoria includes (personal preference)

The 'correct' way to install a library would be to put it into /usr/lib 
(as root), and then run ldconfig to update the library 'index'. This is
the way Irv's gtk2 library works (no compiled wrappers).

Final caveat - as you are modifying the wxgtk library, should you not be
naming it something different - eg libwx_gtk-ml-2.4.so.0.1.1, to avoid
overwriting either when installing this, or installing wxwidgets form
www.wxwidgets.org? 

Oh, and understood about the complexities of cross platform compatability
(effort inputted vs reward outputted etc), but (and its just a question for
curiosities sake), why are you using perl and not eu to do the conversions?

Chris




http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu