Menu

OpenGL under Dev-C++

2002-12-28
2012-09-26
  • David Watson Jr.

    Hello, I'm writing a simple game engine in C++ with OpenGL.  I'm using the engine as a dll, and when I link the dll none of the gl functions are defined.  Do I need a definition file, or is this a bug in Dev-C++.  I've noticed if I compile as an .EXE everything works, so I'm pretty sure it is the .def file.  Any help is appreciated.

    By the way, great product.

     
    • Nobody/Anonymous

      You need to create a .a file to link with your .exe. Yes, you need the .def file for that .dll. If you have the .def file you can create a .a file using dlltool.exe.

       
    • David Watson Jr.

      OK, knew about the library file, off to make my .def file.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.