Hi,
John Labenski ha scritto:
On 1/18/06, Francesco Montorsi <[EMAIL PROTECTED]> wrote:
Hi all,
I'm finally back from my last exams (crossing fingers waiting
results :))
Good luck!
thanks ;)
>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...
Ok, I've removed WXWIN_COMPATIBILITY_24 since I think the
!wxCHECK_VERSION(2,5,0) is good enough, but I think it should be
defined in 2.6 to either 0 or 1 no matter what. I think your
wx/setup.h (in linux in
wxWidgets/lib/wx/include/gtk2-unicode-debug-2.7/wx for me when I
compile in gtk2 in unicode) is not being included somehow? It's
committed now.
maybe this is because I use wx2.7.0 and wxdev could have replaced
WXWIN_COMPATIBILITY_24 with WXWIN_COMPATIBILITY_26 (but I'm not sure).
>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
Ok, I never install anything in my linux systems.
well, in this case you won't benefit much from bakefile-upgrading :)
Using your bakefile
means that we have to always use that from now on right?
yes, it would use some tags and stuff backward incompatible (but
bakefiles would be easier to read & maintain & have some bugs fixed!).
I've
unfortunately had problems using bakefile in linux when I download the
src and compile it myself.
It can't find the wxWidgets presets IIRC.
the wxpresets does not come with bakefile. They are installed by
wxWidgets when you call "make install" but if you don't install wx, then
you have to manually cp them into /usr/local/bakefile/presets ;)
Therefore I've been using it in windows, is it easy to compile there,
I'd hope so? :)
well, my archive doesn't contain the win32 installer (it would not be
easy to pack bakefile for me for win32 as it requires a python
interpreter embedded...). But you can just install bakefile 0.1.9 and
then untar my archive on your "C:\programs" folder overwriting all old
files. That should do the trick ;)
This would be good if you could add it.
added; just waiting for committing it as I did also bakefiles changes
and I'm testing wxLua on win32 and linux.
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 ?
Yes please, I don't have access to any 64 bit machines.
ok, I'll do the commits together with build changes.
Francesco Montorsi
------------------
Homepage: http://home.tele2.it/f18m
Any sufficiently advanced bug is
indistinguishable from a feature.
------------------
-------------------------------------------------------
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
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users