Stupid question: linker can't find windows.h

FictiousWill

Newbie
Joined
Jul 22, 2003
Messages
2,658
Reaction score
1
Ooookay. This is rather embarassing.

I've cleared out all errors I can find trying to compile a new mod, such as lack of declarations and type errors and such (thanks valve), but the linker can't find windows.h, even though I've specified the include directory in the project options. What gives? I'm not used to this IDE, I'm using the VS 2005 C++ beta.

Code:
c:\*snip*\src\public\tier0\memoverride.cpp(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory

arg wtf! This new Visual Studio is fancy looking and confusing, I last used VC98. Somebody please steer me in the right direction?
 
Sigh.

In conjunction with the Microsoft Platform SDK for Windows XP SP2, of course.

I have msvc++98 (vc6.0) libraries at my disposal too.


Care to help some more? Beta != doesn't work.
There have been hundreds of people who have compiled the source code using the vc05beta. I'm one step away from it. Which, as I have found by searching your posts, is a damn sight farther than you.


EDIT: Got it working, ha ha!
 
Actually, I did get my mod working using VS6, it's just a survival mod to see how long you can last, simple map, with weapon and health spawns on either side, and then monsters come in waves, it uses all default models, but the weapons are slightly moded to my liking.
I found reading about stuff actually helped me, and I didn't need to ask as many questions :p

Edit: That's not directed to you, I went into the mod thinking I could do it all without reading, I was proven wrong, I have read quite a bit about it now.
 
Back
Top