LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-09-2004, 05:35 AM   #1
mal_mox
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Unhappy graphics prograaming in C on Linux


hi friends

i am new to this forum. but feel good to join it.
i have difficulties in compiling graphical program on Linux. i have recently install RH Linux 9.0. In dos the programming with graphics.h is breeze

can some help me in this matter?

thanks in advance
 
Old 08-09-2004, 05:42 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Linux does not use anything akin to graphics.h (but there's probably a compatibility library around; try searching on Freshmeat.net)

Instead, there are several (probably hundreds) of different libraries to handle different kinds of graphics GUIs, graphics, rendering graphics into ASCII-art and so on.

For drawing and manipulating graphics within a window (or fullscreen), I suggest you look at SDL (the simple directmedia layer).

For handling windows etc. (in C) I'd also look at GNOME.

Development libraries for both of these should be on your red-hat install disks. Also, please note there are many, many other options if these don't work for you.

Hope that helps,

— Robert J. Lee
 
Old 08-10-2004, 12:55 PM   #3
mal_mox
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
hi

thanks for the valuable reply
i am working on what you say. soon i will reappear with the result

thanks again
 
Old 08-11-2004, 01:01 PM   #4
abimanyu007
Member
 
Registered: Aug 2004
Location: India
Distribution: Linare
Posts: 48

Rep: Reputation: 15
fools linux kernel it self have a graphics souuport that is Frame Buffer
Try It or use svga lib simialr to graphics.h in dos
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
graphics programmes and wacom graphics tablets? bigjohn Linux - Newbie 9 05-29-2005 05:03 PM
where to find S3 graphics pro savage DDR graphics jcolon Linux - Hardware 5 02-16-2005 04:53 PM
How To Use Graphics in C/C++ in Linux ? saint_devil Programming 10 01-07-2005 05:27 AM
Graphics issues with Intel 82856G Graphics Adapter herrmag Linux - Newbie 1 08-09-2004 02:52 PM
Network Prograaming on IP layer shrey_j Programming 11 07-22-2004 02:25 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration