[Top][All Lists]
[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: |
Tue, 8 Jul 2003 17:54:32 -0500 |
Update: By deleting the reference to "fontdialog.o" from the Makefile,
I got wxRuby to compile. To install, I had to comment out the two
existing install lines in src/install.rb and add a new one:
#File::install('wxmsw240.dll', CONFIG['bindir'], 0755, true)
#File::install('wx.so', CONFIG['archdir'], 0755, true)
File::install('wxruby.bundle', CONFIG['archdir'], 0755, true)
When I run samples/artprov/artprov.rb the following happens:
1) These messages print to STDERR:
address@hidden ~/packages/wxruby/samples]$ ruby artprov/artprov.rb
artprov/artprov.rb:323: warning: tried to create Proc object without a
block
artprov/artprov.rb:324: warning: tried to create Proc object without a
block
artprov/artprov.rb:325: warning: tried to create Proc object without a
block
artprov/artprov.rb:326: warning: tried to create Proc object without a
block
artprov/artprov.rb:327: warning: tried to create Proc object without a
block
2) I get a blank main window titled "ArtProvider sample" that I can't
activate and an alert titled "Wxruby Error" that says "no bitmap
handler for type 9 defined." with "OK" and "Details > >" buttons that
don't work. The main window can't activate. The wxRuby program launches
behind the terminal window.
I get similar results when I run samples/minimal/minimal.rb.
Running samples/treectrl/treetest.rb yields even more "warning: tried
to create Proc object without a block"'s, and a message "## Component
Manager: attempting to find symbols in a component alias of type
(regR/carP/x!bt)", but it actually displays a Win32-looking folder
labeled "Root" with an OS X-looking expand triangle and can be
activated, although not much works.
I don't know what feedback is and isn't helpful. Please forgive if this
is dumb, but I'm also available to beta-test on OS X. I can provide
screenshots or whatever you need.
I'm excited to see this much working!
On Tuesday, Jul 8, 2003, at 12:48 America/Chicago, John Platte wrote:
Hi Kevin & crew,
I'm trying to get wxRuby up on this Mac. I've got Ruby 1.8 pre 3 on
Mac OS X 10.2.6 non-server; dual 1.4 GHz G4.
Downloaded, compiled, and installed the latest stable release of
wxWindows for Mac: wxMac-2.4.1.
Then I went to build the latest CVS wxRuby and everything went well
until:
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 fontdialog.cpp
fontdialog.cpp: In static member function `static VALUE
WxFontDialog::init(int,
VALUE*, long unsigned int)':
fontdialog.cpp:66: no matching function for call to
`wxGenericFontDialog::
wxGenericFontDialog(wxWindow*&)'
/usr/local/include/wx/generic/fontdlgg.h:45: candidates are:
wxGenericFontDialog::wxGenericFontDialog(const wxGenericFontDialog&)
/usr/local/include/wx/generic/fontdlgg.h:56:
wxGenericFontDialog::wxGenericFontDialog(wxWindow*, const
wxFontData*)
/usr/local/include/wx/generic/fontdlgg.h:49:
wxGenericFontDialog::wxGenericFontDialog(wxWindow*, const
wxFontData&)
/usr/local/include/wx/generic/fontdlgg.h:47:
wxGenericFontDialog::wxGenericFontDialog()
make: *** [fontdialog.o] Error 1
address@hidden ~/packages/wxruby/src]$
Any ideas or fixes?
--
John Platte
Principal Consultant, NIKA Consulting
http://nikaconsulting.com/
- [Wxruby-dev] OS X 10.2.6 compile error, John Platte, 2003/07/08
- Re: [Wxruby-dev] OS X 10.2.6 compile error,
John Platte <=
- RE: [Wxruby-dev] OS X 10.2.6 compile error, Curt Hibbs, 2003/07/08
- Re: [Wxruby-dev] OS X 10.2.6 compile error, Kevin Smith, 2003/07/08
- Re: [Wxruby-dev] OS X 10.2.6 compile error, John Platte, 2003/07/10
- Re: [Wxruby-dev] OS X 10.2.6 compile error, Kevin Smith, 2003/07/10
- Re: [Wxruby-dev] OS X 10.2.6 compile error, John Platte, 2003/07/11
- Re: [Wxruby-dev] OS X 10.2.6 compile error, John Platte, 2003/07/11
- Re: [Wxruby-dev] OS X 10.2.6 compile error, Kevin Smith, 2003/07/11
- Re: [Wxruby-dev] OS X 10.2.6 compile error, John Platte, 2003/07/11
- Re: [Wxruby-dev] OS X 10.2.6 compile error, Kevin Smith, 2003/07/11
- Re: [Wxruby-dev] OS X 10.2.6 compile error, John Platte, 2003/07/11