SourceForge logo
SourceForge logo
Menu

wxlua-users — wxLua list for users and developers

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
2
3
4
5
6
7
8
9
10
11
(2)
12
(1)
13
(2)
14
15
16
(3)
17
(2)
18
(1)
19
(2)
20
(5)
21
(1)
22
(1)
23
24
(2)
25
(3)
26
(9)
27
(4)
28
(4)
29
(1)
30
31

Showing 4 results of 4

From: John L. <jla...@gm...> - 2011年12月27日 16:33:35
It sounds like your wxWidgets build is incomplete for the media control.
Did you build it yourself? You'll need to rebuild it, but take note of the
warnings during the configure stage and install the devel libaries for
gstreamer until configure says that nothing is missing. You may need
libcairo for wxgcdc.
The wxlua app should build is wxluafreeze built. Running $wxluafreeze
editor.wx.lua is the same as running wxlua.
Again, I am w/o a computer or time for this week...
John
On Dec 27, 2011 5:23 AM, "Milind Gupta" <mil...@gm...> wrote:
> Ok,
> Was finally able to run wxlua applications. They seem to be running
> but the media.wx.lua does not run. Gives the error:
>
> lua: media.wx.lua:131: attempt to call field 'wxMediaCtrl' (a nil value)
> stack traceback:
> media.wx.lua:131: in function 'main'
> media.wx.lua:305: in main chunk
> [C]: ?
>
>
> Don't know why that is the case. Also don't have the wxlua executable
> anywhere. I only see wxluacan and wxluafreeze. I did skip the wxstedit
> compilation, maybe that prevented wxlua creation? Trying wxstedit
> compilation now but it just won't compile. First there were include files
> it could not find now I get this error on running make:
>
> g++ -o ../samples/stedit/wxstedit wxstedit_wxstedit.o -L../lib -L../lib
> -lwxcode_gtk2u_stedit-2.8 -L/usr/local/lib -pthread -lwx_gtk2u_stc-2.8
> -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu-2.8
> /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libwx_gtk2u_stc-2.8.so:
> undefined reference to `wxGCDC::wxGCDC(wxWindowDC const&)@WXU_2.8'
> /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libwx_gtk2u_stc-2.8.so:
> undefined reference to `wxGCDC::SetPen(wxPen const&)@WXU_2.8'
> /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libwx_gtk2u_stc-2.8.so:
> undefined reference to `wxGCDC::~wxGCDC()@WXU_2.8'
> /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libwx_gtk2u_stc-2.8.so:
> undefined reference to `wxGCDC::SetBrush(wxBrush const&)@WXU_2.8'
> collect2: ld returned 1 exit status
> make: *** [../samples/stedit/wxstedit] Error 1
>
>
> Any tips on how to get wxlua IDE? Thats the main thing I want to get.
>
> Thanks,
> Milind
>
> On Mon, Dec 26, 2011 at 11:01 AM, Milind Gupta <mil...@gm...>wrote:
>
>> Hi John,
>> Thank you very much for your reply.t worked after that
>> and so did make install. But now when I try the example on the wxLua
>> website:
>>
>> require("wx")
>> frame = wx.wxFrame(wx.NULL, wx.wxID_ANY, "wxLua Minimal Demo",
>> wx.wxDefaultPosition, wx.wxSize(450, 450),
>> wx.wxDEFAULT_FRAME_STYLE)
>>
>> -- create a simple file menu
>> local fileMenu = wx.wxMenu()
>> fileMenu:Append(wx.wxID_EXIT, "E&xit", "Quit the program")
>> -- create a simple help menu
>> local helpMenu = wx.wxMenu()
>> helpMenu:Append(wx.wxID_ABOUT, "&About",
>> "About the wxLua Minimal Application")
>>
>> -- create a menu bar and append the file and help menus
>> local menuBar = wx.wxMenuBar()
>> menuBar:Append(fileMenu, "&File")
>> menuBar:Append(helpMenu, "&Help")
>> -- attach the menu bar into the frame
>> frame:SetMenuBar(menuBar)
>>
>> -- create a simple status bar
>> frame:CreateStatusBar(1)
>> frame:SetStatusText("Welcome to wxLua.")
>>
>> -- connect the selection event of the exit menu item to an
>> -- event handler that closes the window
>> frame:Connect(wx.wxID_EXIT, wx.wxEVT_COMMAND_MENU_SELECTED,
>> function (event) frame:Close(true) end )
>> -- connect the selection event of the about menu item
>> frame:Connect(wx.wxID_ABOUT, wx.wxEVT_COMMAND_MENU_SELECTED,
>> function (event)
>> wx.wxMessageBox('This is the "About" dialog of the Minimal
>> wxLua sample.',
>> "About wxLua",
>> wx.wxOK + wx.wxICON_INFORMATION,
>> frame)
>> end )
>>
>> -- finally, show the frame window
>> frame:Show(true)
>>
>>
>>
>>
>> I get these messages and nothing happens:
>>
>> (lua5.1:11526): Gtk-WARNING **: Unable to locate theme engine in
>> module_path: "pixmap",
>>
>> (lua5.1:11526): Gtk-WARNING **: Unable to locate theme engine in
>> module_path: "pixmap",
>>
>> (lua5.1:11526): Gtk-WARNING **: Unable to locate theme engine in
>> module_path: "pixmap",
>>
>> (lua5.1:11526): Gtk-WARNING **: Unable to locate theme engine in
>> module_path: "pixmap",
>>
>>
>> I am not sure what is wrong. Any help would be really appreciated.
>> Another thing is that when I type wxlua on the prompt it says command not
>> found. How do I run the integrated IDE provided by wxlua?
>>
>> Thanks,
>> Milind
>>
>>
>> Date: 2011年12月26日 08:53:56 -0500
>> From: John Labenski <jla...@gm...>
>> Subject: Re: [wxlua-users] cannot make wxlua on Ubuntu
>> To: wxl...@li...
>> Message-ID:
>> <
>> CAA...@ma...>
>> Content-Type: text/plain; charset="windows-1252"
>>
>> As a temporary measure, if you don't plan on using a wxImageHistogram, you
>> can rem out the contents of that funtion and have it return 0. I'll look
>> into it in the new year.
>>
>> Regards,
>> John
>>
>> On Dec 26, 2011 3:34 AM, "Milind Gupta" <mil...@gm...> wrote:
>>
>> > Hi,
>> > When I make wxLua by following the installtion
>> instructions I
>> > get the following error:
>> >
>> > make
>> > (cd ./modules/ && make )
>> > make[1]: Entering directory `/home/aryajur/Downloads/wxLua/modules'
>> > /home/aryajur/Downloads/wxLua/bk-deps g++ -c -o
>> > wxbindcore_dll_wxcore_image.o -I.pch/wxprec_wxbindcore_dll
>> > -I../modules/wxbind/setup -I../modules -I./.. -I/usr/include/lua5.1
>> > -DWXMAKINGDLL_WXBINDCORE -fPIC -DPIC
>> > -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8
>> > -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>> > -D__WXGTK__ -pthread -DwxLUA_USEBINDING_WXGL=0
>> -DwxLUA_USEBINDING_WXMEDIA=0
>> > -DwxLUA_USEBINDING_WXSTC=0 -O2 ./wxbind/src/wxcore_image.cpp
>> > ./wxbind/src/wxcore_image.cpp: In function ?int
>> > wxLua_wxImageHistogram_iterator_op_inc(lua_State*)?:
>>
>> > ./wxbind/src/wxcore_image.cpp:2296:54: error: taking address of
>> temporary
>> > [-fpermissive]
>> > make[1]: *** [wxbindcore_dll_wxcore_image.o] Error 1
>> > make[1]: Leaving directory `/home/aryajur/Downloads/wxLua/modules'
>> > make: *** [modules] Error 2
>> > aryajur@aryajur-ThinkPad-X61-Tablet:~/Downloads/wxLua$ make
>> -fpermissive
>> > make: permissive: No such file or directory
>> > make: *** No rule to make target `permissive'. Stop.
>> >
>> >
>> > Please can anybody help me resolve this. Or is there an easier way to
>> > install wxLua???
>> >
>> > Thanks,
>> > Milind
>> >
>> >
>> > ------------------------------------------------------------
>> ------------------
>> > Write once. Port to many.
>> > Get the SDK and tools to simplify cross-platform app development. Create
>> > new or port existing apps to sell to consumers worldwide. Explore the
>> > Intel AppUpSM program developer opportunity.
>> appdeveloper.intel.com/join
>> > http://p.sf.net/sfu/intel-appdev
>> > _______________________________________________
>> > wxlua-users mailing list
>> > wxl...@li...
>> > https://lists.sourceforge.net/lists/listinfo/wxlua-users
>> >
>> >
>
>
>
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> wxlua-users mailing list
> wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
>
From: John L. <jla...@gm...> - 2011年12月27日 16:25:24
Yes, I tried with cmake to build a wx.dll staticly linked to the wxWidgets
dlls and it works well, but with a million useless warnings about how you
are not exporting wxWidgets functions.
What you did sounds great and I didn't know it was so easy, I'll add it to
the install docs.
John
On Dec 27, 2011 11:16 AM, "Andre Arpin" <ar...@ki...> wrote:
> using Solution modules "Debug DLL Multilib"
>
> Additional include directories add
>
> $(WXWIN)\lib\vc_dll\mswd
>
> Preprocessor Definitions remove
>
> WXUSINGDLL
>
> Linker Additionnal Libraries Directories add
>
> $(WXWIN)\lib\vc_lib
>
> --------------------------------------
> right click on the configuration
> go to Configuration Properties
> disable build for all but
> mod_lua
> mod_luamodule_mono
>
> Build... Ignore the 1568 warnings in the compile and link step
> voila: wx.dll is in wxLua\lib\vc_dll\
>
> Andre
>
>
>
>
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> wxlua-users mailing list
> wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
From: Andre A. <ar...@ki...> - 2011年12月27日 16:16:21
using Solution modules "Debug DLL Multilib"
Additional include directories add
 $(WXWIN)\lib\vc_dll\mswd
Preprocessor Definitions remove
 WXUSINGDLL
Linker Additionnal Libraries Directories add
$(WXWIN)\lib\vc_lib
--------------------------------------
right click on the configuration
go to Configuration Properties
disable build for all but
mod_lua
mod_luamodule_mono
Build... Ignore the 1568 warnings in the compile and link step
voila: wx.dll is in wxLua\lib\vc_dll\
Andre
From: Milind G. <mil...@gm...> - 2011年12月27日 10:23:30
Ok,
 Was finally able to run wxlua applications. They seem to be running
but the media.wx.lua does not run. Gives the error:
lua: media.wx.lua:131: attempt to call field 'wxMediaCtrl' (a nil value)
stack traceback:
media.wx.lua:131: in function 'main'
media.wx.lua:305: in main chunk
[C]: ?
Don't know why that is the case. Also don't have the wxlua executable
anywhere. I only see wxluacan and wxluafreeze. I did skip the wxstedit
compilation, maybe that prevented wxlua creation? Trying wxstedit
compilation now but it just won't compile. First there were include files
it could not find now I get this error on running make:
g++ -o ../samples/stedit/wxstedit wxstedit_wxstedit.o -L../lib -L../lib
 -lwxcode_gtk2u_stedit-2.8 -L/usr/local/lib -pthread -lwx_gtk2u_stc-2.8
-lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu-2.8
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libwx_gtk2u_stc-2.8.so:
undefined reference to `wxGCDC::wxGCDC(wxWindowDC const&)@WXU_2.8'
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libwx_gtk2u_stc-2.8.so:
undefined reference to `wxGCDC::SetPen(wxPen const&)@WXU_2.8'
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libwx_gtk2u_stc-2.8.so:
undefined reference to `wxGCDC::~wxGCDC()@WXU_2.8'
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libwx_gtk2u_stc-2.8.so:
undefined reference to `wxGCDC::SetBrush(wxBrush const&)@WXU_2.8'
collect2: ld returned 1 exit status
make: *** [../samples/stedit/wxstedit] Error 1
Any tips on how to get wxlua IDE? Thats the main thing I want to get.
Thanks,
Milind
On Mon, Dec 26, 2011 at 11:01 AM, Milind Gupta <mil...@gm...>wrote:
> Hi John,
> Thank you very much for your reply.t worked after that and
> so did make install. But now when I try the example on the wxLua website:
>
> require("wx")
> frame = wx.wxFrame(wx.NULL, wx.wxID_ANY, "wxLua Minimal Demo",
> wx.wxDefaultPosition, wx.wxSize(450, 450),
> wx.wxDEFAULT_FRAME_STYLE)
>
> -- create a simple file menu
> local fileMenu = wx.wxMenu()
> fileMenu:Append(wx.wxID_EXIT, "E&xit", "Quit the program")
> -- create a simple help menu
> local helpMenu = wx.wxMenu()
> helpMenu:Append(wx.wxID_ABOUT, "&About",
> "About the wxLua Minimal Application")
>
> -- create a menu bar and append the file and help menus
> local menuBar = wx.wxMenuBar()
> menuBar:Append(fileMenu, "&File")
> menuBar:Append(helpMenu, "&Help")
> -- attach the menu bar into the frame
> frame:SetMenuBar(menuBar)
>
> -- create a simple status bar
> frame:CreateStatusBar(1)
> frame:SetStatusText("Welcome to wxLua.")
>
> -- connect the selection event of the exit menu item to an
> -- event handler that closes the window
> frame:Connect(wx.wxID_EXIT, wx.wxEVT_COMMAND_MENU_SELECTED,
> function (event) frame:Close(true) end )
> -- connect the selection event of the about menu item
> frame:Connect(wx.wxID_ABOUT, wx.wxEVT_COMMAND_MENU_SELECTED,
> function (event)
> wx.wxMessageBox('This is the "About" dialog of the Minimal
> wxLua sample.',
> "About wxLua",
> wx.wxOK + wx.wxICON_INFORMATION,
> frame)
> end )
>
> -- finally, show the frame window
> frame:Show(true)
>
>
>
>
> I get these messages and nothing happens:
>
> (lua5.1:11526): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "pixmap",
>
> (lua5.1:11526): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "pixmap",
>
> (lua5.1:11526): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "pixmap",
>
> (lua5.1:11526): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "pixmap",
>
>
> I am not sure what is wrong. Any help would be really appreciated.
> Another thing is that when I type wxlua on the prompt it says command not
> found. How do I run the integrated IDE provided by wxlua?
>
> Thanks,
> Milind
>
>
> Date: 2011年12月26日 08:53:56 -0500
> From: John Labenski <jla...@gm...>
> Subject: Re: [wxlua-users] cannot make wxlua on Ubuntu
> To: wxl...@li...
> Message-ID:
> <CAA...@ma...
> >
> Content-Type: text/plain; charset="windows-1252"
>
> As a temporary measure, if you don't plan on using a wxImageHistogram, you
> can rem out the contents of that funtion and have it return 0. I'll look
> into it in the new year.
>
> Regards,
> John
>
> On Dec 26, 2011 3:34 AM, "Milind Gupta" <mil...@gm...> wrote:
>
> > Hi,
> > When I make wxLua by following the installtion instructions
> I
> > get the following error:
> >
> > make
> > (cd ./modules/ && make )
> > make[1]: Entering directory `/home/aryajur/Downloads/wxLua/modules'
> > /home/aryajur/Downloads/wxLua/bk-deps g++ -c -o
> > wxbindcore_dll_wxcore_image.o -I.pch/wxprec_wxbindcore_dll
> > -I../modules/wxbind/setup -I../modules -I./.. -I/usr/include/lua5.1
> > -DWXMAKINGDLL_WXBINDCORE -fPIC -DPIC
> > -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8
> > -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > -D__WXGTK__ -pthread -DwxLUA_USEBINDING_WXGL=0
> -DwxLUA_USEBINDING_WXMEDIA=0
> > -DwxLUA_USEBINDING_WXSTC=0 -O2 ./wxbind/src/wxcore_image.cpp
> > ./wxbind/src/wxcore_image.cpp: In function ?int
> > wxLua_wxImageHistogram_iterator_op_inc(lua_State*)?:
>
> > ./wxbind/src/wxcore_image.cpp:2296:54: error: taking address of
> temporary
> > [-fpermissive]
> > make[1]: *** [wxbindcore_dll_wxcore_image.o] Error 1
> > make[1]: Leaving directory `/home/aryajur/Downloads/wxLua/modules'
> > make: *** [modules] Error 2
> > aryajur@aryajur-ThinkPad-X61-Tablet:~/Downloads/wxLua$ make -fpermissive
> > make: permissive: No such file or directory
> > make: *** No rule to make target `permissive'. Stop.
> >
> >
> > Please can anybody help me resolve this. Or is there an easier way to
> > install wxLua???
> >
> > Thanks,
> > Milind
> >
> >
> > ------------------------------------------------------------
> ------------------
> > Write once. Port to many.
> > Get the SDK and tools to simplify cross-platform app development. Create
> > new or port existing apps to sell to consumers worldwide. Explore the
> > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> > http://p.sf.net/sfu/intel-appdev
> > _______________________________________________
> > wxlua-users mailing list
> > wxl...@li...
> > https://lists.sourceforge.net/lists/listinfo/wxlua-users
> >
> >

Showing 4 results of 4

Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /