|
From: Ray G. <ray...@sc...> - 2005-06-13 23:00:50
|
Last night I cvs to wxIDE the latest wxXmlRpc, DebuggerNub, cdLua files
so you may want to update them as well.
I can now run cdLua.exe as an external process of wxStudio and debug the
lua script. The debugger can show callstack, global and local variables.
I am now working on a set of lua scripts to merge new wxWidget versions
- so it can pick up new wx classes, merge new members automatically.
This will save lots of time as new wx versions are released.
Ray
-----Original Message-----
From: wxl...@li...
[mailto:wxl...@li...] On Behalf Of John
Labenski
Sent: Tuesday, 14 June 2005 03:32
To: wxl...@li...
Subject: Re: [Wxlua-users] Bakefile
Thanks for all your work.=20
I'm slowly merging wxIDE's cdlua's code and wrappers, but it's slow
going. I hope to have it done be the end of the week and then everyone
can just use this version of wxLua.
Regards,
John Labenski
On 6/12/05, Francesco Montorsi <f18...@ya...> wrote:
> Hi,
>=20
> >>1) I see wxLua\src & wxLua\include are not listed in dirs.txt;=20
> >>should they be removed ?
> > Yes, but let's leave them for now since they still have one file in=20
> > them that Ray says he doesn't want, but it probably wouldn't hurt to
> > let it be for a bit.
> ok, no problem
>=20
>=20
> >>2) The targets which need to be built are:
> >>- modules\lua
> >>- modules\wxlua
> >>- modules\wxluadebug
> >>- modules\wxluasocket
> >
> > for modules/lua you need to build two things, lua.exe the lua=20
> > executable and lua.lib the library. lua should be built as a static=20
> > lib on all platforms, see the Makefiles and dsp files to see how=20
> > it's done.
> > Maybe you can take a look at these bakefiles to see if they'll work=20
> > for us http://lua-users.org/wiki/LuaAddons
> > http://www.geocities.com/f18m_cpp217828/prog/lua_win32.zip
> yes, they'll work for us since I created them and uploaded the links=20
> above in lua wiki & on my website ;-)
>=20
> >>Do they support shared (i.e. DLL) builds ?
> > Hopefully yes, I've never build wxWidgets as a DLL, but I copied the
> > code in the wxWidget's contrib and added WXDLLIMPEXP_WXLUA which=20
> > should export things properly. I have no idea about lua itself
though.
> ok, I'll try
>=20
>=20
> >>All the output should go to wxArt2d\lib, right ?
> > No? It goes to wxLua/lib for the libraries and lua.exe goes to=20
> > wxLua/bin this is a standalone library that anyone can use.
> oops; I just meant wxLua/lib & wxLua/bin... sorry
>=20
> >>Its output should go to wxArt2d\bin, right ?
> >
> > No, it should be built in either wxLua/bin or just=20
> > wxLua/apps/wxlua/src/vc_xxx for VC for example, in much the same way
> > wxWidgets builds it's samples.
> again I mistyped the path...
>=20
>=20
> >>4) in wxLua\bindings\wxwidgets there are some CPP & H files; should=20
> >>they be built as a library ?
> >>If yes, how should that lib be called ?
> >
> > No, for now they're included directly into the wrappers which is=20
> > probably the simplest solution for now. Thew whole wrapper thing is=20
> > going to change somehow...
> ok
>=20
> > Maybe we could put apps/wxlua/build into just apps/build to simplify
things.
> right, that makes things more simmetric :-)
>=20
> >>to build the project, the user should just go to wxlua\build\msw and
> >>type
> >>
> >>nmake -fmakefile.vc WX_UNICODE=3D0/1 WX_SHARED=3D0/1 ....
> >
> >
> > That would be great, maybe we could also have a dsw file as well,=20
> > see apps/wxlua/src/wxLua.dsw that can build all the libraries using=20
> > "batch build" just like wx.dsw.
> sure; exactly like wxWidgets also have DSW/DSP files.
>=20
> >>PS: I see that exists a file called luasetup.h in=20
> >>wxlua\bindings\wxwidgets; what is its use ? should it be generated=20
> >>by some tool/makefile ?
> > When you run bindings/wxluawrap.lua it takes either the=20
> > luasetup.h.in the bindings dir or in your own program's dir and=20
> > generates luasetup.h that may exclude other classes automatically
using their dependencies.
> > It can be updated by hand. Please see apps/wxlua/wrap.bat/lua and=20
> > Makefile_import to see how the wrappers are generated. It's build is
> > also automated in apps/wxlua/src/wxlua_wx26.dsp running wrap.bat to=20
> > generate wxluawrap.cpp, can bakefile do this sort of thing?
> yes, it can; I'll set up all this stuff when done with modules=20
> bakefile; first I'll create modules\build stuff...
>=20
> I'll let you know,
> Francesco
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you=20
> shotput a projector? How fast can you ride your desk chair down the
office luge track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 =
> _______________________________________________
> Wxlua-users mailing list
> Wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
shotput a projector? How fast can you ride your desk chair down the
office luge track?
If you want to score the big prize, get to know the little guy. =20
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Wxlua-users mailing list
Wxl...@li...
https://lists.sourceforge.net/lists/listinfo/wxlua-users
|