Does anyone have fltk 1.1.x or 1.2 bindings working with OS X?
The ruby-fltk site at sourceforge looks like it hasn't been
updated in about 2 years.
···
--
Jim Freeze
In a medium in which a News Piece takes a minute and an "In-Depth"
Piece takes two minutes, the Simple will drive out the Complex.
-- Frank Mankiewicz
Hello Jim,
Does anyone have fltk 1.1.x or 1.2 bindings working with OS X?
The ruby-fltk site at sourceforge looks like it hasn't been
updated in about 2 years.
Not for OS X but i have a working ruby-fltk for WinXP/Win2K. It comes
precompiled with with IDE.
Linking ruby-fltk-0.9.0 against fltk-1.1.5rc1 should be okay.
I had to add a __declspec(dllexport) and change a
change a few compiler options which seems not be necessary for unix based os.
···
--
Best regards, emailto: scholz at scriptolutions dot com
Lothar Scholz http://www.ruby-ide.com
CTO Scriptolutions Ruby, PHP, Python IDE 's
I have compiled 1.1.5rc1 and have downloaded ruby-fltk-0.9.0.
Compiling ruby-fltk gives the error:
In file included from flimage.cc:6:
flimage.h: In constructor `RBFLImage::RBFLImage(int, int, int)':
flimage.h:44: error: no matching function for call to
`Fl_Image::Fl_Image(int&, int&)'
/opt/local/include/FL/Fl_Image.H:64: error: candidates are:
Fl_Image::Fl_Image(int, int, int)
/opt/local/include/FL/Fl_Image.H:41: error:
Fl_Image::Fl_Image(const Fl_Image&)
make: *** [flimage.o] Error 1
···
On Saturday, 12 June 2004 at 10:28:50 +0900, Lothar Scholz wrote:
Hello Jim,
Not for OS X but i have a working ruby-fltk for WinXP/Win2K. It comes
precompiled with with IDE.
Linking ruby-fltk-0.9.0 against fltk-1.1.5rc1 should be okay.
I had to add a __declspec(dllexport) and change a
change a few compiler options which seems not be necessary for unix based os.
--
Jim Freeze
Commitment, n.:
Commitment can be illustrated by a breakfast of ham and eggs.
The chicken was involved, the pig was committed.
Looking at this further, extconf.rb checks the number of args
to Fl_Image. It has three in the .H file, but for some reason
the test code won't build:
jdf@cheetah 26 /Users/jdf/tmp/fltest % cat flimage3.cc
#include <FL/Fl_Image.H>
int main(){
Fl_Image *img = new Fl_Image(0,0,0);
return 0;
}
jdf@cheetah 27 /Users/jdf/tmp/fltest % gcc flimage3.cc
ld: Undefined symbols:
vtable for Fl_Image
operator delete(void*)
operator new(unsigned long)
___gxx_personality_v0
···
On Saturday, 12 June 2004 at 12:23:59 +0900, Jim Freeze wrote:
On Saturday, 12 June 2004 at 10:28:50 +0900, Lothar Scholz wrote:
I have compiled 1.1.5rc1 and have downloaded ruby-fltk-0.9.0.
Compiling ruby-fltk gives the error:
In file included from flimage.cc:6:
flimage.h: In constructor `RBFLImage::RBFLImage(int, int, int)':
flimage.h:44: error: no matching function for call to
`Fl_Image::Fl_Image(int&, int&)'
/opt/local/include/FL/Fl_Image.H:64: error: candidates are:
Fl_Image::Fl_Image(int, int, int)
/opt/local/include/FL/Fl_Image.H:41: error:
Fl_Image::Fl_Image(const Fl_Image&)
make: *** [flimage.o] Error 1
--
Jim Freeze
A witty saying proves nothing, but saying something pointless gets
people's attention.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/100255
···
--- Jim Freeze <jim@freeze.org> wrote:
jdf@cheetah 27 /Users/jdf/tmp/fltest % gcc flimage3.cc
ld: Undefined symbols:
vtable for Fl_Image
operator delete(void*)
operator new(unsigned long)
___gxx_personality_v0
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
g++ -I/opt/local/include -L/opt/local/lib flimage3.cc
ld: Undefined symbols:
vtable for Fl_Image
Still fails.
···
On Sunday, 13 June 2004 at 19:18:38 +0900, Tim Sutherland wrote:
In article <20040612035610.GB10068@freeze.org>, Jim Freeze wrote:
[...]
> jdf@cheetah 27 /Users/jdf/tmp/fltest % gcc flimage3.cc
> ld: Undefined symbols:
> vtable for Fl_Image
> operator delete(void*)
> operator new(unsigned long)
> ___gxx_personality_v0
Try
g++ flimage3.cc
--
Jim Freeze
I think that all good, right thinking people in this country are sick
and tired of being told that all good, right thinking people in this
country are fed up with being told that all good, right thinking people
in this country are fed up with being sick and tired. I'm certainly
not, and I'm sick and tired of being told that I am.
-- Monty Python