Need help with setup
by Gordon Griggs · in Torque Game Engine Advanced · 08/16/2006 (8:06 pm) · 7 replies
I have tried several times to set this up. I keep getting these error messages. Sorry, I know its a lot But at least I cut out everything else. 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
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
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
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
About the author
#2
and Windows.h, I am assuming is from Platform SDK... If youre using Express versions of visual Studio, then there is information about installing it on TDN
08/16/2006 (8:10 pm)
You need DirectX SDK installed (it should register itself with Visual Studio)and Windows.h, I am assuming is from Platform SDK... If youre using Express versions of visual Studio, then there is information about installing it on TDN
#3
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:07 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
#4
The nonstandard extension used is fine and is of no concern...
The others are of no real concern either, but you can just add _CRT_SECURE_NO_DEPRECATE to the Preprocessor options for C++ for the Project
08/17/2006 (7:22 am)
You should be compiling, even with those Errors.... The nonstandard extension used is fine and is of no concern...
The others are of no real concern either, but you can just add _CRT_SECURE_NO_DEPRECATE to the Preprocessor options for C++ for the Project
#5
This is all TOTALLY new to me. Im just following whatever instructions I can find.
Thanks!
08/17/2006 (9:21 am)
Thanks for the reply! I compiled this several times but I never got an .exe file. Can you tell me where to put this _CRT_SECURE_NO_DEPRECATE .This is all TOTALLY new to me. Im just following whatever instructions I can find.
Thanks!
#6
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 (9:47 am)
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
#7
Gordon
08/17/2006 (12:37 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
Torque Owner Gordon Griggs
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 ==========