You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(60) |
Jul
(35) |
Aug
(32) |
Sep
(5) |
Oct
(5) |
Nov
(58) |
Dec
(34) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(114) |
Feb
(184) |
Mar
(153) |
Apr
(90) |
May
(153) |
Jun
(59) |
Jul
(24) |
Aug
(43) |
Sep
(17) |
Oct
(34) |
Nov
(11) |
Dec
(204) |
2007 |
Jan
(84) |
Feb
(119) |
Mar
(38) |
Apr
(28) |
May
(52) |
Jun
(105) |
Jul
(64) |
Aug
(67) |
Sep
(14) |
Oct
(3) |
Nov
(28) |
Dec
(55) |
2008 |
Jan
(228) |
Feb
(55) |
Mar
(30) |
Apr
(30) |
May
(15) |
Jun
(20) |
Jul
(12) |
Aug
(3) |
Sep
(13) |
Oct
(54) |
Nov
(35) |
Dec
(35) |
2009 |
Jan
(19) |
Feb
(20) |
Mar
(34) |
Apr
(4) |
May
(60) |
Jun
(25) |
Jul
(16) |
Aug
(51) |
Sep
(19) |
Oct
(62) |
Nov
(21) |
Dec
(12) |
2010 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(23) |
Jun
(13) |
Jul
(1) |
Aug
(40) |
Sep
(18) |
Oct
(21) |
Nov
(26) |
Dec
(34) |
2011 |
Jan
(17) |
Feb
(23) |
Mar
(1) |
Apr
(10) |
May
(1) |
Jun
(5) |
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(43) |
2012 |
Jan
(5) |
Feb
(19) |
Mar
(6) |
Apr
(24) |
May
(39) |
Jun
(83) |
Jul
(29) |
Aug
(36) |
Sep
(64) |
Oct
(55) |
Nov
(12) |
Dec
(7) |
2013 |
Jan
(17) |
Feb
(10) |
Mar
(37) |
Apr
(27) |
May
(13) |
Jun
(9) |
Jul
(7) |
Aug
(61) |
Sep
(23) |
Oct
(23) |
Nov
(30) |
Dec
(16) |
2014 |
Jan
(23) |
Feb
(13) |
Mar
(9) |
Apr
(17) |
May
(2) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(9) |
Oct
(24) |
Nov
(2) |
Dec
(14) |
2015 |
Jan
(6) |
Feb
(4) |
Mar
(17) |
Apr
|
May
(7) |
Jun
(3) |
Jul
|
Aug
|
Sep
(2) |
Oct
(21) |
Nov
(6) |
Dec
(2) |
2016 |
Jan
(4) |
Feb
(2) |
Mar
(7) |
Apr
(3) |
May
(11) |
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(4) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
(16) |
2
(10) |
3
(5) |
4
|
5
(1) |
6
(5) |
7
(3) |
8
(3) |
9
|
10
|
11
|
12
|
13
|
14
(2) |
15
(1) |
16
(5) |
17
(1) |
18
|
19
|
20
|
21
|
22
|
23
(1) |
24
(9) |
25
|
26
|
27
(1) |
28
(1) |
29
|
30
|
31
(3) |
|
From: Scott M. <bl...@bl...> - 2007-08-08 16:43:55
|
As per the subject, what's the safe way of passing a wxDC object into a wxLuaState? Scott |
From: Klaas H. <db...@nl...> - 2007-08-08 13:04:51
|
John Labenski wrote: > > You can copy makefile.vc to something else and remove the references > to wxmsw28d_gl.lib and $(__WXLIB_GL_NAME_p) for now. Right, i removed this in 2 makefile.vc files (modules/build,apps/buils), and after that i could build. Thanks, Klaas -- Unclassified |
From: Attila <ejj...@gm...> - 2007-08-07 13:59:53
|
I want shutdown function because I want to make an internet-checker: if connection is down (resolving a domain isn't ok), it's re-dial it, or restart the computer, and after x restart, turn it off. I've write it in VB.NET, but this LUA-AIO is much better because it don't except frameworks, and works in every windows version. Thank you for your works, and the fast reply ;) |
From: John L. <jla...@gm...> - 2007-08-07 13:51:17
|
On 8/7/07, Attila <ejj...@gm...> wrote: > Hi all, I need a little help again. Now the LUA A-I-O developers updated > the wx lib to the newest, so I downloaded it, and rewrite some changes in > my app. I saw, wx.wxNull became wx.NULL, but what happened with > wx.wxGetBaseApp:MainLoop()? wx.wxGetBaseApp returned me as nil, so it > renamed maybe too. What' the new name, or what code should I use? wx.wxGetApp() The rule of thumb is that almost all functions now use the C++ function name. I've tried to remove all of the inconsistencies so that the C++ wxWidgets documentation can be used. Please see here for some documentation. http://www.wxwidgets.org/manuals/stable/wx_contents.html http://wxlua.cvs.sourceforge.net/wxlua/wxLua/docs/changelog.txt?view=markup http://wxlua.sourceforge.net/documentation.php Especially this: http://wxlua.sourceforge.net/docs/wxluaref.html > Another problem, I want to find a running program in my program, I think > FindWindowByLabel() is what I should use, but I don't know how. I know the > program's exe name, and I know four characters, which is in it's label, > the other letters are changing. Is that possible to find it, and maybe > send a 'kill sign' to it? FindWindowByLabel() will find a wxWindow in the current application, not a process. See here for a list of the process functions that wxWidgets has. http://wxlua.sourceforge.net/docs/wxluaref.html#wxProcess > My third 'problem' (maybe just question): Is that possible to restart the > computer with wxLUA? For some reason I decided to not wrap that, probably for "safety". It will be available in the next version as the function wx.wxShutdown(flags). > Last question: Can I get somehow the current CPU usage? I do not believe that wxWidgets wraps anything that can do that, but if it does and we haven't already added it we can. Let me know. Hope this helps, John Labenski |
From: Attila <ejj...@gm...> - 2007-08-07 13:07:07
|
Hi all, I need a little help again. Now the LUA A-I-O developers updated the wx lib to the newest, so I downloaded it, and rewrite some changes in my app. I saw, wx.wxNull became wx.NULL, but what happened with wx.wxGetBaseApp:MainLoop()? wx.wxGetBaseApp returned me as nil, so it renamed maybe too. What' the new name, or what code should I use? Another problem, I want to find a running program in my program, I think FindWindowByLabel() is what I should use, but I don't know how. I know the program's exe name, and I know four characters, which is in it's label, the other letters are changing. Is that possible to find it, and maybe send a 'kill sign' to it? My third 'problem' (maybe just question): Is that possible to restart the computer with wxLUA? Last question: Can I get somehow the current CPU usage? Thanks for the answers :) |
From: John L. <jla...@gm...> - 2007-08-06 22:14:17
|
On 8/6/07, klaas.holwerda <ng...@kl...> wrote: > Hi, > > With a new CVS checkout on windows XP, wxLua compilation (nmake -f > makefile.v), > needs wxmsw28d_gl.lib is required. > But it is not compiled by default by wxWidgets2.8.4. > So i think it is better to disable it in wxLua by default. > > Or else what should it do? I haven't had a chance to look at how to get the linker conditions to work using bakefile. I agree that it should be off by default if that's the way wxWidgets is. You can copy makefile.vc to something else and remove the references to wxmsw28d_gl.lib and $(__WXLIB_GL_NAME_p) for now. Regards, John Labenski |
From: John L. <jla...@gm...> - 2007-08-06 22:08:43
|
On 8/6/07, klaas.holwerda <ng...@kl...> wrote: > John Labenski wrote: > > > > You used to have to generate those using the Makefile in the bindings > > dir. You can now use the bindings/wx_datatypes.lua file in the rules > > file variable datatype_cache_input_fileTable. See below. > > The sample works fine for me. What is the problem? > > > lua -e"rulesFilename=\"wxluacan_rules.lua\"" ../../../bindings/genwxbind.lua > gives errors (see down here). See below. > I tried genwxbind.sh ( contains wxlua-lua which is not found, so i > changed it to ../bin/wxlua ), but also errors. I've removed it, use $make in the bindings dir instead. > And it looks like on windows i also get error, but did not manage to > compile it yet missing this opengl lib. > But if i run genwxbind.bat, there is a similar error at the end. (the > find down here). This should probably go too, but I may fix it instead. > So i wonder if you can run the regeneration scripts from the bindings on > windows and unix without a problem? I use $make and use Cygwin in MSW. > Loaded rules file: wxluacan_rules.lua > ERROR: Unable to load datatypes cache file: > ../../../bindings/wxwidgets/wxcore_datatypes.lua You need to update the CVS since wxluacan_rules.lua does not use this cache file anymore, see the response I gave at the top of this email. Hopefully after your update it'll work. John Labenski |
From: klaas.holwerda <ng...@kl...> - 2007-08-06 21:57:35
|
John Labenski wrote: > > You used to have to generate those using the Makefile in the bindings > dir. You can now use the bindings/wx_datatypes.lua file in the rules > file variable datatype_cache_input_fileTable. > > >> I would appreciate if you can fix that sample? >> > > The sample works fine for me. What is the problem? > lua -e"rulesFilename=\"wxluacan_rules.lua\"" ../../../bindings/genwxbind.lua gives errors (see down here). I tried genwxbind.sh ( contains wxlua-lua which is not found, so i changed it to ../bin/wxlua ), but also errors. And it looks like on windows i also get error, but did not manage to compile it yet missing this opengl lib. But if i run genwxbind.bat, there is a similar error at the end. (the find down here). So i wonder if you can run the regeneration scripts from the bindings on windows and unix without a problem? Klaas Loaded rules file: wxluacan_rules.lua ERROR: Unable to load datatypes cache file: ../../../bindings/wxwidgets/wxcore_datatypes.lua Timing: BuildDataTypeTable 0 seconds. ERROR: Expected Parameter '=', ')', or ',' got Tag='&'. (Name=wxPen; DataType=nil) File: './wxluacan.i':(line 12) ' void SetPen( const wxPen& pen )' ERROR: Expected Parameter '=', ')', or ',' got Tag='pen'. (Name=wxPen; DataType=nil) File: './wxluacan.i':(line 12) ' void SetPen( const wxPen& pen )' ERROR: Expected Parameter '=', ')', or ',' got Tag='&'. (Name=wxBrush; DataType=nil) File: './wxluacan.i':(line 13) ' void SetBrush( const wxBrush& brush )' ERROR: Expected Parameter '=', ')', or ',' got Tag='brush'. (Name=wxBrush; DataType=nil) File: './wxluacan.i':(line 13) ' void SetBrush( const wxBrush& brush )' ERROR: Expected Parameter '=', ')', or ',' got Tag='*'. (Name=wxWindow; DataType=nil) File: './wxluacan.i':(line 36) ' wxlCan( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize )' ERROR: Expected Parameter '=', ')', or ',' got Tag='parent'. (Name=wxWindow; DataType=nil) File: './wxluacan.i':(line 36) ' wxlCan( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize )' ERROR: Method Parameter requires DataType to be assigned. File: './wxluacan.i':(line 36) ' wxlCan( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize )' ERROR: Expected Parameter '=', ')', or ',' got Tag='&'. (Name=wxPoint; DataType=nil) File: './wxluacan.i':(line 36) ' wxlCan( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize )' ERROR: Expected Parameter '=', ')', or ',' got Tag='pos'. (Name=wxPoint; DataType=nil) File: './wxluacan.i':(line 36) ' wxlCan( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize )' ERROR: Method Parameter requires DataType to be assigned. File: './wxluacan.i':(line 36) ' wxlCan( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize )' ERROR: Expected Parameter '=', ')', or ',' got Tag='&'. (Name=wxSize; DataType=nil) File: './wxluacan.i':(line 36) ' wxlCan( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize )' ERROR: Expected Parameter '=', ')', or ',' got Tag='size'. (Name=wxSize; DataType=nil) File: './wxluacan.i':(line 36) ' wxlCan( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize )' Timing: ParseData 0 seconds. lua: ../../../bindings/genwxbind.lua:3065: bad argument #1 to 'find' (string expected, got nil) stack traceback: [C]: in function 'find' ../../../bindings/genwxbind.lua:3065: in function 'GenerateLuaLanguageBinding' ../../../bindings/genwxbind.lua:1475: in function 'WriteWrapperFiles' ../../../bindings/genwxbind.lua:4899: in function 'main' ../../../bindings/genwxbind.lua:4917: in main chunk [C]: ? |
From: klaas.holwerda <ng...@kl...> - 2007-08-06 21:27:32
|
Hi, With a new CVS checkout on windows XP, wxLua compilation (nmake -f makefile.v), needs wxmsw28d_gl.lib is required. But it is not compiled by default by wxWidgets2.8.4. So i think it is better to disable it in wxLua by default. Or else what should it do? Klaas |
From: John L. <jla...@gm...> - 2007-08-06 02:01:37
|
On 8/5/07, klaas.holwerda <ng...@kl...> wrote: > Hi John, > > It looks like my bindings stopped working, i more or less expected that > after all changes ;-) The most recent changes are just linking and initialization. See modules/wxbind/wxbinddefs.h for a list of all of the wxLuaBinding_wxXXX_init() functions for wxWidgets. The bindings have been broken up into libs that match up with the wxWidgets libraries. > So i started from wxluacan to see how to do it these days. > But also there i get errors. First one not being able to load > wxcore_datatypes.lua. You used to have to generate those using the Makefile in the bindings dir. You can now use the bindings/wx_datatypes.lua file in the rules file variable datatype_cache_input_fileTable. > I would appreciate if you can fix that sample? The sample works fine for me. What is the problem? > If that one is working again, i think i can manage my own too. Let me know if something doesn't make sense. Regards, John Labenski |
From: klaas.holwerda <ng...@kl...> - 2007-08-05 19:28:00
|
Hi John, It looks like my bindings stopped working, i more or less expected that after all changes ;-) So i started from wxluacan to see how to do it these days. But also there i get errors. First one not being able to load wxcore_datatypes.lua. I would appreciate if you can fix that sample? If that one is working again, i think i can manage my own too. Thanks in advance, Klaas |
From: Andre <ar...@ki...> - 2007-08-03 09:29:16
|
> > ps. Andre - your editor looks very good. It is a heck of a test of > wxLua with all the UPDATEUI and IDLE events. :) Please keep us > updated with your progress. > IT'S WORKING!!! Thanks for the comment. Thank you for all your efforts. I am just amazed at the among of great efforts you are putting into this project. Actually the really twisted part of the editor is the extended use of posted events within posted events. Thanks Andre ================================================ A few neat things. Start the editor enter xyz: selecting wx will allow you to use any class already used your program, selecting wx* will let you use any class from wx. Select some class and some method. Typing xyz: or xyz. again will allow you to use a method or a property from the binded class. Notice if you select a method the parameters are displayed in the status bar. (Binding strike again) right click on the page and select 'remove binding' and you can remove the binding for xyz. If you do not remove the binding then the next time this file is used xyx binding is remembered. ---------------------- If you float over the tab you get the file path Right click on a tab works. Use F7 and you can record a keyboard macro. F8 is used to play it back. Even search are supported withing macro. Search and replaced have been extended and supports book mark. ------------------ This is the default editor (Lua get a special treatment). ----------- many more files are needed to support the full editor. A sub directory is used to support all the languages supported by scite. Macro completion for (if, for, while..) are supported in the property file. Another sub directory is used to support Tools (lua macros). ex: Sort ........................... I keep thinking of new features all the time. Only one more ^_^ |
From: Ryan P. <rpu...@gm...> - 2007-08-03 03:22:57
|
On 8/2/07, John Labenski <jla...@gm...> wrote: > I am not sure how to do this, I can try some things though. Are you > familiar with Bakefile? I looked at them and cringed. I am not that good with them. I use a different build file generator, for my projects, so I won't be of any help. Sorry. -- Regards, Ryan RJP Computing |
From: John L. <jla...@gm...> - 2007-08-03 03:00:01
|
ps. Andre - your editor looks very good. It is a heck of a test of wxLua with all the UPDATEUI and IDLE events. :) Please keep us updated with your progress. Thanks, John On 8/2/07, John Labenski <jla...@gm...> wrote: > I have checked in a fix for it. For reference it can be duplicated > with the code below. It was a tough problem to track down and it is > still not clear to me why it happens on with wxPostEvent with the > constraints that you have to Connect to the event that was posted and > not for other cases I tried. The scenario below follows from tracking > the memory of objects pushed into Lua. > > The problem was with the event pushed into Lua for the > wxLuaCallback::CallFunction() event handler. Since we didn't create > it, actually it's on the C++ stack not the heap, it gets deleted when > it goes out of scope in C++ and the memory for it can be reused. Since > Lua has an incremental garbage collector it doesn't call the __gc > method soon enough to clear the key in the object table. Therefore a > new object that by chance was created with the same memory address > would be found in the object table and the old userdata was pushed > into Lua as whatever type it was. > > Thanks for reporting it. > John Labenski > > ============================= > > frame = nil > > function HandleEvents(event) > local name = event:GetEventObject():DynamicCast("wxWindow"):GetName() > frame:SetStatusText(string.format("%s - selected item %d '%s'", > name, event:GetSelection(), event:GetString()), 0) > > local e = wx.wxCommandEvent(wx.wxEVT_COMMAND_BUTTON_CLICKED, 10) > wx.wxPostEvent(frame, e) > end > > function main() > frame = wx.wxFrame(wx.NULL, wx.wxID_ANY, "wxLua Choices", > wx.wxDefaultPosition, wx.wxSize(550, 350)) > frame:CreateStatusBar(1) > > frame:Connect(wx.wxEVT_COMMAND_BUTTON_CLICKED, function(event) > print("hi") end) > > local notebook = wx.wxNotebook(frame, wx.wxID_ANY, > wx.wxDefaultPosition, wx.wxSize(410, 300)) > --wx.wxNB_BOTTOM) > > notebook:AddPage(wx.wxPanel(notebook, wx.wxID_ANY), "Page1") > notebook:AddPage(wx.wxPanel(notebook, wx.wxID_ANY), "Page2") > notebook:AddPage(wx.wxPanel(notebook, wx.wxID_ANY), "Page3") > > frame:Connect(wx.wxID_ANY, wx.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, > HandleEvents) > > frame:Show(true) > end > > main() > > ========================= > |
From: John L. <jla...@gm...> - 2007-08-03 02:53:16
|
On 8/2/07, Ryan Pusztai <rpu...@gm...> wrote: > OK I did more investigation and the problem is that the BakeFiles need to > have added a check for the "wxbindgl" library. Right now they are ALWAYS > tring to link to it. No matter if you change the wxluasetup.h of what you > pass to the make file as an option. Can this be changed? Shouldn't this be > changed? I am under the assumption that you thought it could be changed as > well. > > The switch that should be checked inside the 'apps\build\msw\makefile' is > the USE_WXBINDGL. It is already defined in other makefiles, just not ever > checked. I am not sure how to do this, I can try some things though. Are you familiar with Bakefile? Regards, John Labenski |
From: John L. <jla...@gm...> - 2007-08-03 02:03:08
|
I have checked in a fix for it. For reference it can be duplicated with the code below. It was a tough problem to track down and it is still not clear to me why it happens on with wxPostEvent with the constraints that you have to Connect to the event that was posted and not for other cases I tried. The scenario below follows from tracking the memory of objects pushed into Lua. The problem was with the event pushed into Lua for the wxLuaCallback::CallFunction() event handler. Since we didn't create it, actually it's on the C++ stack not the heap, it gets deleted when it goes out of scope in C++ and the memory for it can be reused. Since Lua has an incremental garbage collector it doesn't call the __gc method soon enough to clear the key in the object table. Therefore a new object that by chance was created with the same memory address would be found in the object table and the old userdata was pushed into Lua as whatever type it was. Thanks for reporting it. John Labenski ============================= frame = nil function HandleEvents(event) local name = event:GetEventObject():DynamicCast("wxWindow"):GetName() frame:SetStatusText(string.format("%s - selected item %d '%s'", name, event:GetSelection(), event:GetString()), 0) local e = wx.wxCommandEvent(wx.wxEVT_COMMAND_BUTTON_CLICKED, 10) wx.wxPostEvent(frame, e) end function main() frame = wx.wxFrame(wx.NULL, wx.wxID_ANY, "wxLua Choices", wx.wxDefaultPosition, wx.wxSize(550, 350)) frame:CreateStatusBar(1) frame:Connect(wx.wxEVT_COMMAND_BUTTON_CLICKED, function(event) print("hi") end) local notebook = wx.wxNotebook(frame, wx.wxID_ANY, wx.wxDefaultPosition, wx.wxSize(410, 300)) --wx.wxNB_BOTTOM) notebook:AddPage(wx.wxPanel(notebook, wx.wxID_ANY), "Page1") notebook:AddPage(wx.wxPanel(notebook, wx.wxID_ANY), "Page2") notebook:AddPage(wx.wxPanel(notebook, wx.wxID_ANY), "Page3") frame:Connect(wx.wxID_ANY, wx.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, HandleEvents) frame:Show(true) end main() ========================= |
From: Ryan P. <rpu...@gm...> - 2007-08-02 16:05:38
|
OK I did more investigation and the problem is that the BakeFiles need to have added a check for the "wxbindgl" library. Right now they are ALWAYS tring to link to it. No matter if you change the wxluasetup.h of what you pass to the make file as an option. Can this be changed? Shouldn't this be changed? I am under the assumption that you thought it could be changed as well. The switch that should be checked inside the 'apps\build\msw\makefile' is the USE_WXBINDGL. It is already defined in other makefiles, just not ever checked. -- Regards, Ryan RJP Computing |
From: Andre <ar...@ki...> - 2007-08-02 15:54:27
|
> Could you send me your program and the steps to take to make it fail? > On my computer I start getting errors on the console within 10 key strokes. Andre |
From: Ryan P. <rpu...@gm...> - 2007-08-02 15:06:56
|
On 8/2/07, John Labenski <jla...@gm...> wrote: > > Ahh, I bet it's due to the monolithic build, I always use multilib. > I'm not sure what the difference (advantage?) is or even what gets put > into the monolithic build. I built first with the multi lib build. It does the same thing. > > Do you think it is odd that it doesn't link against opengl32.a and > glu32.a? > > Is there a way to build wxLua without OpenGL support? I don't need it. > I > > just want to build. Did you notice my comment about needing to link to opengl32.a and glu32.alibraries? Do you think it has anything to do with it? Then just set wxUSE_OPENGL 0 and wxUSE_GLCANVAS 0. I don't fully > understand what wxUSE_OPENGL is for (appears only in Linux version of > wxWidgets as far as I can tell) as it is not used in any header. wxLua > checks for wxUSE_GLCANVAS since that's used in the wxWidgets > glcanvas.h header. You also have to remove the linker command > -lwxlua_msw28_wxbindgl since I don't think we can be clever enough to > put a check in the makefile.gcc. wxUSE_OPENGL is not in the setup.h file on Windows. Another option is to set wxLUA_USE_wxGLCanvas 0 in > modules/wxbind/setup/wxluasetup.h and none of the gl code will be > compiled. This is probably the easiest way. I will try this. Could you tell me what libs are in your wxWidgets/lib dir? As I am > unfamiliar with the monolithic build, I'd be interested to know what > gets output using the command you have above for wxWidgets. I build wxWidgets in all forms (+-Unicode, +-Monolithic, dll, lib) so my directory is full of all available library types. I will switch back to the multi-lib builds so we have a common setup. You give access to switching the GL support on and off in wxLua's makefiles. The flag is USE_WXBINDGL, so I tried that too. It didn't work. I think this is a bug. If you impliment this flag fully you won't/shouldn't need to modify the 'modules/wxbind/setup/wxluasetup.h'. -- Regards, Ryan RJP Computing |
From: Andre <ar...@ki...> - 2007-08-02 15:05:54
|
John Labenski <jlabenski@...> writes: > > Yeah, that's what I use. Specifically, I use the wxWidgets-2.8.4.zip > release, MSVC6 with service pack 5 installed (IMPORTANT!), compiled in > ANSI release mode (do you use unicode?). > I use wxWidgets-2.8.4.tar.gz which should be the same Andre |
From: Andre <ar...@ki...> - 2007-08-02 14:47:25
|
> > Yeah, that's what I use. Specifically, I use the wxWidgets-2.8.4.zip > release, MSVC6 with service pack 5 installed (IMPORTANT!), compiled in > ANSI release mode (do you use unicode?). this is the exact statement used to make the program nmake -f makefile.vc USE_OPENGL=1 no unicode just default except for opengl which is required all the makefile where run this way > > Could you send me your program and the steps to take to make it fail? > posted at sourceforge Thank you Andre |
From: SourceForge.net <no...@so...> - 2007-08-02 14:43:35
|
Bugs item #1766228, was opened at 2007-08-02 10:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=1766228&group_id=140042 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andre Arpin (andrearpin) Assigned to: Nobody/Anonymous (nobody) Summary: file requested by John Initial Comment: move this file to samples execute: wxlua.exe /c lunedit.wx.lua go to the end of file start typing ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=1766228&group_id=140042 |
From: John L. <jla...@gm...> - 2007-08-02 14:37:31
|
On 8/2/07, Ryan Pusztai <rpu...@gm...> wrote: > Wow I still can't build. > > Here is the command I use to start the build of wxLua from both the > 'apps\build\msw' and 'build\msw' directories: > > > mingw32-make.exe -f makefile.gcc BUILD=release WX_MONOLITHIC=1 Ahh, I bet it's due to the monolithic build, I always use multilib. I'm not sure what the difference (advantage?) is or even what gets put into the monolithic build. > Here is the error I get: > > > > g++ -o ..\..\..\bin\gcc_lib\wxlua.exe gccmsw\app_wxlua_lconsole.o > gccmsw\app_wxlua_wxlua.o gccmsw\app_wxlua_wxlua_rc.o > > -mthreads -LD:\devel\Libraries\wxWidgets2.8\lib\gcc_lib > -L..\..\..\lib\gcc_lib -L..\..\..\modules\lua\lib -Wl,--subsys > > tem,windows -mwindows -lwxlua_msw28_wxluasocket -lwxlua_msw28_wxluadebug > -lwxlua_msw28_wxbindadv -lwxlua_msw28_wxbinda > > ui -lwxlua_msw28_wxbindbase -lwxlua_msw28_wxbindcore > -lwxlua_msw28_wxbindgl -lwxlua_msw28_wxbindhtml -lwxlua_msw28_wxbin > > dmedia -lwxlua_msw28_wxbindnet -lwxlua_msw28_wxbindstc > -lwxlua_msw28_wxbindxml -lwxlua_msw28_wxbindxrc -lwxlua_msw28_wxl > > ua -llua5.1 -lwxmsw28_stc -lwxmsw28 -lwxtiff -lwxjpeg -lwxpng > -lwxzlib -lwxregex -lwxexpat -lkernel32 -luser32 > > -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 > -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodb > > c32 > > > ..\..\..\lib\gcc_lib/libwxlua_msw28_wxbindgl.a(wxbindgl_lib_wxgl_bind.o):wxgl_bind.cpp:(.data+0x12c): > undefined referenc > > e to `wxGLCanvas::ms_classInfo' > > > ..\..\..\lib\gcc_lib/libwxlua_msw28_wxbindgl.a(wxbindgl_lib_wxgl_bind.o):wxgl_bind.cpp:(.data+0x150): > undefined referenc > > e to `wxGLContext::ms_classInfo' > > > > <snip> > > > > Here is a chunk of my setup.s to prove that I built wxWidgets with GL > support: > > > > // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have > OpenGL > > // headers and libraries to be able to compile the library with > wxUSE_GLCANVAS > > // set to 1. Note that for some compilers (notably Microsoft Visual C++) > you > > // will need to manually add opengl32.lib and glu32.lib to the list of > > // libraries linked with your program if you use OpenGL. > > // > > // Default is 0. > > // > > // Recommended setting: 1 if you intend to use OpenGL, 0 otherwise > > #define wxUSE_GLCANVAS 1 > > > > Here is the command line I use to build wxWidgets: > > > mingw32-make.exe -f makefile.gcc BUILD=release MONOLITHIC=1 SHARED=0 > OFFICIAL_BUILD=1 RUNTIME_LIBS=static USE_ODBC=1 USE_OPENGL=1 USE_QA=1 > > > > Do you think it is odd that it doesn't link against opengl32.a and glu32.a? > Is there a way to build wxLua without OpenGL support? I don't need it. I > just want to build. Then just set wxUSE_OPENGL 0 and wxUSE_GLCANVAS 0. I don't fully understand what wxUSE_OPENGL is for (appears only in Linux version of wxWidgets as far as I can tell) as it is not used in any header. wxLua checks for wxUSE_GLCANVAS since that's used in the wxWidgets glcanvas.h header. You also have to remove the linker command -lwxlua_msw28_wxbindgl since I don't think we can be clever enough to put a check in the makefile.gcc. Another option is to set wxLUA_USE_wxGLCanvas 0 in modules/wxbind/setup/wxluasetup.h and none of the gl code will be compiled. This is probably the easiest way. Could you tell me what libs are in your wxWidgets/lib dir? As I am unfamiliar with the monolithic build, I'd be interested to know what gets output using the command you have above for wxWidgets. Thanks, John Labenski |
From: John L. <jla...@gm...> - 2007-08-02 13:48:05
|
On 8/2/07, Andre <ar...@ki...> wrote: > John Labenski <jlabenski@...> writes: > > > > > On 8/1/07, Andre <arpin@...> wrote: > > > John Labenski <jlabenski <at> ...> writes: > > > > Ok, that's the current CVS. Hopefully you'll get the same results with > that. > > > I do not, I am sorry but something is wrong > > I re-install version 6 of the compiler > > > I got a fresh version of wxlua one hour ago (deleted the old one first) > re-install wxwidget from the zip file for version 2.8 and made no changes > nmake -f makefile.vc USE_OPENGL=1 (using version 6) > > wxwidget, stc, wxlua and run my program it fail > copy your executable and it works > > is cvs right? Yeah, that's what I use. Specifically, I use the wxWidgets-2.8.4.zip release, MSVC6 with service pack 5 installed (IMPORTANT!), compiled in ANSI release mode (do you use unicode?). Could you send me your program and the steps to take to make it fail? Thanks, John Labenski |
From: Ryan P. <rpu...@gm...> - 2007-08-02 12:56:44
|
Wow I still can't build. Here is the command I use to start the build of wxLua from both the 'apps\build\msw' and 'build\msw' directories: mingw32-make.exe -f makefile.gcc BUILD=release WX_MONOLITHIC=1 > Here is the error I get: g++ -o ..\..\..\bin\gcc_lib\wxlua.exe gccmsw\app_wxlua_lconsole.o > gccmsw\app_wxlua_wxlua.o gccmsw\app_wxlua_wxlua_rc.o > -mthreads -LD:\devel\Libraries\wxWidgets2.8\lib\gcc_lib > -L..\..\..\lib\gcc_lib -L..\..\..\modules\lua\lib -Wl,--subsys > tem,windows -mwindows -lwxlua_msw28_wxluasocket -lwxlua_msw28_wxluadebug > -lwxlua_msw28_wxbindadv -lwxlua_msw28_wxbinda > ui -lwxlua_msw28_wxbindbase -lwxlua_msw28_wxbindcore > -lwxlua_msw28_wxbindgl -lwxlua_msw28_wxbindhtml -lwxlua_msw28_wxbin > dmedia -lwxlua_msw28_wxbindnet -lwxlua_msw28_wxbindstc > -lwxlua_msw28_wxbindxml -lwxlua_msw28_wxbindxrc -lwxlua_msw28_wxl > ua -llua5.1 -lwxmsw28_stc -lwxmsw28 -lwxtiff -lwxjpeg -lwxpng > -lwxzlib -lwxregex -lwxexpat -lkernel32 -luser32 > -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 > -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodb > c32 > ..\..\..\lib\gcc_lib/libwxlua_msw28_wxbindgl.a(wxbindgl_lib_wxgl_bind.o):wxgl_bind.cpp:(.data+0x12c): > undefined referenc > e to `wxGLCanvas::ms_classInfo' > ..\..\..\lib\gcc_lib/libwxlua_msw28_wxbindgl.a(wxbindgl_lib_wxgl_bind.o):wxgl_bind.cpp:(.data+0x150): > undefined referenc > e to `wxGLContext::ms_classInfo' > <snip> > Here is a chunk of my setup.s to prove that I built wxWidgets with GL support: // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have > OpenGL > // headers and libraries to be able to compile the library with > wxUSE_GLCANVAS > // set to 1. Note that for some compilers (notably Microsoft Visual C++) > you > // will need to manually add opengl32.lib and glu32.lib to the list of > // libraries linked with your program if you use OpenGL. > // > // Default is 0. > // > // Recommended setting: 1 if you intend to use OpenGL, 0 otherwise > #define wxUSE_GLCANVAS 1 > Here is the command line I use to build wxWidgets: mingw32-make.exe -f makefile.gcc BUILD=release MONOLITHIC=1 SHARED=0 > OFFICIAL_BUILD=1 RUNTIME_LIBS=static USE_ODBC=1 USE_OPENGL=1 USE_QA=1 > Do you think it is odd that it doesn't link against opengl32.a and glu32.a? Is there a way to build wxLua without OpenGL support? I don't need it. I just want to build. -- Regards, Ryan RJP Computing |