Hanmac / rwx

wxWidgets binding for ruby
Other
50 stars 4 forks source link

Compiling errors on Mac #4

Closed zhimin closed 10 years ago

zhimin commented 10 years ago

Hi,

[2014-01-05] I tried building (rake compile) on Mac 10.8 with wxWidgets 3, got compile failures on the following classes: wxCalendarCtrlGeneric.cpp wxContextHelpButton.cpp wxNumberEntryDialog.cpp wxPasswordEntryDialog.cpp

Thanks for your work!

Regards, Zhimin

Hanmac commented 10 years ago

rwx currently only works against wxWidgets trunk because of some methods that did not exist yet, that might be fixed later but currently not nice possible

what exaclty is the compiler fauilure in wxCalendarCtrlGeneric.cpp ?

zhimin commented 10 years ago

Here is the error (WxWidgets 3.0 on Mac 10.8):

wxCalendarCtrlGeneric.cpp:50:18: error: use of undeclared identifier 'RubyWX' using namespace RubyWX::GenericCalendarCtrl; ^ wxCalendarCtrlGeneric.cpp:50:26: error: expected namespace name using namespace RubyWX::GenericCalendarCtrl; ^ 2 errors generated. make: *\ [wxCalendarCtrlGeneric.o] Error 1

Hanmac commented 10 years ago

wxCalendarCtrlGeneric should be fixed for the other i think there is wxwidgets trunk needed

zhimin commented 10 years ago

Yes, wxCalendarCtrlGeneric compiles OK now, thanks.

Hanmac commented 10 years ago

that should fix the others, normally i need 2-step constructor but i found a way to write around that

zhimin commented 10 years ago

Thanks!. Yes, I could compile and generate the rwx-0.0.1.dev.gem.