FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FLTK-bindings: how to compile example?

 
Post new topic   Reply to topic     Forum Index -> BCD
View previous topic :: View next topic  
Author Message
Chris



Joined: 28 May 2007
Posts: 1
Location: Germany

PostPosted: Mon May 28, 2007 8:24 am    Post subject: FLTK-bindings: how to compile example? Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> BCD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group