I tried to install wxRuby on my Mac, but I get the following error.
g++ -fno-common -g -O2
-pipe -fno-common `wx-config --cxxflags` -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0 -I. -x objective-c++
-c htmleasyprinting.cpp
htmleasyprinting.cpp: In static member function `static VALUE
WxHtmlEasyPrinting::PrinterSetup(int, VALUE*, long unsigned int)'':
htmleasyprinting.cpp:181: error: `PrinterSetup'' undeclared (first use
this
function)
htmleasyprinting.cpp:181: error: (Each undeclared identifier is
reported only
once for each function it appears in.)
make: *** [htmleasyprinting.o] Error 1
I have previously installed wxMac-2.4.2 from www.wxwidgets.org. Is this caused
by something not being included in the wxMac installation? Or some
library missing from my system?
Any advice appreciated.
--Dale
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
1) Which release did you download? 2) Which version of ruby fo you have? Nick Dale Martenson wrote:> I tried to install wxRuby on my Mac, but I get the following error. > > *g++ -fno-common -g -O2 -pipe -fno-common `wx-config --cxxflags` -I. > -I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0 > -I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0 -I. -x objective-c++ -c > htmleasyprinting.cpp > htmleasyprinting.cpp: In static member function `static VALUE > WxHtmlEasyPrinting::PrinterSetup(int, VALUE*, long unsigned int)'': > htmleasyprinting.cpp:181: error: `PrinterSetup'' undeclared (first use this > function) > htmleasyprinting.cpp:181: error: (Each undeclared identifier is reported > only > once for each function it appears in.) > make: *** [htmleasyprinting.o] Error 1 * > > > I have previously installed wxMac-2.4.2 from www.wxwidgets.org > <http://www.wxwidgets.org>. Is this caused by something not being > included in the wxMac installation? Or some library missing from my system? > > Any advice appreciated. > > --Dale > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users