Holy Crap iv Just done the Imposable!!!
Iv out done even my self...
Ill try to keep this short,
I Maneged to get 27 errors from a DDutil.cpp file that
i didnt wright(needless to say...)
I dont know how but all i did was change the #include "DDutil.h"
to < > instead of " " and then back again
and yes i put DDutil.h in my rescorces and allso copyed it to my regular include dir... so i have one in both so it dosent matter how i call it it should work!!!
?
so whats my problem??? and i call the DDutil.h from my cpp file
so do i need to somewhare tell my cpp file about DDutil.cpp some how...
thats the only problem i see!?
so if you can help... much abliged
Keep conjuring the undead, my friends...
Keep conjuring the undead, my friends...
tell us what the errors are
"Now go away or I shall taunt you a second time"
- Monty Python and the Holy Grail
themGames Productions
"Now go away or I shall taunt you a second time"
- Monty Python and the Holy Grail
themGames Productions
ok you asked for it:
c:\program files\microsoft visual studio\vc98\include\ddutil.h(16) : error C2143: syntax error : missing '';'' before ''*''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(16) : error C2061: syntax error : identifier ''IDirectDraw''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(16) : error C2501: ''DDLoadPalette'' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(17) : error C2143: syntax error : missing '';'' before ''*''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(17) : error C2061: syntax error : identifier ''IDirectDraw''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(17) : error C2501: ''DDLoadBitmap'' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2065: ''pdds'' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2275: ''LPCTSTR'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\winnt.h(196) : see declaration of ''LPCTSTR''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2146: syntax error : missing '')'' before identifier ''szBitmap''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2078: too many initializers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2275: ''LPCTSTR'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\winnt.h(196) : see declaration of ''LPCTSTR''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2059: syntax error : '')''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2275: ''HBITMAP'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(232) : see declaration of ''HBITMAP''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2146: syntax error : missing '')'' before identifier ''hbm''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2078: too many initializers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2275: ''HBITMAP'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(232) : see declaration of ''HBITMAP''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2059: syntax error : '')''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2275: ''COLORREF'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(281) : see declaration of ''COLORREF''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2146: syntax error : missing '')'' before identifier ''rgb''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2078: too many initializers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2275: ''COLORREF'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(281) : see declaration of ''COLORREF''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2059: syntax error : '')''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2275: ''COLORREF'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(281) : see declaration of ''COLORREF''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2146: syntax error : missing '')'' before identifier ''rgb''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2078: too many initializers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2275: ''COLORREF'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(281) : see declaration of ''COLORREF''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2059: syntax error : '')''
C:\WINDOWS\Desktop\Moo!\Graphics\Graphics.cpp(230) : error C2660: ''DDLoadBitmap'' : function does not take 4 parameters
Error executing cl.exe.
sad huh
graphics.cpp is my file...
so what do you think?
Keep conjuring the undead, my friends...
c:\program files\microsoft visual studio\vc98\include\ddutil.h(16) : error C2143: syntax error : missing '';'' before ''*''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(16) : error C2061: syntax error : identifier ''IDirectDraw''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(16) : error C2501: ''DDLoadPalette'' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(17) : error C2143: syntax error : missing '';'' before ''*''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(17) : error C2061: syntax error : identifier ''IDirectDraw''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(17) : error C2501: ''DDLoadBitmap'' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2065: ''pdds'' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2275: ''LPCTSTR'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\winnt.h(196) : see declaration of ''LPCTSTR''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2146: syntax error : missing '')'' before identifier ''szBitmap''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2078: too many initializers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2275: ''LPCTSTR'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\winnt.h(196) : see declaration of ''LPCTSTR''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(18) : error C2059: syntax error : '')''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2275: ''HBITMAP'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(232) : see declaration of ''HBITMAP''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2146: syntax error : missing '')'' before identifier ''hbm''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2078: too many initializers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2275: ''HBITMAP'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(232) : see declaration of ''HBITMAP''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(19) : error C2059: syntax error : '')''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2275: ''COLORREF'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(281) : see declaration of ''COLORREF''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2146: syntax error : missing '')'' before identifier ''rgb''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2078: too many initializers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2275: ''COLORREF'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(281) : see declaration of ''COLORREF''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(20) : error C2059: syntax error : '')''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2275: ''COLORREF'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(281) : see declaration of ''COLORREF''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2146: syntax error : missing '')'' before identifier ''rgb''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2078: too many initializers
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2275: ''COLORREF'' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\windef.h(281) : see declaration of ''COLORREF''
c:\program files\microsoft visual studio\vc98\include\ddutil.h(21) : error C2059: syntax error : '')''
C:\WINDOWS\Desktop\Moo!\Graphics\Graphics.cpp(230) : error C2660: ''DDLoadBitmap'' : function does not take 4 parameters
Error executing cl.exe.
sad huh
graphics.cpp is my file...
so what do you think?
Keep conjuring the undead, my friends...
Keep conjuring the undead, my friends...
I just love it when I do something extremely stupid like put a semicolon at the end of a #define statement and get 102 errors What''s even better is the fact that I only get 102 errors because C++ stops compiling after getting so many
==============================
"Need more eeenput..."
- #5, "Short Circuit"
==============================
==============================
"Need more eeenput..."
- #5, "Short Circuit"
==============================
Drew Sikora
Executive Producer
GameDev.net
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement