compiler won't find the included opengl files

This is a discussion on compiler won't find the included opengl files within the C++ Programming forums, part of the General Programming Boards category; I have Dev-C++. I installed opengl directly into my Dev-C++ folder and then went to Project-Project options- directories. I didn't ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    465

    compiler won't find the included opengl files

    I have Dev-C++. I installed opengl directly into my Dev-C++ folder and then went to Project-Project options- directories. I didn't know which folder the opengl stuff was in so I added them all to both library directories and include directories. Could someone please help me out?
    My computer is awesome.

  2. #2
    Banned
    Join Date
    Oct 2004
    Posts
    250
    Just put the files you want to use in your compiler's include directory and you should be ready to go.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,498
    For the compiler,
    You add "opengl/include" to the include directory paths and "opengl/lib" to the library directory paths.

    For the linker,
    You add the names of opengl libraries to the "additional libraries" section.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  2. Does vc++ 6 (visual studio 6) supply opengl compiler
    By jaylc185 in forum C++ Programming
    Replies: 2
    Last Post: 05-20-2005, 12:25 AM
  3. Wehre to find good header files for C?
    By SupremeOmnipotence in forum C Programming
    Replies: 1
    Last Post: 01-16-2002, 01:04 PM
  4. Find all files with extension in a directory
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 12-17-2001, 12:45 AM
  5. opengl .h files
    By Unregistered in forum Game Programming
    Replies: 3
    Last Post: 10-18-2001, 08:32 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21