Compiling
by Gordon Griggs · in Torque Game Engine Advanced · 08/15/2006 (6:19 pm) · 23 replies
I just got torque a few days ago. I liked it so I decided to get the shader engine. I had not idea that I would be spending all day setting up programs just to download it. Then I have to put it together. Im totally lost here. I spent hours just setting things up to download it. Not much problem there since the instructions were very easy to understand.
But now I have all these files on my computer I don't even know where to start. I downloaded a compiler and got it working. But I have no idea of what to compile. I read the documents on compiling Torque but Im not compiling torque. Im trying to compile The shader. And I need excact instructions since there in no room for errors.
So can anyone now tell me how to get this up and running?
Thanks!
Gordon
But now I have all these files on my computer I don't even know where to start. I downloaded a compiler and got it working. But I have no idea of what to compile. I read the documents on compiling Torque but Im not compiling torque. Im trying to compile The shader. And I need excact instructions since there in no room for errors.
So can anyone now tell me how to get this up and running?
Thanks!
Gordon
About the author
#2
The Torque Shader Engine *is* Torque. Torque with a newer graphics Engine. It should have downloaded to a folder called "tse" wherever you saved it to. In that folder there is another folder called "vs8", which is where the Visual Studio 8 (2005) Solution and Project Files are. I opened "TSE SDK.sln" and just hit build and it compiled fine, even without setting the working folder, though I do recommend setting that.
To me this is what it sounds like you're trying to do. At this point you will end up with a file called "TSE_DEBUG.exe" in the "tse\examples" folder, which you then use pretty much like you use TGE.
HTH.
08/16/2006 (7:11 pm)
I'm new here so what I say may not be correct, but seeing I downloaded and compiled it within 15 minutes I feel like I may know what you're doing wrong.The Torque Shader Engine *is* Torque. Torque with a newer graphics Engine. It should have downloaded to a folder called "tse" wherever you saved it to. In that folder there is another folder called "vs8", which is where the Visual Studio 8 (2005) Solution and Project Files are. I opened "TSE SDK.sln" and just hit build and it compiled fine, even without setting the working folder, though I do recommend setting that.
To me this is what it sounds like you're trying to do. At this point you will end up with a file called "TSE_DEBUG.exe" in the "tse\examples" folder, which you then use pretty much like you use TGE.
HTH.
#3
copy of the entire log. But I just posted the errors here. Anyone have any ideas?
Thanks!
Gordon
c:\tse\lib\libqslim\mixmsg.cxx(79) : warning C4996: 'vsprintf' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
MxBlockModel.cxx
c:\tse\lib\libqslim\mxblockmodel.cxx(135) : warning C4996: 'strdup' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\string.h(205) : see declaration of 'strdup'
Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for det
c:\tse\engine\atlas\resource\atlastexchunkd3d.cpp(6) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
c:\tse\engine\atlas\atlastqtfiled3d.cpp(8) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Compiling...
winTime.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winThread.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winStrings.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winSemaphore.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winRedbook.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winProcessControl.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winOpenAL.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winNet.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winMutex.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winMemory.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winMath_ASM.cpp
winMath.cpp
winInput.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winFont.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winFileio.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winDirectInput.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winDInputDevice.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winCPUInfo.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winConsole.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winAsmBlit.cpp
Generating Code...
Compiling...
win32WinMgr.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
getdxver.cpp
c:\tse\engine\platformwin32\getdxver.cpp(10) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
dxVersionChecker.cpp
c:\tse\engine\platformwin32\dxversionchecker.cpp(28) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
tsTransform.cpp
tsThread.cpp
tsSortedMesh.cpp
tsShapeOldRead.cpp
tsShapeInstance.cpp
c:\tse\engine\ts\tsshapeinstance.cpp(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
c:\tse\engine\gfx\d3d\screenshotd3d.cpp(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DVertexBuffer.cpp
c:\tse\engine\gfx\d3d\gfxd3dvertexbuffer.cpp(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DTypes.cpp
c:\tse\engine\gfx\d3d\gfxd3dtypes.cpp(7) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DTextureObject.cpp
c:\tse\engine\gfx\d3d\gfxd3dtextureobject.cpp(6) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DTextureManager.cpp
c:\tse\engine\gfx\d3d\gfxd3dtexturemanager.cpp(11) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DShaderMgr.cpp
c:\tse\engine\gfx\d3d\gfxd3dshadermgr.cpp(1) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
gfxD3DShader.cpp
c:\tse\engine\gfx\d3d\gfxd3dshader.cpp(1) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
gfxD3DEnumTranslate.cpp
c:\tse\engine\gfx\d3d\gfxd3denumtranslate.h(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DDevice.regen-states.cpp
c:\tse\engine\gfx\d3d\gfxd3ddevice.regen-states.cpp(7) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DDevice.cpp
c:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(11) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DCubemap.cpp
c:\tse\engine\gfx\d3d\gfxd3dcubemap.cpp(5) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
gfxD3DCardProfiler.cpp
c:\tse\engine\gfx\d3d\gfxd3dcardprofiler.cpp(6) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
DXDiagNVUtil.cpp
c:\tse\engine\gfx\d3d\dxdiagnvutil.h(72) : fatal error C1083: Cannot open include file: 'dxdiag.h': No such file or directory
c:\tse\engine\gfx\gfxinit.win32.cpp(7) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxDevice.cpp
BSCMAKE: error BK1506 : cannot open file '..\engine\out.vc8.win32.debug\gfxInit.win32.sbr': No such file or directory
Build log was saved at "file://c:\tse\engine\out.vc8.win32.debug\BuildLog.htm"
Torque Shader Engine - 41 error(s), 0 warning(s)
========== Build: 5 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
08/16/2006 (7:53 pm)
Thank you very much! This is what I need to know. I tried the build. I got 5 that succeeded, and 1 that failed. But at least now Im getting somewhere. Most of the error messages were files not found. I made a copy of the entire log. But I just posted the errors here. Anyone have any ideas?
Thanks!
Gordon
c:\tse\lib\libqslim\mixmsg.cxx(79) : warning C4996: 'vsprintf' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
MxBlockModel.cxx
c:\tse\lib\libqslim\mxblockmodel.cxx(135) : warning C4996: 'strdup' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\string.h(205) : see declaration of 'strdup'
Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for det
c:\tse\engine\atlas\resource\atlastexchunkd3d.cpp(6) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
c:\tse\engine\atlas\atlastqtfiled3d.cpp(8) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Compiling...
winTime.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winThread.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winStrings.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winSemaphore.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winRedbook.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winProcessControl.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winOpenAL.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winNet.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winMutex.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winMemory.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winMath_ASM.cpp
winMath.cpp
winInput.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winFont.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winFileio.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winDirectInput.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winDInputDevice.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winCPUInfo.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winConsole.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winAsmBlit.cpp
Generating Code...
Compiling...
win32WinMgr.cpp
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
getdxver.cpp
c:\tse\engine\platformwin32\getdxver.cpp(10) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
dxVersionChecker.cpp
c:\tse\engine\platformwin32\dxversionchecker.cpp(28) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
tsTransform.cpp
tsThread.cpp
tsSortedMesh.cpp
tsShapeOldRead.cpp
tsShapeInstance.cpp
c:\tse\engine\ts\tsshapeinstance.cpp(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
c:\tse\engine\platformwin32\platformwin32.h(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
c:\tse\engine\gfx\d3d\screenshotd3d.cpp(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DVertexBuffer.cpp
c:\tse\engine\gfx\d3d\gfxd3dvertexbuffer.cpp(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DTypes.cpp
c:\tse\engine\gfx\d3d\gfxd3dtypes.cpp(7) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DTextureObject.cpp
c:\tse\engine\gfx\d3d\gfxd3dtextureobject.cpp(6) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DTextureManager.cpp
c:\tse\engine\gfx\d3d\gfxd3dtexturemanager.cpp(11) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DShaderMgr.cpp
c:\tse\engine\gfx\d3d\gfxd3dshadermgr.cpp(1) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
gfxD3DShader.cpp
c:\tse\engine\gfx\d3d\gfxd3dshader.cpp(1) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
gfxD3DEnumTranslate.cpp
c:\tse\engine\gfx\d3d\gfxd3denumtranslate.h(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DDevice.regen-states.cpp
c:\tse\engine\gfx\d3d\gfxd3ddevice.regen-states.cpp(7) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DDevice.cpp
c:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(11) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxD3DCubemap.cpp
c:\tse\engine\gfx\d3d\gfxd3dcubemap.cpp(5) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
gfxD3DCardProfiler.cpp
c:\tse\engine\gfx\d3d\gfxd3dcardprofiler.cpp(6) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
DXDiagNVUtil.cpp
c:\tse\engine\gfx\d3d\dxdiagnvutil.h(72) : fatal error C1083: Cannot open include file: 'dxdiag.h': No such file or directory
c:\tse\engine\gfx\gfxinit.win32.cpp(7) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory
gfxDevice.cpp
BSCMAKE: error BK1506 : cannot open file '..\engine\out.vc8.win32.debug\gfxInit.win32.sbr': No such file or directory
Build log was saved at "file://c:\tse\engine\out.vc8.win32.debug\BuildLog.htm"
Torque Shader Engine - 41 error(s), 0 warning(s)
========== Build: 5 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#4
08/16/2006 (8:25 pm)
Ya know I never could get a good compile with VS2005...it looks like thats what your useing....try..if you can...to get ahold of 7.1....or beter known as VS2003....the instruction are exacly for this program that are in the WIKI and I set it up after failing again and again with 2005(ask Ben and Brian..or look at my posts on compiling problems;)).....so i switched to 2003 and had it compiled 15 minutes later.....and if you can get everything up and running or cant get the other compiler...shoot me an email...i see you an owner otherwise you wouldnt be able to post here...and ive help others before here get themselves a working TSE and I will help you if you need it..
#5
If you are using VS2005, do you have the Platform SDK installed and the solution files configured as stated in the download/install instructions?
08/16/2006 (9:52 pm)
Are you certain that you have the DirectX SDK installed and compiler is able to find it?If you are using VS2005, do you have the Platform SDK installed and the solution files configured as stated in the download/install instructions?
#6
Thanks for the help!
Gordon
MxBlockModel.cxx
..\lib\libqslim\MxBlockModel.cxx(135) : warning C4996: 'strdup' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(205) : see declaration of 'strdup'
Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.'
mixmsg.cxx
..\lib\libqslim\mixmsg.cxx(79) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
mixmops.cxx
dxVersionChecker.cpp
C:\Program Files\Microsoft DirectX SDK (April 2006)\Include\strsafe.h(5595) : warning C4996: '_vsnprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(339) : see declaration of '_vsnprintf'
Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
C:\Program Files\Microsoft DirectX SDK (April 2006)\Include\strsafe.h(5635) : warning C4996: '_vsnwprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h(719) : see declaration of '_vsnwprintf'
Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
C:\Program Files\Microsoft DirectX SDK (April 2006)\Include\strsafe.h(5719) : warning C4996: '_vsnprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(339) : see declaration of '_vsnprintf'
Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
C:\Program Files\Microsoft DirectX SDK (April 2006)\Include\strsafe.h(5871) : warning C4996: '_vsnwprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h(719) : see declaration of '_vsnwprintf'
Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\engine\platformWin32\dxVersionChecker.cpp(149) : warning C4996: '_wsplitpath' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdlib.h(782) : see declaration of '_wsplitpath'
Message: 'This function or variable may be unsafe. Consider using _wsplitpath_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
tsTransform.cpp
gfxD3DDevice.cpp
..\engine\gfx\D3D\gfxD3DDevice.cpp(35) : warning C4482: nonstandard extension used: enum 'GFXVertexColor::ColorOrdering' used in qualified name
gfxD3DCubemap.cpp
08/17/2006 (1:06 am)
Hi, I did NOT have the Platform SDK installed. I did have the directx sdk installed. I am still having a few problems but at least the list of errors is getting shorter. Here is what I have now. Thanks for the help!
Gordon
MxBlockModel.cxx
..\lib\libqslim\MxBlockModel.cxx(135) : warning C4996: 'strdup' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(205) : see declaration of 'strdup'
Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.'
mixmsg.cxx
..\lib\libqslim\mixmsg.cxx(79) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
mixmops.cxx
dxVersionChecker.cpp
C:\Program Files\Microsoft DirectX SDK (April 2006)\Include\strsafe.h(5595) : warning C4996: '_vsnprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(339) : see declaration of '_vsnprintf'
Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
C:\Program Files\Microsoft DirectX SDK (April 2006)\Include\strsafe.h(5635) : warning C4996: '_vsnwprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h(719) : see declaration of '_vsnwprintf'
Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
C:\Program Files\Microsoft DirectX SDK (April 2006)\Include\strsafe.h(5719) : warning C4996: '_vsnprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(339) : see declaration of '_vsnprintf'
Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
C:\Program Files\Microsoft DirectX SDK (April 2006)\Include\strsafe.h(5871) : warning C4996: '_vsnwprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h(719) : see declaration of '_vsnwprintf'
Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\engine\platformWin32\dxVersionChecker.cpp(149) : warning C4996: '_wsplitpath' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdlib.h(782) : see declaration of '_wsplitpath'
Message: 'This function or variable may be unsafe. Consider using _wsplitpath_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
tsTransform.cpp
gfxD3DDevice.cpp
..\engine\gfx\D3D\gfxD3DDevice.cpp(35) : warning C4482: nonstandard extension used: enum 'GFXVertexColor::ColorOrdering' used in qualified name
gfxD3DCubemap.cpp
#7
Then I hit the f11 key. It crashed after I did that.
So am I at least now on the right path?
Thanks!
Gordon
08/17/2006 (12:04 pm)
Ok I did another build and got a TSE_DEBUG.exe file in the examples folder. I clicked on this and got the same screen I had for the evaluation demo even had the buy now near the bottom. Is this correct?Then I hit the f11 key. It crashed after I did that.
So am I at least now on the right path?
Thanks!
Gordon
#8
Gordon
08/17/2006 (12:36 pm)
Ok I got it working. I did not know that I needed to change the main.cs file to run the terrain water demo. I tried it and it worked fine. Thanks for all the help!!!Gordon
#9
Congratulations, you've just been thru the unofficial initiation to TSE!! Now, any week now when it's ready, you can do this again for v4!
08/25/2006 (6:10 am)
@Gordon GriggsCongratulations, you've just been thru the unofficial initiation to TSE!!
#10
I've even tried adding the vc2005 files from the tutorial that I followed to get tge to compile.
I continually get the same errors. I went into the solution file for vc8 and added the extra lib folders. Still can't find the directX includes.
HOW do I fix this so that I can get tse compiled???
08/25/2006 (5:30 pm)
Ok, everyone in this thread has been having the same problem, have all said that they got it fixed, but as usual, no one says HOW they fixed it. I too, am having this same problem. Same error messages, same "cannot find Windows Own files!!!!" and directX. I have all the windows sdks installed. I got tge to compile without a problem. This one, well, it isn't compiling. (I'm being really nice)I've even tried adding the vc2005 files from the tutorial that I followed to get tge to compile.
I continually get the same errors. I went into the solution file for vc8 and added the extra lib folders. Still can't find the directX includes.
HOW do I fix this so that I can get tse compiled???
#11
the terrain demo crashes by law and i could never get it to work,
something about atlas no stream, and something about interiors.
i use vc2005 express edition, do u have to use vc2003?
how can i get it?
or is there a fix for my problems?
how do you fix these errors?
08/26/2006 (6:07 pm)
I agree with mike, how do you fix these problems, imn getting vsprintf error messages, and although i can get the demo to work (also hitting F11 will crash the demo), the terrain demo crashes by law and i could never get it to work,
something about atlas no stream, and something about interiors.
i use vc2005 express edition, do u have to use vc2003?
how can i get it?
or is there a fix for my problems?
how do you fix these errors?
#12
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
that shows you how to set up the platform SDK
Good Luck!
Casey
08/26/2006 (7:35 pm)
It compiles fine under VS2005 express... you have to down load the platform sdk AND the latest DirextX SDK from msdn.microsoft.com and add the include and LIB directorys to the VS2005 options menu where it says C++ and directorys then once you have that done follow the VS2005 express tutorial and you should be fine.. if it says it cant find a file it then you dont have the directorys registered... there is a tutorial at microsofts web site : http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
that shows you how to set up the platform SDK
Good Luck!
Casey
#13
The latest DirectX SDK is 10.0. Are you saying we need that one?? I have 9C installed.
The only fatal error I have left is it's not finding xinput.h, now, I can't find it eather, so .... :D
If I need the very latest dx, then i'll get it, but I was under the impression I needed an earlier one.
Anyway, thanks for the info. It was quite helpful.
08/27/2006 (4:49 am)
Casey, Thankyou for that great answer. Now i know Where to add includes. (sheesh, could they hide it better??) :-DThe latest DirectX SDK is 10.0. Are you saying we need that one?? I have 9C installed.
The only fatal error I have left is it's not finding xinput.h, now, I can't find it eather, so .... :D
If I need the very latest dx, then i'll get it, but I was under the impression I needed an earlier one.
Anyway, thanks for the info. It was quite helpful.
#14
the warnings are about some unsafe variable mostly (from what i can understand)
tse compiles however the terrain water demo doesnt work because im getting atlas no stream, and after that something with interiors (it sort of flickers, so i cant be more specific)
does any one else has this problem?
im using the latest head from tse, could that be the problem maybe? (how can i be for certain that i will get milestone 3.5, is it 3_5, or 0_3_5, or head?)
any ideas?
08/27/2006 (8:23 am)
Ok, i already had the platform sdk, and direct x 10, i had all link etc. the warnings are about some unsafe variable mostly (from what i can understand)
tse compiles however the terrain water demo doesnt work because im getting atlas no stream, and after that something with interiors (it sort of flickers, so i cant be more specific)
does any one else has this problem?
im using the latest head from tse, could that be the problem maybe? (how can i be for certain that i will get milestone 3.5, is it 3_5, or 0_3_5, or head?)
any ideas?
#15
As far as the terrain water demo just crashing it could be anything from corrupt files in the download directory to your graphics card not having shader support (though I would figure if you can run the demo to work and can actualy make it into the demo where you see the guy dancing then shader support isnt the problem).
I just tried the latest head and the terrain water demo does indeed work with no changes other then changing the main.cs to point to it.
08/27/2006 (9:32 am)
Warning messages you dont have to worry that much about. They are not a error stopping problem.As far as the terrain water demo just crashing it could be anything from corrupt files in the download directory to your graphics card not having shader support (though I would figure if you can run the demo to work and can actualy make it into the demo where you see the guy dancing then shader support isnt the problem).
I just tried the latest head and the terrain water demo does indeed work with no changes other then changing the main.cs to point to it.
#16
so should i jsut try to re cvs the latest head and try again?
08/27/2006 (10:15 am)
My graphic card supports shader model 3.0,so should i jsut try to re cvs the latest head and try again?
#17
The Main problem was that I did NOT have the Platform SDK installed. Im totally new to these kind of programs and when I was at the microsoft site I downloaded and installed the wrong program. After I got the Platform SDK installed it took almost all day for me to get it set up. I would set it up. Run. Have errors. Set up again. Run. errors again. Eventually I got it right. I was using the Microsoft Visuall C++ 2005 which needed a few things changed to work. I had to go here to set it up
http://tdn.garagegames.com/wiki/Torque/vs2k5
I was also having problems with the winnt.h file I found the solution to that here near the bottom of the page.
http://tdn.garagegames.com/wiki/RTS/Compiling
08/27/2006 (6:10 pm)
Sorry, I would have made a reply sooner but I thought this this thread was dead. I thought I was the only one having this problem so I did not bother to check back after I got it to work. Im not really sure excatly what I did to get it fixed. I spent 2 days ( aobut 20 hours) working on it. The Main problem was that I did NOT have the Platform SDK installed. Im totally new to these kind of programs and when I was at the microsoft site I downloaded and installed the wrong program. After I got the Platform SDK installed it took almost all day for me to get it set up. I would set it up. Run. Have errors. Set up again. Run. errors again. Eventually I got it right. I was using the Microsoft Visuall C++ 2005 which needed a few things changed to work. I had to go here to set it up
http://tdn.garagegames.com/wiki/Torque/vs2k5
I was also having problems with the winnt.h file I found the solution to that here near the bottom of the page.
http://tdn.garagegames.com/wiki/RTS/Compiling
#18
however, when i went over some of these configurations, i noticed that i was missing a link to the platform sdk int he executables :s. now im rebuilding....
ok, sadly nothing changed!
im still getting this error:
atlasDefferedFile::start - no stream!
before that int he console is loaded empty atlas file!, although the l3dt.atlas file is over 6mb!
also, if i run the terrain_water_demo with a precomiled version of tse (got it from the starter.fps port, that came with a precompiled version) the demo runs fine, so the problem has to be on my side and not on the terrain_water_demo's , right?
did u had also this problem or jsut the compiling error?
*ps: im using the latest head*
08/28/2006 (8:05 am)
I had all of this done, got the latest platform sdk etc.however, when i went over some of these configurations, i noticed that i was missing a link to the platform sdk int he executables :s. now im rebuilding....
ok, sadly nothing changed!
im still getting this error:
atlasDefferedFile::start - no stream!
before that int he console is loaded empty atlas file!, although the l3dt.atlas file is over 6mb!
also, if i run the terrain_water_demo with a precomiled version of tse (got it from the starter.fps port, that came with a precompiled version) the demo runs fine, so the problem has to be on my side and not on the terrain_water_demo's , right?
did u had also this problem or jsut the compiling error?
*ps: im using the latest head*
#19
when i build tse, i press build torque shader engine,
am i supposed to press build solution?
08/28/2006 (8:09 am)
One important thing, when i build tse, i press build torque shader engine,
am i supposed to press build solution?
#20
08/28/2006 (2:15 pm)
The solution builds all the tools and the shader engine. Using just the tse build, builds just the engine.
Torque Owner Gordon Griggs
to know excatly what to compile. The instructions go from setting up the compiler to using the program. There is nothing telling me what to compile.
Thanks!
Gordon