Chris
Joined: 28 May 2007 Posts: 1 Location: Germany
|
Posted: Mon May 28, 2007 8:24 am Post subject: FLTK-bindings: how to compile example? |
|
|
Hi,
I tried to use the prefabricated FLTK-bindings whithout any success. Can somebody tell me one combination of versions/compilers that work together?
Here is an errormessage using fltk-1.1.7, gcc-3.4.5, gdc 0.23 (which has not been called yet) in the MSYS environment of MinGW:
Code: | $ make fltkexa
sh test/fltk.sh gdc
bcd/fltk/Fl_Bitmap.cc: In function `void _BCD_set__ZN9Fl_Bitmap2idE(Fl_Bitmap*, unsigned int)':
bcd/fltk/Fl_Bitmap.cc:24: error: invalid conversion from `unsigned int' to `void*'
bcd/fltk/Fl_Bitmap.cc: In function `unsigned int _BCD_get__ZN9Fl_Bitmap2idE(Fl_Bitmap*)':
bcd/fltk/Fl_Bitmap.cc:27: error: invalid conversion from `void*' to `unsigned int'
make: *** [fltkexa] Error 1
|
FLTK itself compiles very well using its makefile. The bindings bcd/ and the examples test/ were copied in the fltk directory. |
|