LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-10-2006, 02:20 AM   #1
JonBrant
Member
 
Registered: Jul 2004
Distribution: Suse 10.2
Posts: 43

Rep: Reputation: 15
Unhappy I want to get started with OpenGL in Suse


I've done some Windows programming with OpenGL. I used Visual Studio and it's fun stuff. I was hoping to get to work with Suse 10.1 but, well, I don't know where to start. I don't know of any sort of set up I need to do before hand. I don't know much of anything but C++ and OpenGL

I've spent the last 6 hours trying to figure it out and I'm stumped. I've searched the forums and I just don't know what to do. I'd love to stay on Suse but it looks like I'll have to go back to XP (Puke)

I've tried getting everything going with Anjuta... I'm new to the program as well so I have no idea. Could anyone point me to a barebones project that'll set up a window and maybe draw a polygon? I'd be forever grateful and the Linux movement would have one more permanent member

So yeah... to recap... Suse 10.1, Anjuta, C++, OpenGL complete noob.
 
Old 10-10-2006, 03:54 AM   #2
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
Open GL is platform agnostic, so opengl for windows is opengl for linux, irix, *bsd or any other os.

the real issue you probably have, mesagl, a mostly compatable clone of opengl, is probably what is installed, and the api for mesagl is slightly different from opengl itself.
you may have to get and install opengl for linux manually, it is not normally included in any distro.
 
Old 10-10-2006, 06:59 PM   #3
JonBrant
Member
 
Registered: Jul 2004
Distribution: Suse 10.2
Posts: 43

Original Poster
Rep: Reputation: 15
Yeah but getting the window open and what not is completely different than Windows. That's one thing I need... the code to just get a window opened, etc

And I'm using XGL, so I think I have OpenGL installed (unless it's somehow doing software rendering...?) I also remember typing in a command to check and I got the 3 colored gears to come up. So I think I've got it installed
 
Old 10-11-2006, 11:50 AM   #4
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
yeh you are talking about glxgears .. but running that wont gurantee that you have all files necessary for development..

i dont have any experience with anjuta, i use kdevelop sometimes, and it has some templates for opengl.
 
Old 10-11-2006, 08:04 PM   #5
JonBrant
Member
 
Registered: Jul 2004
Distribution: Suse 10.2
Posts: 43

Original Poster
Rep: Reputation: 15
I will find and give that a shot. Could you tell me where one of the templates you use is? That way I know that the template works and I can work toward getting it to work
 
Old 10-11-2006, 10:20 PM   #6
JonBrant
Member
 
Registered: Jul 2004
Distribution: Suse 10.2
Posts: 43

Original Poster
Rep: Reputation: 15
Alright. I got everything to compile and run with make... so it's just the IDE I'm having a problem with. I'm making a seperate thread for a seperate question: How do I convert a Makefil/Source file to a project?

The thread is here
http://www.linuxquestions.org/questi...90#post2459290
 
  


Reply

Tags
c++, opengl, suse



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
OpenGL vs NVidia vs SUSE Linux pneumatixx Linux - Software 2 09-20-2005 09:32 AM
3d Acceleration/OpenGL Problems in Suse 9.3 suse123456789 SUSE / openSUSE 6 07-16-2005 09:26 PM
opengl/c++/linux getting started theeil Programming 5 02-01-2005 06:46 PM
kbluetoothd in Suse - where did it get started harry_fine Linux - Distributions 0 09-16-2004 09:14 AM
getting started with Mesa/OpenGL wuck Programming 7 12-11-2003 04:29 PM

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

All times are GMT -5. The time now is 06:52 AM.

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