On Ubuntu 9.10 with ruby 1.8.6 and 1.9.1 /var/lib/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: /var/lib/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: symbol _ZN13wxAuiNotebook14ShowWindowMenuEv, version WXU_2.8.5 not defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference - /var/lib/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so (LoadError) /opt/ruby191/lib/ruby/gems/1.9.1/gems/wxruby-ruby19-2.0.1-x86-linux/lib/wx.rb:12:in `require'': /opt/ruby191/lib/ruby/gems/1.9.1/gems/wxruby-ruby19-2.0.1-x86-linux/lib/wxruby2.so: symbol _ZN13wxAuiNotebook14ShowWindowMenuEv, version WXU_2.8.5 not defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference - /opt/ruby191/lib/ruby/gems/1.9.1/gems/wxruby-ruby19-2.0.1-x86-linux/lib/wxruby2.so (LoadError) -- Posted via http://www.ruby-forum.com/.
Ran into this today on Ubuntu 9.10, ruby 1.8.7. Not having much success finding solutions. /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: symbol _ZN13wxAuiNotebook14ShowWindowMenuEv, version WXU_2.8.5 not defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference - /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so (LoadError) -- Posted via http://www.ruby-forum.com/.
After reading around, I''ve tried to compile from source following the wiki but it''s not working out. SWIG Version 1.3.36 gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) wx-config --version 2.8.10 ... Class: GLCanvas : Window class wxGLCanvas g++ -c -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DwxABI_VERSION=208010 -fno-strict-aliasing -g -g -O2 -fPIC -Wno-unused-function -I. -I /usr/lib/ruby/1.8/i486-linux -o obj/GLCanvas.o src/GLCanvas.cpp In file included from /usr/include/wx-2.8/wx/glcanvas.h:54, from src/GLCanvas.cpp:2207: /usr/include/wx-2.8/wx/gtk/glcanvas.h:19:19: error: GL/gl.h: No such file or directory /usr/include/wx-2.8/wx/gtk/glcanvas.h:20:20: error: GL/glx.h: No such file or directory /usr/include/wx-2.8/wx/gtk/glcanvas.h:21:20: error: GL/glu.h: No such file or directory In file included from /usr/include/wx-2.8/wx/glcanvas.h:54, from src/GLCanvas.cpp:2207: /usr/include/wx-2.8/wx/gtk/glcanvas.h:47: error: ?GLXContext? does not name a type /usr/include/wx-2.8/wx/gtk/glcanvas.h:124: error: ISO C++ forbids declaration of ?GLXFBConfig? with no type /usr/include/wx-2.8/wx/gtk/glcanvas.h:124: error: expected ?;? before ?*? token rake aborted! Command failed with status (1): [g++ -c -I/usr/lib/wx/include/gtk2-unicod...] -- Posted via http://www.ruby-forum.com/.
Steve cd wrote:> Ran into this today on Ubuntu 9.10, ruby 1.8.7. Not having much success > finding solutions. > > /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: > /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so: > symbol _ZN13wxAuiNotebook14ShowWindowMenuEv, version WXU_2.8.5 not > defined in file libwx_gtk2u_aui-2.8.so.0 with link time reference - > /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so > (LoadError)I had a similar problem. I has installed libwxgtk2.8-dbg and wx2.8-headers. Nowadays all work successfully. -- Posted via http://www.ruby-forum.com/.
This is a Google translation. My system is: - Ubuntu 9.10, - C++ compiler version g++-4.4.1-4ubuntu8, - wx 2.8.10, - Swig 1.3.38, - Ruby 1.9.1p376, - wxRuby 2.0.1. Everything''s fine until the compilation and installation of SWIG as indicated in the Guide http://wxruby.rubyforge.org/wiki/wiki.pl?BuildingOnTopOfLinuxDistroPackages, when compiling wxRuby 2.0.1, it ends with a large number of warnings and errors, citing the end: /usr/include/GL/glxext.h:847: error: typedef ?PFNGLXENUMERATEVIDEODEVICESNVPROC? is initialized (use decltype instead) /usr/include/GL/glxext.h:847: error: ?Display? was not declared in this scope /usr/include/GL/glxext.h:847: error: ?dpy? was not declared in this scope /usr/include/GL/glxext.h:848: error: expected primary-expression before ?int? /usr/include/GL/glxext.h:849: error: expected primary-expression before ?int? /usr/include/GL/glxext.h:850: error: typedef ?PFNGLXBINDVIDEODEVICENVPROC? is initialized (use decltype instead) /usr/include/GL/glxext.h:850: error: ?Display? was not declared in this scope /usr/include/GL/glxext.h:850: error: ?dpy? was not declared in this scope /usr/include/GL/glxext.h:851: error: expected primary-expression before ?unsigned? /usr/include/GL/glxext.h:852: error: expected primary-expression before ?unsigned? /usr/include/GL/glxext.h:853: error: expected primary-expression before ?const? src/GLCanvas.cpp: In function ?VALUE _wrap_new_wxGLCanvas(int, VALUE*, VALUE)?: src/GLCanvas.cpp:2742: warning: format not a string literal and no format arguments src/GLCanvas.cpp:2748: warning: format not a string literal and no format arguments src/GLCanvas.cpp:2799: warning: format not a string literal and no format arguments src/GLCanvas.cpp:2819: warning: format not a string literal and no format arguments src/GLCanvas.cpp:2822: warning: format not a string literal and no format arguments src/GLCanvas.cpp: In function ?VALUE _wrap_wxGLCanvas_SetCurrent(int, VALUE*, VALUE)?: src/GLCanvas.cpp:2872: warning: format not a string literal and no format arguments src/GLCanvas.cpp: In function ?VALUE _wrap_wxGLCanvas_SetColour(int, VALUE*, VALUE)?: src/GLCanvas.cpp:2896: warning: format not a string literal and no format arguments src/GLCanvas.cpp:2901: warning: format not a string literal and no format arguments src/GLCanvas.cpp: In function ?VALUE _wrap_wxGLCanvas_SwapBuffers(int, VALUE*, VALUE)?: src/GLCanvas.cpp:2922: warning: format not a string literal and no format arguments src/GLCanvas.cpp: In function ?VALUE _wrap_disown_wxGLCanvas(int, VALUE*, VALUE)?: src/GLCanvas.cpp:2943: warning: format not a string literal and no format arguments rake aborted! Command failed with status (1): [g++ -c -I/usr/lib/wx/include/gtk2-unicod...] (See full trace by running task with --trace) I also tried to install libwxgtk2.8-dbg and wx2.8-headers, but the result does not change. Can you help me in any way? For example, you can have a Ruby gem that is specific to Ubuntu 9.10 help non-expert like me to compile from source? wxRuby is a great and beautiful GUI toolkit for the Ruby, I regret very much not using it. Thanks to all and please excuse the bad English. -- Posted via http://www.ruby-forum.com/.
To all: You can download the version of wxRuby 2.0.1 that I have compiled specifically for Ubuntu 9.10. This version was compiled for Ruby 1.8.7 p174, which is the default available in the Ubuntu Repositories. Run the following commands in your Console: wget http://www.trilake.net/wxRuby/wxruby-2.0.1-x86-linux.gem sudo gem install --local wxruby-2.0.1-x86-linux.gem sudo apt-get install libwxgtk2.8-0 libwxbase2.8-0 irb require ''rubygems'' require ''wx'' exit If everything installed properly, the above irb require statements should have outputted 2 "=> true" results. Which means that wxRuby is now installed, and working for you. hth, Mario P.S. Anyone looking for a version for Ruby 1.9 series of interpreter, let me know, and I''ll get a compile out there. On Fri, Jan 8, 2010 at 5:14 AM, Nome Cognome <lists at ruby-forum.com> wrote:> This is a Google translation. > > My system is: > - Ubuntu 9.10, > - C++ compiler version g++-4.4.1-4ubuntu8, > - wx 2.8.10, > - Swig 1.3.38, > - Ruby 1.9.1p376, > - wxRuby 2.0.1. > > Everything''s fine until the compilation and installation of SWIG as > indicated in the Guide > http://wxruby.rubyforge.org/wiki/wiki.pl?BuildingOnTopOfLinuxDistroPackages > , > when compiling wxRuby 2.0.1, it ends with a large number of warnings and > errors, citing the end: > > /usr/include/GL/glxext.h:847: error: typedef > ?PFNGLXENUMERATEVIDEODEVICESNVPROC? is initialized (use decltype > instead) > /usr/include/GL/glxext.h:847: error: ?Display? was not declared in this > scope > /usr/include/GL/glxext.h:847: error: ?dpy? was not declared in this > scope > /usr/include/GL/glxext.h:848: error: expected primary-expression before > ?int? > /usr/include/GL/glxext.h:849: error: expected primary-expression before > ?int? > /usr/include/GL/glxext.h:850: error: typedef > ?PFNGLXBINDVIDEODEVICENVPROC? is initialized (use decltype instead) > /usr/include/GL/glxext.h:850: error: ?Display? was not declared in this > scope > /usr/include/GL/glxext.h:850: error: ?dpy? was not declared in this > scope > /usr/include/GL/glxext.h:851: error: expected primary-expression before > ?unsigned? > /usr/include/GL/glxext.h:852: error: expected primary-expression before > ?unsigned? > /usr/include/GL/glxext.h:853: error: expected primary-expression before > ?const? > src/GLCanvas.cpp: In function ?VALUE _wrap_new_wxGLCanvas(int, VALUE*, > VALUE)?: > src/GLCanvas.cpp:2742: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp:2748: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp:2799: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp:2819: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp:2822: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp: In function ?VALUE _wrap_wxGLCanvas_SetCurrent(int, > VALUE*, VALUE)?: > src/GLCanvas.cpp:2872: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp: In function ?VALUE _wrap_wxGLCanvas_SetColour(int, > VALUE*, VALUE)?: > src/GLCanvas.cpp:2896: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp:2901: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp: In function ?VALUE _wrap_wxGLCanvas_SwapBuffers(int, > VALUE*, VALUE)?: > src/GLCanvas.cpp:2922: warning: format not a string literal and no > format arguments > src/GLCanvas.cpp: In function ?VALUE _wrap_disown_wxGLCanvas(int, > VALUE*, VALUE)?: > src/GLCanvas.cpp:2943: warning: format not a string literal and no > format arguments > rake aborted! > Command failed with status (1): [g++ -c > -I/usr/lib/wx/include/gtk2-unicod...] > > (See full trace by running task with --trace) > > > I also tried to install libwxgtk2.8-dbg and wx2.8-headers, but the > result does not change. Can you help me in any way? > For example, you can have a Ruby gem that is specific to Ubuntu 9.10 > help non-expert like me to compile from source? > wxRuby is a great and beautiful GUI toolkit for the Ruby, I regret very > much not using it. > > Thanks to all and please excuse the bad English. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100108/411bae39/attachment-0001.html>
Mario Steele wrote: P.S. Anyone looking for a version for Ruby 1.9 series of interpreter,> let > me know, and I''ll get a compile out there.Hello Mario. I would be really grateful if you could have a version of wxRuby for Ruby 1.9 series of interpreter. Thanks in advance. :) -- Posted via http://www.ruby-forum.com/.
I will work on it tonight, and hopefully have it then. I will send an email out when I get it done. On Fri, Jan 8, 2010 at 9:28 AM, Nome Cognome <lists at ruby-forum.com> wrote:> Mario Steele wrote: > P.S. Anyone looking for a version for Ruby 1.9 series of interpreter, > > let > > me know, and I''ll get a compile out there. > > Hello Mario. I would be really grateful if you could have a version of > wxRuby for Ruby 1.9 series of interpreter. > > Thanks in advance. :) > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100108/a807ad71/attachment.html>
Mario Steele wrote:> I will work on it tonight, and hopefully have it then. I will send an > email > out when I get it done.Hi Mario. Any news on this? Thanks. -- Posted via http://www.ruby-forum.com/.
My apologizes Nome, I had been working on upgrading my system, and getting Ruby 1.9 gem made was on the back burner. I have finished it, after I got everything setup again with the new hardware. http://www.trilake.net/wxRuby/wxruby-ruby19-2.0.1-x86-linux.gem This gem will be compatible with Ubuntu 9.10, with everything (Except SWIG), taken directly from the Repositories. If you have any problems with this version, please feel free to let me know. Remember to install via: sudo gem1.9 install --local wxruby-ruby19-2.0.1-x86-linux.gem If the gem command attains the 1.9 part, otherwise, just use the gem command. hth, Mario On Mon, Jan 18, 2010 at 3:09 AM, Nome Cognome <lists at ruby-forum.com> wrote:> Mario Steele wrote: > > I will work on it tonight, and hopefully have it then. I will send an > > email > > out when I get it done. > > Hi Mario. Any news on this? > > Thanks. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100118/f54a2d76/attachment.html>
Sorry, seems that the gem is messed up, please don''t download from that URL till I say it is alright. On Mon, Jan 18, 2010 at 8:58 AM, Mario Steele <mario at ruby-im.net> wrote:> My apologizes Nome, > > I had been working on upgrading my system, and getting Ruby 1.9 gem made > was on the back burner. I have finished it, after I got everything setup > again with the new hardware. > > http://www.trilake.net/wxRuby/wxruby-ruby19-2.0.1-x86-linux.gem > > This gem will be compatible with Ubuntu 9.10, with everything (Except > SWIG), taken directly from the Repositories. If you have any problems with > this version, please feel free to let me know. > > Remember to install via: > > sudo gem1.9 install --local wxruby-ruby19-2.0.1-x86-linux.gem > > If the gem command attains the 1.9 part, otherwise, just use the gem > command. > > > hth, > > Mario > > On Mon, Jan 18, 2010 at 3:09 AM, Nome Cognome <lists at ruby-forum.com>wrote: > >> Mario Steele wrote: >> > I will work on it tonight, and hopefully have it then. I will send an >> > email >> > out when I get it done. >> >> Hi Mario. Any news on this? >> >> Thanks. >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> wxruby-users mailing list >> wxruby-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wxruby-users >> > > > > -- > Mario Steele > http://www.trilake.net > http://www.ruby-im.net > http://rubyforge.org/projects/wxruby/ > http://rubyforge.org/projects/wxride/ >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100118/9aae2038/attachment-0001.html>
Mario Steele wrote:> Sorry, seems that the gem is messed up, please don''t download from that > URL > till I say it is alright.I do not lose hope. :) Bye bye. -- Posted via http://www.ruby-forum.com/.
Nome Cognome
2010-Mar-24 17:58 UTC
[wxruby-users] [SOLVED] Re: wxRuby 2.0.1 on Ubuntu 9.10
Nome Cognome wrote:> This is a Google translation. > > My system is: > - Ubuntu 9.10, > - C++ compiler version g++-4.4.1-4ubuntu8, > - wx 2.8.10, > - Swig 1.3.38, > - Ruby 1.9.1p376, > - wxRuby 2.0.1. > > Everything''s fine until the compilation and installation of SWIG as > indicated in the Guide > http://wxruby.rubyforge.org/wiki/wiki.pl?BuildingOnTopOfLinuxDistroPackages, > when compiling wxRuby 2.0.1, it ends with a large number of warnings and > errors, citing the end: > > src/GLCanvas.cpp:2943: warning: format not a string literal and no > format arguments > rake aborted! > Command failed with status (1): [g++ -c > -I/usr/lib/wx/include/gtk2-unicod...] > > (See full trace by running task with --trace)(This is a Google translation) I solved! :-D The problem exists only on Ubuntu 9.10 migrated from Ubuntu 9.04. 1) Following the instructions found at http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource on Ubuntu 9.10 new installation (in a VirtualBox virtual machine), I created a new gem wxRuby version 2.0.1. 2) The same instructions also on Ubuntu 9.10 migrated, but before compiling wxruby, I took the new gem created in step 1) and install this with command: sudo gem install --local wxruby-ruby19-2.0.1-x86-linux.gem (I have installed only Ruby 1.9, otherwise command sudo gem1.9 install --local wxruby-ruby19-2.0.1-x86-linux.gem) Thanks to all, bye bye. -- Posted via http://www.ruby-forum.com/.