Advertisement

Help with tutorial 1

Started by August 22, 2000 09:15 PM
3 comments, last by fat_tony_123 24 years, 3 months ago
I copied tutorial 1 from Nehe''s tutorials word for word, but when I try to compile it on Borland''s C++ command line compiler 5.5, I get about 20 error messages. I sent an e-mail to the big cheese himself, but I don''t know if he can help me. Any suggestions? Thanks.
hi
what errors do you get?
lunasol
Advertisement
I use C++ Builder to do my OGL apps. U need the libs converting into Borland format.....theres a few ppls web pages that have them already converted for you. Try this page, thats where I got mine from, plus this page has instructions for using Borland compilers, IMHO its an excellent page.

http://home.clara.net/paulyg/ogl.htm


Some great tutorials too

Chances are thats whats wrong
Hope it helps




--Ched--
chris@ched45.com
--Ched--chris@ched45.com
remember to link with opengl32.lib and glu32.lib
I looked at the suggested website, but it didn''t have the same depth of resources that NeHe has, and I don''t really want to mix source from two different websites.

Now, for the errors, most of them are caused by lines 241-243. I get the following errors when I compile:
"Declaration terminated incorrectly"
"Type name expected"
"Type mismatch in redeclaration of ''__stdcall SetForegroundWindow(HWND__ *)''"
"Illegal initialization"
") expected"
"Multiple declaration for ''ReSizeGLScene(int,int)''"
"Earlier declaration of ''ReSizeGLScene(int,int)''" and
"Unexpected }"

You guys stay up pretty late, or are you from Australia? Anyway, any help would be welcome. I''m probably making a stupid mistake. Thanks.

This topic is closed to new replies.

Advertisement