Hi all,

I'm finally back from my last exams (crossing fingers waiting results :))

>I tried to compile on Linux. ( wxWidgets 2.6.2 with contrib installed
>and static libs last installed ).
>So wx-config gives static libs when asking for --libs.)
>But i have several problems.
>How does one configure to become static or dynamic libs?
>
>First i get warnings like this.
>./wxlua/src/wxlstate.cpp:314:5: warning: "WXWIN_COMPATIBILITY_24" is
yes, I get these, too.
Maybe someone with more wxLua knowledge could fix these...


>Eventually it compiles, but when i call make install, the result is >this.
>I have no idea what is going on here.
I know what the problem is: bakefile 0.9 doesn't have good install/uninstall support.

John and all other wxLua admin: I made a patched version of Bakefile (0.2.0) with a lot of additional features which would fix, among others, also install and uninstall targets. Should I upgrade wxLua bakefiles to 0.2.0, while we wait that my additional features (which I also submit to bakefile project as patches) are applied and official 0.2 is released ?

My bakefile 0.2.0 is available at:
 www.geocities.com/f18m_cpp217828/frm-bakefile.tar.gz

>I tried configure --enable-wxlua-app,
>this does not do anything it looks.
IIRC something like wxluasetup.h was supposed to be created and the WXLUASETUP_DIR & WXLUABINDLIB_DIR options should be used somewhere in bakefiles.
Anyway --enable-wxlua-app should work. I'll look into this.


>Assuming i do something wrong and all this should work.
>How does one find the wxLua settings?
>Is there a wxlua-config ---libs --include etc. ?
I think it would be a little overkill create a wxlua-config script; wouldn't be better to create a wxlua.pc file for pkg-config, so that one could use

       pkg-config wxlua --libs

or

       pkg-config wxlua --cflags


?

>I need to detect wxLua, i am trying to this from Cmake currently by
>setting a WXLUA var.
>But if there will be wxlua-config , that would be the solution.
I propose to use a pkg-config template file just because it's ultra easy to build one. Basically the wxlua.pc.in file would look as:

[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@

Name: @PACKAGE_NAME@
Description: wxWidgets lua wrappers
Version: @PACKAGE_VERSION@
Requires:
Libs: -L${libdir} -lwxlua
Cflags: -I${includedir}/lua


Just let me know...
Francesco Montorsi



PS: wxLua currently doesn't compile on my AMD64 linux box.
This is because in a lot of places some (int) casts are used to cast memory pointers. In a 64 bit environment pointers are 64 bit wide and thus I replaced all those (int) with (long). Then wxLua compiled.
Should I commit these changes ?

PS2: I subscribed wxlua-users mailing list to Gmane. I hope this is not a problem to anyone ;)

        

        
                
___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wxlua-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to