[wxruby-users] A bug in wxRuby. Segmentation fault in random situations.
Jacek Nowak
jacekwiktor at gmail.com
Sat Mar 1 06:48:56 EST 2008
Hi Alex,
Thanks for all your help.
I am trying to compile the latest source from svn.
When I run "rake" everything seems to compile well but after 2 or 3
minutes I get the following error:
GLCanvas.cpp
.\src/GLCanvas.h(19) : error C2504: 'wxGLCanvas' : base class undefined
.\src/GLCanvas.h(23) : error C2629: unexpected 'class SwigDirector_wxGLCanvas ('
.\src/GLCanvas.h(23) : error C2238: unexpected token(s) preceding ';'
.\src/GLCanvas.h(24) : error C2629: unexpected 'class SwigDirector_wxGLCanvas ('
.\src/GLCanvas.h(24) : error C2238: unexpected token(s) preceding ';'
src/GLCanvas.cpp(2393) : error C2614: 'SwigDirector_wxGLCanvas' :
illegal member initialization: 'wxGLCanvas' is not a base or member
src/GLCanvas.cpp(2399) : error C2061: syntax error : identifier 'wxGLCanvas'
src/GLCanvas.cpp(2399) : error C2511:
'SwigDirector_wxGLCanvas::SwigDirector_wxGLCanvas' : overloaded member
function 'void (unsigned long,class wxWindow *)' not found in
'SwigDirector_wxGLCanvas'
.\src/GLCanvas.h(19) : see declaration of 'SwigDirector_wxGLCanvas'
src/GLCanvas.cpp(4019) : fatal error C1004: unexpected end of file found
I downloaded the latest source from svn.
I am using:
wxWidgets 2.8.7
swigwin-1.3.34
rake-0.8.1
windows xp sp2
msvc++ 6.0
(btw - in the wiki :
http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource it is
written that I should use swig-1.3.31 but when I tried to compile with
this version rake gave me an error that I should use 1.3.34)
--
Jacek Nowak
jacekwiktor at gmail.com
More information about the wxruby-users
mailing list