Page 1 of 1

Unable to Compile code

Posted: 2006-09-27, 12:52
by rollace2001
Hi, Joined newly :)

Thanx to Carsten for his service towards gamers and developers....

But, I am unable to compile the source code with MS Visual C++ 2005.

Error:"Unable to include "windows.h";

Header file:"windows.h" is not there in C++2005
So, if I comment that line in Deathmatch.cpp, I get a whole lot error
like DLL_ATTACH....

Anybody could help me. I am using the latest available download.
Thanx in advance...

Posted: 2006-09-27, 14:55
by Carsten
Hi rollace,

welcome to the Ca3DE forums! :cheesy:

The problem is that you most likely have installed the compiler, but not the Microsoft Platform SDK, which contains the missing header file.

I'm currently in a hurry, sorry, but I'll look up and post the links to the Platform SDK later today.

Posted: 2006-09-28, 04:44
by John
Hi rollace

Yes, it sounds like you don't have the platform SDK installed.
You can take a look at this link. It explains how to use VC Express with the platform SDK.

http://msdn.microsoft.com/vstudio/expre ... usingpsdk/

That should fix the problem

Posted: 2006-10-09, 03:37
by desirefx
I am also getting a missing file error but the missing file I am getting is consolecommands/console.hpp.

I am using the latest sdk available.

Posted: 2006-10-09, 12:14
by Carsten
Argh, sorry, yet another bug in the Sept 2006 SDK package.
Please pick up the missing file here:
http://carsten.ca3de-community.de/tempStuff/Console.hpp

You'll have to create a new subdirectory with name ConsoleCommands inside the Ca3DE/Libs directory and place the Console.hpp file there.

Posted: 2006-10-09, 18:42
by desirefx
no prob.