View Full Version : how to compile ?
04-28-2002, 12:44 PM
...i get the open gl library...and i put it in the c:\BC5\INCLUDE\*.H and the c:\BC5\LIB\*.LIB directories, but when i want to compile, there is full of errors....the compiler say 'invalid sintaxis' in the *.h files....what happend ? ? ? what i must to do before ?
pd: my english excuses, i from South-america
04-28-2002, 04:38 PM
I'm not sure if this will help you, because it seems like you are using a Borland compiler and I use Visual C++ 6.0, however, I too received similiar errors once in the OpenGL .H files when I forgot to include windows.h in my code (I was trying to compile a simple example from the Red Book).
Sorry I can't help out more, good luck to you!
- = TEFLON DRAGON = -
04-29-2002, 06:37 AM
It does sound like you forgot to #include <windows.h> Also, you have to do that BEFORE #include <GL/gl.h>
One more thing... where'd you get the headers and libraries from? If you have VC++ libs, you are going to get linker errors next saying invalid library format.
[This message has been edited by Deiussum (edited 04-29-2002).]
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.