Thread: OpenGL Beginner: Please Help

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    25

    OpenGL Beginner: Please Help

    Hi,

    I've been trying to install the OpenGL libraries, but it seems there are too many dependencies to resolve before I can install anything. There has to be an easier way to install the OpenGL programming libraries than hunting down each and every unresolved dependency. Can someone please tell me what is the most efficient way to carry out the installation?

    Information about my system: Fedora Core 5 Linux; I chose to install virtually everything from the installation DVD.

    Is there a way to get OpenGL via yum?

    Thanks in advance for your help.

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    opengl is a default part of fedora core 5. If you want to build OGL apps, you need to install the development libs... probably opengl-devel or something.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    25
    Yes, I know. I tried to install X11-OpenGL-devel-6.9.0-0.5.i586.rpm, but I was told that there were missing dependencies. Three different files were listed in the missing list. I downloaded each of the three files, but when I tried to install the first one of them, three more files were listed in the missing dependencies list. I downloaded those as well, but when I tried to install the first one, I encountered a similar problem.

    I just feel that there has to be a better way than to try out each rpm, find out about the missing dependencies, then try out the rpms for the dependencies, only to learn that each of those dependencies requires more files.

    I wonder if someone knows how to use yum to install the OpenGL development libraries.

  4. #4
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    yum install X11-OpenGL-devel

  5. #5
    Registered User
    Join Date
    Dec 2005
    Posts
    25
    I had already tried that. The error I got was:

    No Match for argument: X11-OpenGL-devel
    Nothing to do
    #
    The same thing happened for x11-opengl-devel:
    No Match for argument: x11-opengl-devel
    #
    This is also the result for all the obvious arguments I could think of: opengl-devel, and a few others.

  6. #6
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    I'm pretty sure you can search with yum, something along the lines of

    Code:
    yum search X11-OpenGL-devel
    See if it finds anything.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  7. #7
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Quote Originally Posted by Reisswolf
    Fedora Core 5 Linux; I chose to install virtually everything from the installation DVD.
    Are you sure you don't already have the OpenGL libraries installed? Try looking under the include and lib directories of X11.

  8. #8
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Are you linking the libs when you try to compile? something like this

  9. #9
    GA ichijoji's Avatar
    Join Date
    Nov 2002
    Posts
    179
    Video drivers usually come with the development libraries, especially for nvidia cards.
    Illusion and reality become impartiality and confidence.

  10. #10
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Fedora Core doesn't ship with any proprietary drivers, its 100% open source. If you don't install the development packages though, you might not have the headers. You will definately have the run-time libs though

  11. #11
    Registered User
    Join Date
    Dec 2005
    Posts
    25
    Thanks, everyone, for your responses.

    *****

    ahluka: the search returned nothing. No matches were found.

    *****

    Perspective: Yes, I did install the development libraries. I know I have the runtime libraries, but when I try out the exercises from some of the online tutorials, I find I cannot compile them because certain libraries are missing. I went to RPMSearch and hunted down the latest versions of the missing files. But each time I try to install the files, I am told that I need more files.

    Well, if there is no other way, I guess I'll just have to make time one day and download every single RPM that is required.

    *****

    Note: the tutorials I am trying out can be found at

    http://www.opengl.org/resources/code/samples/redbook/

  12. #12
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    can you post the command line your using to compile these samples? You need to link the libraries

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM