wxruby-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wxruby-dev] OS X 10.2.6 compile error


From: John Platte
Subject: Re: [Wxruby-dev] OS X 10.2.6 compile error
Date: Fri, 11 Jul 2003 11:11:09 -0500

Updated from CVS & rebuilt. Only had to delete the fontdialog.o from the Makefile, otherwise build worked OK.

FYI, the only warning I see other than the fontdialog failure:

g++ -fno-common -g -O2 -fno-common -pipe `wx-config --cxxflags` -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin6.6 -I/usr/local/lib/ruby/1.8/powerpc-darwin6.6 -I. -c icon.cpp
icon.cpp: In static member function `static VALUE WxIcon::LoadFile(long
   unsigned int, long unsigned int, long unsigned int)':
icon.cpp:140: warning: invalid conversion from `long int' to `wxBitmapType'
icon.cpp:140: warning:   initializing argument 2 of `virtual bool
   wxIcon::LoadFile(const wxString&, wxBitmapType)'

And then at link time:

ld: warning dynamic shared library: /System/Library/Frameworks/Carbon.framework/Carbon not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1

nothing.rb works perfectly.

Commenting out the if...else...end block around set_icon fixed the "type 9" issue in minimal.rb, so it works perfectly now.

controls.rb isn't such a simple hack, it does a lot more with icons, and commenting out just the call to set_icon gives me a big fat bus error. I didn't get this one working.

treetest.rb comes up and closes cleanly...it just burps the following once the first time I try to click on its widgets:

## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)

It looks like nothing that needs to trap events within a window can. when I run etc/test.rb, a simple text editor, I can't get keystrokes to go to the program, they keep going to the terminal window instead. And the treetest.rb just flickers when I click on it, it doesn't respond to clicks. I can maximize, minimize, resize, and close wxRuby windows, but events inside the window itself don't seem to work at all.

We're getting warmer, anyway!

On Friday, Jul 11, 2003, at 10:34 America/Chicago, Kevin Smith wrote:

I just remembered/realized that most if not all of the samples attempt
to set a program icon, and they do it differently for MSW and Linux. You
might try commenting that part out of minimal.rb and see if it helps.

Otherwise, it might be the menubar, which would be worse.

--
John Platte
Principal Consultant, NIKA Consulting
http://nikaconsulting.com/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]