hello
i have problem with linking my program.
it compiles well but when i try to link it i get following errors:
unresolved external auxInitDisplayMode referenced from c:\firstgl.cpp
unresolved external auxInitPosition referenced from c:\firstgl.cpp
unresolved external auxInitWindowA referenced from c:\firstgl.cpp
and source:
Code:
#include <windows.h> // Standard Window header required for all programs
#include <conio.h> // Console I/O functions
#include <gl/glaux.h> //AUX Library functions
#include <gl/gl.h> // OpenGL functions
void main(void)
{
// These are the AUX functions to set up the window
auxInitDisplayMode(AUX_SINGLE | AUX_RGBA);
auxInitPosition(100,100,250,250);
auxInitWindow("My first OpenGL Program");
// These are the OpenGL functions that do something in the window
glClearColor(0.0f, 0.0f, 1.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
glFlush();
// Stop and wait for a keypress
cprintf("Press any key to close the Window\n");
getch();
}
im using borland 5.5