|
-
May 11th, 2004, 05:21 AM
#1
Graphics in LINUX (c++)
ok, i dont have a clue how to manipulate graphics in linux using G++ compiler (c++). Does anyone have a simple example code for me? I am used to VC++ but now i have to work with Linux and graphics. Any help will be welcome.
Thanks a lot.
Nice day to everyone.
Desvario.
Caminante no hay camino, se hace camino al andar.
-
May 11th, 2004, 06:03 AM
#2
There are plenty of ways (and that can be confusing, I know). The very basic system is xlib , which also exists on other Unices but is a bit cumbersome and difficult. Then there is Motif which used to be the platform of choice for many companies. Nowadays, you probably want to use either KDE (which is built on top of QT ) or Gnome.
Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
-
May 11th, 2004, 06:50 AM
#3
Re: Graphics in LINUX (c++)
Originally posted by Desvario
ok, i dont have a clue how to manipulate graphics in linux.
What kind of graphics? Do you want to manipulate graphic files (e.g. gif, jpeg) or do you want to create a graphical user interface?
-
May 11th, 2004, 08:05 AM
#4
Actually this is neither a compiler nor language specific problem. If you want to display graphics, it's a question of choosing the right library (which almost always have bindings to several programming languages).
- Matthias
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off." - Bjarne Stroustrup
-
May 12th, 2004, 05:17 AM
#5
thanks...
Yeap, i am trying to manipulate graphics... Like bmp or jpg. Suppose to create a GUI that will provide options like: rotate, change size and stuff like that. The HUGE problem is that i am used to "play" around with VC++ and not under Linux environment. I saw that i can use some libraries as someone said, but where can i find them? Which ones are the bests?
Thanks a lot.
Desvario, the lost one.
Caminante no hay camino, se hace camino al andar.
-
May 12th, 2004, 06:46 AM
#6
In my first message, you have the links to all the libraries. If you have linux installed, you will most likely already have GTK and KDE installed as well, so you just need to read the documentation and the samples (linked to above) to get started.
Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|