Thread: C OpenGL Compiler Error?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    47
    No, that gives me more errors. I think those includes are already in the Glut.h file. I think there is a DevPak I'm supposed to download.

  2. #2
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Question

    Same problem. I have downloaded the OpenGL devpacks through the tools->check for updates/packages
    I still get whacked errors like this:

    A3.o(.text+0xc0e): In function `Z4idlev': C:/.../A3.c:280: undefined reference to `glutGet'

    A3.o(.text+0xdb0): C:/.../A3.c:314: undefined reference to `glutPostRedisplay'

    A3.o(.text+0x1002): In function `Z7displayv': C:/.../A3.c:368: undefined reference to `glutSwapBuffers'

    I have been trying to figure this out for weeks...
    I originally wrote the code in linux, actually, but that shouldnt matter with c++, and i have gotten regular glu programs to work, just not glut or glui ones

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 05:27 AM