From: Ray G. <ray...@sc...> - 2005-06-15 06:03:32
|
Your right, I should have called it Debug DLL. I will change this to correctly show correct lib to use. You can add c:\wx\wxWindows\lib\vc_dll; to you system PATH. Windows will search path directory when loading dlls Or Put dlls in same directory as exe (When I eventually get a release I will do this) Ray -----Original Message----- From: wxl...@li... [mailto:wxl...@li...] On Behalf Of John Labenski Sent: Wednesday, 15 June 2005 13:38 To: wxl...@li... Subject: [Wxlua-users] wxIDE compilation (was bakefile) On 6/13/05, Ray Gilbert <ray...@sc...> wrote: > Last night I cvs to wxIDE the latest wxXmlRpc, DebuggerNub, cdLua=20 > files so you may want to update them as well. >=20 > I can now run cdLua.exe as an external process of wxStudio and debug=20 > the lua script. The debugger can show callstack, global and local variables. I'm still having a hard time compiling wxIDE using your "Debug" which I think is really Debug DLL, right? I compiled wxWidgets as Debug and Debug DLL (non unicode) and can compile a wxWidgets sample w/o problem though when I run it I get an error saying that it can't find the DLL, do I really have to copy them to my windows/system dir? I've never compiled wxWidgets as a DLL before, always static lib in MSW. I have the environment variable WXWIN set properly and use it for my own programs. I'm using VC6 on WinXP using build/msw/CodeDragon.dsw in Batch Build. Could you tell me exactly what settings you use to compile wxWidgets and wxIDE so I can try those? Here are some of the (hundreds of) errors I get C:\wxCVS\wxIDE\wxIDE\parts\thread\src\threadmanager.cpp(43): Could not find the file sys/time.h. c:\wxCVS\wxWidgets\include\wx\defs.h(2297): Could not find the file unistd.h. c:\wxCVS\wxWidgets\include\wx\wxchar.h(107): Could not find the file wcstr.h. c:\wxCVS\wxWidgets\include\wx\string.h(47): Could not find the file strings.h. c:\wxCVS\wxWidgets\include\wx\string.h(51): Could not find the file StringMgr.h. c:\wxCVS\wxWidgets\include\wx\utils.h(41): Could not find the file dirent.h. c:\wxCVS\wxWidgets\include\wx\utils.h(42): Could not find the file unistd.h. c:\wxCVS\wxWidgets\include\wx\platform.h(37): Could not find the file unistd.h. c:\wxCVS\wxWidgets\include\wx\platform.h(515): Could not find the file PalmOS.h. =20 They're bizarre, how the heck is it getting here?! WXPALMOS is defined nowhere as far as I can tell, not in $(WXWIN)/lib/vc_dll/mswd/include/wx/setup.h at least. Like I said I get no errors or warnings whatsoever compiling a wxWidget's sample. #ifdef __WXPALMOS__ # include <PalmOS.h> -- platform.h line 515 # undef Abs #endif > I am now working on a set of lua scripts to merge new wxWidget=20 > 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. Sounds good, but first... I found that none of the enums are being written to the wrapper.cpp files. I traced though genwxbind.lua the best I could and didn't see any difference between the "enum" handling and the "define" handling, but I haven't started to really debug it. I'm slowly merging them, I'll try to get it working by the end of the week, but I'd like to see what wxIDE looks like to get a better understanding of it. -John Labenski > -----Original Message----- > From: wxl...@li... > [mailto:wxl...@li...] On Behalf Of John=20 > Labenski > Sent: Tuesday, 14 June 2005 03:32 > To: wxl...@li... > Subject: Re: [Wxlua-users] Bakefile >=20 > Thanks for all your work. >=20 > I'm slowly merging wxIDE's cdlua's code and wrappers, but it's slow=20 > going. I hope to have it done be the end of the week and then everyone > can just use this version of wxLua. >=20 > Regards, > John Labenski >=20 > On 6/12/05, Francesco Montorsi <f18...@ya...> wrote: > > Hi, > > > > >>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=20 > > > in them that Ray says he doesn't want, but it probably wouldn't=20 > > > hurt to >=20 > > > let it be for a bit. > > ok, no problem > > > > > > >>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=20 > > > static lib on all platforms, see the Makefiles and dsp files to=20 > > > see how it's done. > > > Maybe you can take a look at these bakefiles to see if they'll=20 > > > work 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 > > above in lua wiki & on my website ;-) > > > > >>Do they support shared (i.e. DLL) builds ? > > > Hopefully yes, I've never build wxWidgets as a DLL, but I copied=20 > > > the >=20 > > > 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 > > > > > > >>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 > > > > >>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=20 > > > way >=20 > > > wxWidgets builds it's samples. > > again I mistyped the path... > > > > > > >>4) in wxLua\bindings\wxwidgets there are some CPP & H files;=20 > > >>should 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=20 > > > is going to change somehow... > > ok > > > > > Maybe we could put apps/wxlua/build into just apps/build to=20 > > > simplify > things. > > right, that makes things more simmetric :-) > > > > >>to build the project, the user should just go to wxlua\build\msw=20 > > >>and >=20 > > >>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=20 > > > using "batch build" just like wx.dsw. > > sure; exactly like wxWidgets also have DSW/DSP files. > > > > >>PS: I see that exists a file called luasetup.h in=20 > > >>wxlua\bindings\wxwidgets; what is its use ? should it be generated > > >>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=20 > > > is >=20 > > > also automated in apps/wxlua/src/wxlua_wx26.dsp running wrap.bat=20 > > > to 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... > > > > I'll let you know, > > Francesco > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. How far can=20 > > you shotput a projector? How fast can you ride your desk chair down=20 > > 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 > > >=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=20 > 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=20 > _______________________________________________ > Wxlua-users mailing list > Wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users >=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=20 > _______________________________________________ > Wxlua-users mailing list > Wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick _______________________________________________ Wxlua-users mailing list Wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users |