From: Nick Date: 2004-11-22T22:21:35+09:00 Subject: Re: wxRuby 0.6.0 is released! The issue is that wxGTK-2.4.2 fails to include the htmlproc.h header with the distribution. This usually isn't an issue, but since we're trying to wrap functionality, it doesn't build. Are you sure you have the 0.6 version of wxruby? I added a line in the extconf to remove the html widget on linux systems. Nick Meino Christian Cramer wrote: > From: Nick > Subject: wxRuby 0.6.0 is released! > Date: Mon, 22 Nov 2004 01:09:55 +0900 > > Hi, > > While compiling on a Linux box I get this error: > > g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -funroll-loops -fforce-addr -falign-functions=4 -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I. -c htmleasyprinting.cpp > g++ -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -funroll-loops -fforce-addr -falign-functions=4 -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I. -c htmlprocessor.cpp > In file included from htmlprocessor.cpp:7: > htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory > In file included from htmlprocessor.cpp:7: > htmlprocessor.h:11: error: expected class-name before '{' token > htmlprocessor.h:28: error: variable or field `validateCppObject' declared void > htmlprocessor.h:28: error: expected `;' before '(' token > > .... > > I installed wxWindow 2.4.2 ... > > gcc ist of version 3.4.2 > > What didi I wrong here ? > > Regards, > Meino Cramer > > > >>wxRuby 0.6.0 has been released and is now available for >>download from RubyForge at http://wxruby.rubyforge.org/ >>This release includes binary builds for Max OS X and >>MS Windows. >> >>Changes in this release include: >>* Additional widget support in XRC (thanks to Marshall Elfstrand) >>* Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle >>Technologies Inc) >>* Addition of wxGrid event handlers (thanks to Zach Dennis) >>* wxBusyCursor and wxWindowDisabler interfaces changed to match the >>wxruby-swig interface. >> >>---------- >> >>What is wxRuby? >> >>wxRuby is an open source GUI toolkit for the Ruby programming >>language. It provides a Ruby interface to the cross-platform >>wxWidgets C++ GUI framework (formerly known as wxWindows). >>wxRuby is intended to dramatically extend Ruby's usefulness in >>rapid prototyping and general UI development. >> >>wxWidgets is a mature, cross-platform GUI toolkit that uses native >>GUI widgets. This means that wxRuby applications can integrate >>seamlessly on each supported platform, and can behave like the >>user expects. >> >>Nick >> >> >> > > > >