Results 1 to 3 of 3

Thread: Linker Error

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2003
    Location
    Bielsko-Biala,Poland
    Posts
    12

    Linker Error

    I've included glaux.lib to my project.
    I've done the following steps:
    1.generate the glaux.lib using the run command.
    implib.exe glaux.lib glaux.dll
    2.the glaux.lib file I moved to folder /Lib
    3.in my project I added the line: #include <GL\glaux.h> and also
    #pragma comment (lib,"glaux.lib")
    And if I try to compile any project the linker error appears, something like this:
    [Linker Error] Unresolved external'auxDisplayMode'referenced from ...\file.obj
    The same project works well at school.
    You know I don't have a clue what's the hell's goin' on !!!
    btw. I use Borland C++ Builder 6(like at school)
    I also tried to use the glut library in my project and the linker alse appear (unresolved external'glut...')
    I think the problem is because my Borland C++ is not installed in a default directory(whats more it is installed in another phisical disc)
    Maybe there are some options which I have to set int Borland ???

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2003
    Location
    Siauliai, Lithuania
    Posts
    5

    Re: Linker Error

    I had such a problem. I'm using Borland C++ 6 writing graduation dissertation. Try to include:
    #include <gl\gl.h>
    #include <gl\glu.h>

    or delete curent form and create new form.

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2003
    Location
    Siauliai, Lithuania
    Posts
    5

    Re: Linker Error

    if you want i can send you a simple code: lines in a form

Similar Threads

  1. Linker error
    By Zhugie in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-18-2007, 12:29 PM
  2. Linker error
    By Loffen in forum OpenGL: Windows
    Replies: 1
    Last Post: 08-19-2005, 04:53 AM
  3. Linker Error
    By Suf in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-16-2002, 08:43 AM
  4. linker error need help!!!!!!!!!!!!!!!!!!!!!!!
    By incus in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 05-17-2002, 10:31 PM
  5. Linker error
    By JodoKaast in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 01-25-2002, 01:59 PM

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