|
From: Daniel W. <dan...@ta...> - 2004-01-30 16:39:34
|
I am trying to compile a basic example from the openGL site, alpha3d.c. (http://www.opengl.org/resources/code/basics/redbook/index.html) =20 At first I was getting a number of undefined references. =20 =20 After going through a number of postings on bloodshed for including links, then not including some links but try this link, I am down to two linker errors...=20 =20 g++: Compilation of header file requested g++: file path prefix `C:\DEV-C_~1\Bin\' never used Here are the two files I have linked in...=20 C:\Dev-C++\Include\Gl\glut.h=20 C:\Dev-C++\Lib\glut32.lib =20 I have also set the comppiler option to support All ANSI C.=20 =20 And here are the include lines at the opening of the script...=20 =20 #include <Gl/glut.h> #include <stdlib.h> #include <stdio.h> =20 Is there a certain order the includes should be in?=20 I am using glut 3.7.6=20 =20 Thanks in advance,=20 DWW =20 |