Compile error
by Jarred Michels · in Torque Game Engine Advanced · 11/12/2006 (9:59 am) · 2 replies
I been trying to get this to work for a month now I need help
dxVersionChecker.cpp
c:\program files\microsoft directx sdk (august 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 (august 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 (august 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 (august 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.'
c:\documents and settings\jarred1\my documents\tse_ms4_1\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.'
Generating Code...
Compiling...
gfxD3DDevice.cpp
c:\documents and settings\jarred1\my documents\tse_ms4_1\engine\gfx\d3d\gfxd3ddevice.cpp(38) : warning C4482: nonstandard extension used: enum 'GFXVertexColor::ColorOrdering' used in qualified name
gfxD3DCubemap.cpp
gfxD3DCardProfiler.cpp
DXDiagNVUtil.cpp
Linking...
gfxD3DDevice.obj : error LNK2019: unresolved external symbol "class RefPtr __cdecl OsLoadLibrary(char const *)" (?OsLoadLibrary@@YA?AV?$RefPtr@VDLibrary@@@@PBD@Z) referenced in function "public: static void __cdecl GFXD3DDevice::enumerateAdapters(class Vector &)" (?enumerateAdapters@GFXD3DDevice@@SAXAAV?$Vector@UGFXAdapter@@@@@Z)
../example/TSE_DEBUG.exe : fatal error LNK1120: 1 unresolved externals
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\Documents and Settings\Jarred1\My Documents\TSE_MS4_1\engine\out.vc8.win32.debug\BuildLog.htm"
Torque Shader Engine - 2 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========
dxVersionChecker.cpp
c:\program files\microsoft directx sdk (august 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 (august 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 (august 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 (august 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.'
c:\documents and settings\jarred1\my documents\tse_ms4_1\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.'
Generating Code...
Compiling...
gfxD3DDevice.cpp
c:\documents and settings\jarred1\my documents\tse_ms4_1\engine\gfx\d3d\gfxd3ddevice.cpp(38) : warning C4482: nonstandard extension used: enum 'GFXVertexColor::ColorOrdering' used in qualified name
gfxD3DCubemap.cpp
gfxD3DCardProfiler.cpp
DXDiagNVUtil.cpp
Linking...
gfxD3DDevice.obj : error LNK2019: unresolved external symbol "class RefPtr
../example/TSE_DEBUG.exe : fatal error LNK1120: 1 unresolved externals
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\Documents and Settings\Jarred1\My Documents\TSE_MS4_1\engine\out.vc8.win32.debug\BuildLog.htm"
Torque Shader Engine - 2 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========
About the author
Torque Owner Dave D