Need help compiling TSE?? Here are my errors... Please help
by Eric Schuld · in Torque Game Engine Advanced · 06/01/2006 (10:57 pm) · 4 replies
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.'
c:\tse\tse\engine\platformwin32\dxversionchecker.cpp(153) : 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.'
c:\tse\tse\engine\gfx\d3d\gfxd3ddevice.cpp(34) : warning C4482: nonstandard extension used: enum 'GFXVertexColor::ColorOrdering' used in qualified name
Compiling manifest to resources...
Linking...
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__VariantClear@4 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::GetProperty(struct NVDXDiagWrapper::IDxDiagContainer *,unsigned short const *,class std::basic_string,class std::allocator > *)" (?GetProperty@DXDiagNVUtil@NVDXDiagWrapper@@QAEJPAUIDxDiagContainer@2@PBGPAV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@@Z)
getdxver.obj : error LNK2001: unresolved external symbol __imp__VariantClear@4
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__VariantInit@4 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::GetProperty(struct NVDXDiagWrapper::IDxDiagContainer *,unsigned short const *,class std::basic_string,class std::allocator > *)" (?GetProperty@DXDiagNVUtil@NVDXDiagWrapper@@QAEJPAUIDxDiagContainer@2@PBGPAV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@@Z)
getdxver.obj : error LNK2001: unresolved external symbol __imp__VariantInit@4
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__CoCreateInstance@20 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::InitIDxDiagContainer(void)" (?InitIDxDiagContainer@DXDiagNVUtil@NVDXDiagWrapper@@QAEJXZ)
getdxver.obj : error LNK2001: unresolved external symbol __imp__CoCreateInstance@20
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__CoInitialize@4 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::InitIDxDiagContainer(void)" (?InitIDxDiagContainer@DXDiagNVUtil@NVDXDiagWrapper@@QAEJXZ)
getdxver.obj : error LNK2001: unresolved external symbol __imp__CoInitialize@4
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__CoUninitialize@0 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::FreeIDxDiagContainer(void)" (?FreeIDxDiagContainer@DXDiagNVUtil@NVDXDiagWrapper@@QAEJXZ)
getdxver.obj : error LNK2001: unresolved external symbol __imp__CoUninitialize@0
getdxver.obj : error LNK2019: unresolved external symbol __imp__SysStringLen@4 referenced in function "long __cdecl GetDirectXVersionViaDxDiag(unsigned long *,unsigned long *,unsigned short *)" (?
GetDirectXVersionViaDxDiag@@YAJPAK0PAG@Z)
../example/TSE_DEBUG.exe : fatal error LNK1120: 6 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:\TSE\tse\engine\out.vc7.win32.debug\BuildLog.htm"
Torque Shader Engine - 12 error(s), 7 warning(s)
========== Build: 4 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
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.'
c:\tse\tse\engine\platformwin32\dxversionchecker.cpp(153) : 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.'
c:\tse\tse\engine\gfx\d3d\gfxd3ddevice.cpp(34) : warning C4482: nonstandard extension used: enum 'GFXVertexColor::ColorOrdering' used in qualified name
Compiling manifest to resources...
Linking...
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__VariantClear@4 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::GetProperty(struct NVDXDiagWrapper::IDxDiagContainer *,unsigned short const *,class std::basic_string
getdxver.obj : error LNK2001: unresolved external symbol __imp__VariantClear@4
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__VariantInit@4 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::GetProperty(struct NVDXDiagWrapper::IDxDiagContainer *,unsigned short const *,class std::basic_string
getdxver.obj : error LNK2001: unresolved external symbol __imp__VariantInit@4
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__CoCreateInstance@20 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::InitIDxDiagContainer(void)" (?InitIDxDiagContainer@DXDiagNVUtil@NVDXDiagWrapper@@QAEJXZ)
getdxver.obj : error LNK2001: unresolved external symbol __imp__CoCreateInstance@20
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__CoInitialize@4 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::InitIDxDiagContainer(void)" (?InitIDxDiagContainer@DXDiagNVUtil@NVDXDiagWrapper@@QAEJXZ)
getdxver.obj : error LNK2001: unresolved external symbol __imp__CoInitialize@4
DXDiagNVUtil.obj : error LNK2019: unresolved external symbol __imp__CoUninitialize@0 referenced in function "public: long __thiscall NVDXDiagWrapper::DXDiagNVUtil::FreeIDxDiagContainer(void)" (?FreeIDxDiagContainer@DXDiagNVUtil@NVDXDiagWrapper@@QAEJXZ)
getdxver.obj : error LNK2001: unresolved external symbol __imp__CoUninitialize@0
getdxver.obj : error LNK2019: unresolved external symbol __imp__SysStringLen@4 referenced in function "long __cdecl GetDirectXVersionViaDxDiag(unsigned long *,unsigned long *,unsigned short *)" (?
GetDirectXVersionViaDxDiag@@YAJPAK0PAG@Z)
../example/TSE_DEBUG.exe : fatal error LNK1120: 6 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:\TSE\tse\engine\out.vc7.win32.debug\BuildLog.htm"
Torque Shader Engine - 12 error(s), 7 warning(s)
========== Build: 4 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#2
06/06/2006 (6:43 pm)
Ok I guess no one wants to help!!! I have tried everything I know ot try and can't get this thing working. Someone please help!!!
#3
Hope that helps a little.
Ashtara
06/15/2006 (11:01 pm)
Did you make sure to download direct-x sdk and install it. Like in tge make sure in properties/language wchart = "no" Also make sure you clean the entire solution, then build the solution in release mode not debug... least i couldnt get debug to work myself.Hope that helps a little.
Ashtara
#4
oh btw compile "tse lib" first before "Torque Shader Engine"
06/18/2006 (9:11 pm)
I havnt compiled it in a while, but makes sure you read the readme instruction very carefully otherwise it wont work. also make sure you have the right version of directx. if your using dx6 you need to use a specific version of dx.oh btw compile "tse lib" first before "Torque Shader Engine"
Torque Owner Eric Schuld