C How to use vgl.h?

Hi to all, :beer:

I have installed a FreeBSD 10.1 in my hard disk. I need to program in C with graphics library. How can I use vgl.h library in my C programs?
Code:
# include <vgl.h>
...... ...... .....
VGLInit (......);
VGLLine (.....);

Compiler gives me these errors:
Code:
extern video_info_t
extern video_adapter_info_t

Thanks. :)
 
Last edited by a moderator:
Have a look at the demo in /usr/share/examples/libvgl/.
 
Back
Top