Thread: Good compiler for OpenGL (besides MS Visuial c++)

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    162

    Good compiler for OpenGL (besides MS Visuial c++)

    What is a good compiler for Win32 OpenGL programming? I dont' have Visuial C++, and I don't want to have to buy it. I currently use Dev-C++, but I don't seem to have a right library files nessisary. It gives an undefined reference to almost every OpenGL function. Also, exactly what support does Dev-C++ have with OpenGL? Thanks alot!

  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    You have to tell the compiler to link the opengl libraries into the project.
    Go to Project->Project Options
    Then add
    -lopengl32

    in the box that asks what other library files you want to load.
    It's the box next to the Load Library button.
    Try that.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Is ms visual c++ .net any good ?
    By The-Guy in forum C++ Programming
    Replies: 0
    Last Post: 07-04-2002, 07:51 AM
  2. need good compiler for pure DOS applications
    By toaster in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-28-2002, 06:18 PM
  3. Know a good C Compiler?
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 02-05-2002, 06:41 AM
  4. What is a good compiler for C++ newbs
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-17-2001, 08:57 PM
  5. what's a good compiler for games?
    By adamdalziel in forum Game Programming
    Replies: 18
    Last Post: 10-08-2001, 01:08 PM