Find the answer to your Linux question:
Results 1 to 3 of 3
i started working on openGL and it feels like ages and still my programs do not compile... wtf... i says library missing... when i compile with -c option it compiles ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2

    Exclamation openGL with Suse

    i started working on openGL and it feels like ages and still my programs do not compile... wtf...
    i says library missing... when i compile with -c option it compiles so i guess there is some linking problem...
    has anybody ever compiled a program on suse.. please give me the exact command you use and also what glut libraries you used and where you downloaded them...

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Most will require the development packages. You may have the required library files but you need the development package to link new code.

    The development package can be found in the same repository as the binary package in most cases.

  3. #3
    Just Joined! SnagaDuath's Avatar
    Join Date
    Aug 2007
    Location
    South Africa
    Posts
    52
    You can install freeglut from the openSuse DVD with yast. Remeber to install the freeglut-devel package too.

    Then use these flags to compile:

    -g -L/usr/X11R6/lib -lglut -lGLU -lXmu -lX11 -lXi -lm -c

    And the same flags to link:

    -g -L/usr/X11R6/lib -lglut -lGLU -lXmu -lX11 -lXi -lm -o


    Hope that helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...