Skip to main content
gamedev.net
🔒 Locked

Help with tutorial 1

Started by fat_tony_123 Aug 22, 2000 at 9:15 PM 3 replies 550+ views
Original Post
fat_tony_123
fat_tony_123
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.
lunasol
lunasol
hi
what errors do you get?
lunasol
Ched45
Ched45
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
Quantum
Quantum
remember to link with opengl32.lib and glu32.lib
fat_tony_123
fat_tony_123
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.