0

Hi basically I have been trying to set up the irrlicht engine with Visual Studio 2010 and after adding in the inlcude and library file paths it seems as though Visual Studio no longer recognises "stdafx.h" as a valid precompiler?? I know this has something to do with not being able to access this but i do not know how to change this without affecting the setup for irrlicht engine. Can someone share their words of wisdom to help me overcome this?

Thanks Lee

2
Contributors
3
Replies
14
Views
3 Years
Discussion Span
Last Post by Lee_2
0

When you created the project did you tell the wizard to use precompiled headers or did you uncheck that box? If it was left as the default (checked) then all *.cpp files must include stdafx.h as the very first include file. If the project contains any *.c files then you need to tell VS that they do NOT use precompiled headers.

0

well the project is not one which i created as it was one of the examples that was already part of the irrlicht download. There are several projects in one. However i am only running one. The errors i am getting are all relating to a ".h" file which i believe is actually present?? The picture below shows 246 errors relating to the same thing.

1e76e1ab13d2ee10fa82241126454bd1

0

sorry the picture is not particularly clear. The file it does not like is d3dx9math.h (x245) & CD3D9Texture.cpp (x1)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.