Results 1 to 2 of 2

Thread: OpenGL / LccWin32

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2004

    OpenGL / LccWin32

    I can't seem to compile any code involving images. It says DIBAUXImageLoad or something similar is undefined. Is there a way to manually define it, do I need an extra library or something?

    I'm using the LCC-WIN32 code from NeHe's 6th OpenGL Tutorial...

    Thanks for any and all help.

  2. #2
    Junior Member Newbie
    Join Date
    Jun 2004

    Re: OpenGL / LccWin32

    I use LCCWin with OpenGL too.
    Sounds like you're not linking your sources to some required libraries.

    Check to see that you're linking to glaux.lib, glu32.lib and opengl32.lib.
    Also define your subsystem as "windows".

    Here's what I pass LCC;

    Code :
    d:\lcc\bin\lcc.exe -fno-inline -ansic -O2 myprog.c
    d:\lcc\bin\lcclnk.exe -s -subsystem windows -o myprog.exe myprog.obj opengl32.lib glu32.lib
    del myprog.obj
    Place that in a batchfile and change the source file names to match yours, and it should compile nicely.

Similar Threads

  1. GLFW and LCCwin32
    By lightweaver in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-03-2002, 12:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean