On Friday 24 November 2006 16:42, Mark Adams wrote:
> Using directfb_util.h from C++ gives link errors.  I think directfb_util.h
> needs the addition of
> 
> #ifdef __cplusplus
> extern "C"
> {
> #endif
> 
> ...
> 
> #ifdef __cplusplus
> }
> #endif
> 
> around it.  It in turn includes some other headers which may also need
> treatment.
> 
> Regards,
> 
> Mark
> 
hi mark,

if you want to use directfb with c++ you should use the 
directfb c++ wrappers.

there are 2 of those - DFB++ and ++DFB.

i personally prefer ++DFB. 
give them a try :)

best regards
marcel

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to