From: Milind G. <mil...@gm...> - 2011-12-28 18:07:44
|
Hi John, Thanks for taking time to reply to those queries. Yes I rebuilt wxstedit and compiled wxlua again and now I have the wxlua application. For the wxGCDC thing I had to just go in the make file and change the linking paths from /usr/local/lib to /usr/lib and then it worked although not sure why. Then after everything was built I had to run ldconfig /usr/local/lib for successully running wxlua since it wasn't able to open libwxlua_gtk2u_wxbindstc-2.8.so.0. As you mentioned I see that the media control is missing in wxwidgets. I had built it with the instructions on the wiki of wxwidgets basically just running the plain make and make install. I will try again and see how I can enable everything. As of now I was just wondering if there is any way to watch table elements in the watch window of wxlua. Thanks, Milind Date: Tue, 27 Dec 2011 11:33:27 -0500 > From: John Labenski <jla...@gm...> > Subject: Re: [wxlua-users] cannot make wxlua on Ubuntu > To: wxl...@li... > Message-ID: > <CAAK6oFegMqzU4Frhpqk4KqDAKM0mTVcHTJjUPthaLOVc=L2...@ma... > > > Content-Type: text/plain; charset="iso-8859-1" > > 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: Mon, 26 Dec 2011 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 > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Wed, 28 Dec 2011 01:05:19 -0800 > From: Milind Gupta <mil...@gm...> > Subject: [wxlua-users] wxlua application > To: wxl...@li... > Message-ID: > <CAO...@ma... > > > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > I was able to install wxlua successfully and running the wxlua > IDE. One thing I notice that if I add a watch for a variable inside a table > it doesn't work. It just gives the error message "string:Lua:Syntax error > during pre-compilation". I tried giving the watch variable as a.hello as > well as a["hello"] but neither worked. Is this a limitation or am I doing > something wrong? > > Thanks, > Milind > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Wed, 28 Dec 2011 08:09:55 -0800 > From: SourceForge.net <no...@so...> > Subject: [wxlua-users] [ wxlua-Feature Requests-3466523 ] Client > Server > To: SourceForge.net <no...@so...> > Message-ID: > <mai...@li...> > Content-Type: text/plain; charset=UTF-8 > > Feature Requests item #3466523, was opened at 2011-12-28 08:09 > Message generated for change (Tracker Item Submitted) made by andrearpin > You can respond by visiting: > > https://sourceforge.net/tracker/?func=detail&atid=745327&aid=3466523&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: Interface Improvements (example) > Group: None > Status: Open > Priority: 5 > Private: No > Submitted By: Andre Arpin (andrearpin) > Assigned to: Nobody/Anonymous (nobody) > Summary: Client Server > > Initial Comment: > New version > > ---------------------------------------------------------------------- > > You can respond by visiting: > > https://sourceforge.net/tracker/?func=detail&atid=745327&aid=3466523&group_id=140042 > > > > ------------------------------ > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > ------------------------------ > > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > > > End of wxlua-users Digest, Vol 53, Issue 8 > ****************************************** > |