Unable to Compile code

Get technical support about the C++ source code and about Lua scripts for maps, entities, GUIs, the console, materials, etc. Also covered are the Cafu libraries and APIs, as well as compiling, linking, and the build system.
Post Reply
rollace2001
Posts:1
Joined:2006-09-26, 12:54
Location:India
Contact:
Unable to Compile code

Post by rollace2001 » 2006-09-27, 12:52

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...
rollace
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Post by Carsten » 2006-09-27, 14:55

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.
Best regards,
Carsten
John
Posts:4
Joined:2004-08-23, 07:48

Post by John » 2006-09-28, 04:44

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
desirefx
Posts:20
Joined:2006-10-03, 05:53

Post by desirefx » 2006-10-09, 03:37

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.
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Post by Carsten » 2006-10-09, 12:14

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.
Best regards,
Carsten
desirefx
Posts:20
Joined:2006-10-03, 05:53

Post by desirefx » 2006-10-09, 18:42

no prob.
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests