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 > 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 -- Jim Freeze A witty saying proves nothing, but saying something pointless gets people's attention.