Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: Just started OpenGL, having massive problems-

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2011
    Location
    California
    Posts
    3

    Just started OpenGL, having massive problems-

    Hey guys, I'm new to the forum (and OpenGL in general) and I've been having a bit of a major problem compiling a program. I recently acquired the OpenGL Superbible 4th Edition, and upon compiling the first program, it says "libc.lib" not found while linking. From what I've read, its because the included freeglut_static.lib isn't compiled multithreaded, so it doesn't work. I'm having trouble finding a freeglut_static.lib file that is multithreaded so could someone help me? I need either a precompiled freeglut_static.lib file that would work, or instructions on what to do to fix this file. Thanks in advance!

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Karachi, Pakistan
    Posts
    810

    Re: Just started OpenGL, having massive problems-

    just download freeglut and build the library on your machine as u wish.
    Regards,
    Mobeen

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2011
    Location
    California
    Posts
    3

    Re: Just started OpenGL, having massive problems-

    I'm not sure which version the openGL superbible 4th edition uses, and if it matters. I'm also not too good at building libraries myself, so I don't really know how to make a static library of freeglut. I was hoping someone had the freeglut_static.lib file that was multithreaded, it was uploaded somewhere but the page doesn't work anymore.

  4. #4
    Junior Member Newbie
    Join Date
    Jul 2011
    Location
    California
    Posts
    3

    Re: Just started OpenGL, having massive problems-

    Can someone please help me, at least tell me how to compile the multi-threaded version of freeglut_static.lib? I tried it myself and got the same error. Or can someone upload the compiled version for me?

  5. #5
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Karachi, Pakistan
    Posts
    810

    Re: Just started OpenGL, having massive problems-

    I tried it myself and got the same error.
    Could u share with us the errors that u get during compilation?
    Regards,
    Mobeen

  6. #6
    Junior Member Newbie
    Join Date
    May 2011
    Location
    Italy
    Posts
    16

    Re: Just started OpenGL, having massive problems-

    (under windows, vs)project properties ->linker -> input -> ignore specific libraries -> insert "libc.lib"

Posting Permissions

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