Problem with engine Build

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Problem with engine Build

Post by Chandler »

Every time I go to build the engine I get these errors...

------ Build started: Project: Irrlicht, Configuration: Debug Win32 ------
Compiling...
os.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\os.cpp(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Irrlicht.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\irrlicht.cpp(10) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
COSOperator.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cosoperator.cpp(9) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
CIrrDeviceWin32.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cirrdevicewin32.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
CD3D9Texture.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d9texture.h(13) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
CD3D9ShaderMaterialRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d9shadermaterialrenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
CD3D9ParallaxMapRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d9parallaxmaprenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
CD3D9NormalMapRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d9normalmaprenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
CD3D9HLSLMaterialRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d9shadermaterialrenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
CD3D9Driver.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d9driver.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
CD3D8Texture.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8texture.h(13) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
CD3D8ShaderMaterialRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8shadermaterialrenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
CD3D8ParallaxMapRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8parallaxmaprenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
CD3D8NormalMapRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8normalmaprenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
CD3D8Driver.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8driver.h(15) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
COpenGLTexture.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\copengltexture.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
COpenGLSLMaterialRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\copenglslmaterialrenderer.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
COpenGLShaderMaterialRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\copenglshadermaterialrenderer.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
COpenGLParallaxMapRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\copenglshadermaterialrenderer.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
COpenGLNormalMapRenderer.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\copenglshadermaterialrenderer.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Compiling...
COpenGLDriver.cpp
f:\program files\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\copengldriver.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Build log was saved at "file://f:\Program Files\irrlicht-1.0\irrlicht-1.0\source\source\Debug\BuildLog.htm"
Irrlicht - 21 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I do have windows.h, have it in the folder, but it is an older version, from Visual studio 6.1

any help would be awesome
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

There is no error because of an wrong version, windows.h can not be found (as the compiler said)...
So there must be something wrong with your compiler's path settings...
Where is your windows.h stored ???
It has to be in the compilers default include directory !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

alright well i got the windows part fixed...i think.. but what about d3d9.h?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

YXOu'll have to download and install the MS directx sdk...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

so i already did that a while ago, in fact, do I have to wait for google desktop to find it or should i go fishing myself?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

What do you mean ???
Where to find MS products ???
I would try the MS website... ;)

http://www.microsoft.com/downloads/deta ... layLang=en
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

no my hd is so big i can't remember wher i installed it
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

These are the new errors

------ Build started: Project: Irrlicht, Configuration: Debug Win32 ------
Compiling...
CD3D8Texture.cpp
c:\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8texture.cpp(21) : fatal error C1083: Cannot open include file: 'd3dx8tex.h': No such file or directory
CD3D8ShaderMaterialRenderer.cpp
c:\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8shadermaterialrenderer.h(13) : fatal error C1083: Cannot open include file: 'D3dx8core.h': No such file or directory
CD3D8ParallaxMapRenderer.cpp
c:\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8shadermaterialrenderer.h(13) : fatal error C1083: Cannot open include file: 'D3dx8core.h': No such file or directory
CD3D8NormalMapRenderer.cpp
c:\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8shadermaterialrenderer.h(13) : fatal error C1083: Cannot open include file: 'D3dx8core.h': No such file or directory
CD3D8Driver.cpp
c:\irrlicht-1.0\irrlicht-1.0\source\source\irrlicht\cd3d8shadermaterialrenderer.h(13) : fatal error C1083: Cannot open include file: 'D3dx8core.h': No such file or directory
Generating Code...
Build log was saved at "file://c:\irrlicht-1.0\irrlicht-1.0\source\source\Debug\BuildLog.htm"
Irrlicht - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
can't find anything for the life of me
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Well, you get further... ;)
Did you do a search for the D3dx8core.h and d3dx8tex.h file on your system ???
They are files from the directx sdk...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

yes i did, i personally went into my SDK folder, and it only has the ones for dx9


did they put it in the april one? because i am using the Feb 2k6 sdk
TheRLG
Posts: 372
Joined: Thu Oct 07, 2004 11:20 pm

Post by TheRLG »

did u set up the include folders in your project settings correctly?
luigi2004
Posts: 12
Joined: Sat May 27, 2006 3:49 am

Post by luigi2004 »

its in the directx 8.1 sdk you can download it from gameres.com [chinese site]
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

well i must say thank you very much...

Now another problem and it should be the last one...where should i place the GDI32.LIB?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Well, anywhere you want to...
Just be sure the path is includet to your project !!! ;)
Now, normaly it should be in the compilers lib folder...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

great another error... jesus i hate Visual Studio express ( and spending money :D )

now i'm getting this error. whic means i'm missing it and i'm getting tired of hunting for these.

here's the error
Output Window
Linking...
Irrlicht.obj : warning LNK4224: /COMMENT is no longer supported; ignored
LINK : fatal error LNK1104: cannot open file 'd3dx8.lib'

(GAH!)
Post Reply