Results 1 to 6 of 6

Thread: Newbe: Is OpenGL already installed on my system?

  1. #1
    Member Newbie
    Join Date
    Apr 2001
    Posts
    36

    Newbe: Is OpenGL already installed on my system?

    I just recently installed
    Mandrake 7.2 and did the reccomended install, then chose FULL install.

    I found glut libraries in my /usr/X116/lib

    but I can't find any gl.h or glu.h or anything like that on my computer.

    Do I have to install these or am I just not finding them?

    Basically what do I need to do to get OpenGL program's compiling and running on my Mandrake 7.2

    thanks

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    417

    Re: Newbe: Is OpenGL already installed on my system?

    You need to install the development RPMS.

    Specifically, XFree86-devel and Mesa-common-devel, and maybe some other ones.

    Cheers.

  3. #3
    Member Newbie
    Join Date
    Apr 2001
    Posts
    36

    Re: Newbe: Is OpenGL already installed on my system?

    Thanks, XFree86-devel was already installed,
    but I can't find Mesa-common-devel on my CD's or anything, is there somewhere I can download it? I looked for it at www.linux-mandrake.com but I just kept getting sent in circles, never finding the file to download.

  4. #4
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    417

    Re: Newbe: Is OpenGL already installed on my system?


  5. #5
    Member Newbie
    Join Date
    Apr 2001
    Posts
    36

    Re: Newbe: Is OpenGL already installed on my system?

    Thanks, I actually found it on my extra's CD and installed it..worked great. got my program to compile and run.

    Now I have another problem, in another one of my opengl programs it uses sqrt, sin, cos functions from math.h

    but I get undefined refrence to 'sqrt'

    I'm sure it something stupid, but I'm just learning this gcc...never really used it before I always used VC++ on windows.

  6. #6
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    417

    Re: Newbe: Is OpenGL already installed on my system?

    You need to link in the math library.

    Add -lm to the end of your gcc options.

Similar Threads

  1. opengl 1.2 not installed
    By damiankesser in forum OpenGL: User Software
    Replies: 0
    Last Post: 06-11-2004, 03:20 PM
  2. I installed opengl sdk now how do i use it?
    By guzba in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-08-2003, 11:50 AM
  3. newbe in need of a lot of help
    By LiquidFlame in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-21-2002, 06:12 AM
  4. Newbe problem
    By in forum OpenGL: User Software
    Replies: 6
    Last Post: 12-05-2002, 03:19 PM
  5. Newbe question!!
    By imported_Erik in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-10-2001, 04:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean