On 3/20/07, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > Matthew Wild ha scritto:
> >You can staticly link to wxWidgets (never to GTK) and test it > > out on different platforms, but I've never tried to do this. > > > > Put simply... how would you do this? > simple: compile wxWidgets using the --disable-shared flag (when running > the configure script). > > > If you do try this and can confirm that it works at least under a few > > common distributions please let us know your settings and we can > > provide binaries in the future. > well, as said above, we could try to compile wxLua in shared mode > against a shared build of wx using the APGCC tool (autopackage GCC > wrapper) which creates .so files with fewer dynamic dependencies... Humm, sounds interesting, but I'm fairly busy with the bindings and trying to get them to be better/faster/smaller/more usable etc. Matthew, would this be something you could look into? This sounds like something you'd want to do it for your program anyway, let us know if it works or if anything needs to be changed. > the fact is that I'm not very expert of installing shared libraries: I > only know that they have a complicated versioning system for binary > compatibility (it's explained in libtool manual) and that they cannot > just be dropped in the directory where your ELF is placed (unlike you > would do with DLLs on win)... You can also set a environment variable to add lib search paths. $export LD_LIBRARY_PATH=/path/to/lib or $PWD or better yet include the old path, but prepend us $export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH in a script that you use to run wxLua. This is how Mozilla (for example) does it with their binary tar.gz from mozilla.com for linux. This makes it much easier on the end user. Regards, John Labenski ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users