LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   graphics using c (https://www.linuxquestions.org/questions/linux-newbie-8/graphics-using-c-585306/)

susovan0010 09-17-2007 11:03 AM

graphics using c
 
Hi,
I am using Rh EL4 and trying a lot for graphics programming using c.
Is there any header file of function like windows"#include<graphics.h>" or "initgraph()".

plz help........

bigrigdriver 09-17-2007 11:39 AM

#include <vga.h>

For a list of various graphics packages, look here:
http://www.ibiblio.org/pub/Linux/lib...cs/!INDEX.html

susovan0010 09-17-2007 12:15 PM

Problem again......
 
Quote:

Originally Posted by bigrigdriver (Post 2894723)
#include <vga.h>

For a list of various graphics packages, look here:
http://www.ibiblio.org/pub/Linux/lib...cs/!INDEX.html

Hi,
I installed svgalib package but when I issued the command "man vga.h"
its giving nothing but the error "no manual entry for vga.h"
any help.........

bigrigdriver 09-17-2007 12:44 PM

vga.h is a header file, not a man page. Try 'man vga' or 'man 4 vga' instead.

susovan0010 09-17-2007 01:46 PM

Is svgalib_helper module loaded?
 
Quote:

Originally Posted by bigrigdriver (Post 2894796)
vga.h is a header file, not a man page. Try 'man vga' or 'man 4 vga' instead.

Thanks....... it works but giving another problem "Is svgalib_helper module loaded?"
any more help.......

bigrigdriver 09-17-2007 02:16 PM

If you have the svgalib package installed, try 'modprobe svgalib_helper'.

susovan0010 09-17-2007 02:41 PM

Thanks......
 
Quote:

Originally Posted by bigrigdriver (Post 2894923)
If you have the svgalib package installed, try 'modprobe svgalib_helper'.

Many many thanks..it works...


All times are GMT -5. The time now is 06:21 PM.