Game Development Community

compiling errors in t3d 3.0

by Kory Imaginism · in Torque 3D Professional · 09/24/2013 (4:55 pm) · 8 replies

I tried compiling T3D 3.0 and received some errors. I think I know were it' coming from but I have no idea what to do to fix the error. Maybe someone come look at the console and help me find out what is going on.

Thanks

1>------ Build started: Project: Full DLL, Configuration: Release Win32 ------
1>  gfxD3D9CardProfiler.cpp
1>  gfxD3D9Cubemap.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxD3D9Device.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxD3D9Device.regen-states.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxD3D9OcclusionQuery.cpp
1>  gfxD3D9PrimitiveBuffer.cpp
1>  gfxD3D9QueryFence.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxD3D9Shader.cpp
1>  gfxD3D9TextureManager.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxD3D9TextureObject.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxD3D9VertexBuffer.cpp
1>  screenshotD3D9.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  videoCaptureD3D9.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxD3D9Device.pc.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxD3D9PrimitiveBuffer.pc.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  gfxPCD3D9Device.cpp
1>  gfxPCD3D9Target.cpp
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
1>  sfxXAudioBuffer.cpp
1>  sfxXAudioDevice.cpp
1>../../../../../Engine/source/sfx/xaudio/sfxXAudioBuffer.h(26): fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
1>  sfxXAudioProvider.cpp
1>  sfxXAudioVoice.cpp
1>..\..\..\..\..\Engine\source\sfx\xaudio\sfxXAudioProvider.cpp(26): fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
1>../../../../../Engine/source/sfx/xaudio/sfxXAudioVoice.h(26): fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
1>../../../../../Engine/source/sfx/xaudio/sfxXAudioVoice.h(26): fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
1>../../../../../Engine/source/gfx/D3D9/gfxD3D9Device.h(31): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
2>------ Build started: Project: Full, Configuration: Release Win32 ------
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Torque\T3D 3.0\My Projects\New Project\buildFiles\VisualStudio 2008\projects\../../Link/VC2k8.Release.Win32\Full.exe) does not match the Linker's OutputFile property value (C:\Torque\T3D 3.0\My Projects\New Project\game\Full.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
2>LINK : fatal error LNK1181: cannot open input file 'C:\Torque\T3D 3.0\My Projects\New Project\buildFiles\Link\VC2k8.Release.Win32\Full DLL.lib'
========== Build: 0 succeeded, 2 failed, 14 up-to-date, 0 skipped ==========

#1
09/24/2013 (6:04 pm)
Ok solved most of the issues from above but now I have this error


12>  stdafx.cpp
12>c:\torque\t3d 3.0\my projects\new project\web\source\activex\stdafx.h(41): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
========== Build: 11 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========
#2
09/24/2013 (7:16 pm)
That's the IE <ProjectName> Plugin project that won't build under Express editions of Visual Studio. You can safely ignore that by right-clicking on it and selecting Remove to remove it from the solution and then perform another solution build to get it to finish building successfully.
#4
10/29/2013 (5:23 am)
Hi, Kory

I'm having similar issues... With the d3d stuff and the "projectname".lib file... Would you mind sharing how you fixed it?

#Edit: Also just for the sake of it.. I'm adding this http://www.garagegames.com/community/blogs/view/20969 to Torque although i don't see any errors referring to the code of the db stuff.

Thanks
MJ
#5
10/29/2013 (7:14 am)
If you're getting d3d errors similar to the original poster you need the DirectX 9.0 SDK.
#6
10/29/2013 (11:27 pm)
Thanks Andrew... I figured that after I went through many other posts, Thanks though I'll get that and then check what happens.. Since I also get this 2>LINK : fatal error LNK1181: cannot open input file 'C:\Torque\T3D 3.0\My Projects\New Project\buildFiles\Link\VC2k8.Release.Win32\Full DLL.lib', error
#7
10/30/2013 (6:53 am)
Yup - without the DXSDK the project can't build the engine library, so naturally the linker can't open it.
#8
10/30/2013 (11:16 am)
Ah finally thanks! It worked yay im so glad :D every little step I take.. I'm just falling more and more in love with this engine!! Now I can test out the use of a database!!...

still getting this one 'atlbase.h' error.. I read somewhere you can just skip it or something anyways.
Thanks
MJ