andyg
06-11-2002, 01:58 AM
Help please! Complete Newbie using the above compiler am unable to link even the most simple app:
----------------------------------------
#include <windows.h>
#include <freeglut.h>
using namespace std;
int main(int argc, char** argv)
{
glutInit(&argc, argv);
}
---------------------------
Error given is:
Link error: Undefined symbol: __imp__glutInit@8
---------------------------
Am I using the wrong library? Also, I had to alter the embedded include directives from
#include "GL\gl.h" to #include "gl.h"
in order to get anywhere....
Any suggestions much appreciated!
----------------------------------------
#include <windows.h>
#include <freeglut.h>
using namespace std;
int main(int argc, char** argv)
{
glutInit(&argc, argv);
}
---------------------------
Error given is:
Link error: Undefined symbol: __imp__glutInit@8
---------------------------
Am I using the wrong library? Also, I had to alter the embedded include directives from
#include "GL\gl.h" to #include "gl.h"
in order to get anywhere....
Any suggestions much appreciated!