PROBLEM!!!
I have a problem with andre lamothes book, twgpg i can''t even compile the first project...the first one is a game called freakout, i am trying to modify he code to make some changes to the game..I goto file new then, win32 application, empty project...Yeah I have a workspace, then I add all the files from the ch.1 folder then compile, I get four errors...
I need to compile the 3 files so I can get going..
These four--------------------Configuration: One - Win32 Debug--------------------
Compiling...
blackbox.cpp
c:\mygp\source\t3dchap01\blackbox.h(34) : error C2146: syntax error : missing '';'' before identifier ''lpdd''
c:\mygp\source\t3dchap01\blackbox.h(34) : fatal error C1004: unexpected end of file found
freakout.cpp
c:\mygp\source\t3dchap01\blackbox.h(34) : error C2146: syntax error : missing '';'' before identifier ''lpdd''
c:\mygp\source\t3dchap01\blackbox.h(34) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
One.exe - 4 error(s), 0 warning(s)
Can some one please help me out, because I am loosing muy motivation already..Thanks
Too lazy to think!
January 13, 2001 10:36 AM
sounds like you haven''t included the ddraw headers. I don''t have the book, so I don''t know the code
#include "ddraw.h"
maybe?
#include "ddraw.h"
maybe?
Have you set up the include and library folders for the directX SDK in your compiler?
If you are using Visual C++ I can help you because I had the same errors when I first got the book, email me Zeke000000@aol.com if you havent got it sorted.
Just my thoughts take them as you will.
"People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
If you are using Visual C++ I can help you because I had the same errors when I first got the book, email me Zeke000000@aol.com if you havent got it sorted.
Just my thoughts take them as you will.
"People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
Just my thoughts take them as you will. "People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement