VS7 - dx9 sdk appwizard fail?
With VS7 when I create a DX9 D3D application it generates unbuildable source if MFC support is requested in the wizard.
The linker errors occure only when I build a release version.
(with VS6 the DX9 appwizard generates non warningless but buildable release code)
Do you experience the same problem?
What would be the solution?
R
PS: I pasted here the contents of the first few rows of the output window whan building:
Compiling...
StdAfx.cpp
Compiling...
diutil.cpp
dmutil.cpp
d3dfont.cpp
d3dfile.cpp
d3dutil.cpp
d3denumeration.cpp
d3dsettings.cpp
d3dapp.cpp
dxutil.cpp
DirectX9Application1.cpp
Generating Code...
Compiling resources...
Linking...
mfcs70.lib(stdafx.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dsettings.obj : error LNK2001: unresolved external symbol ___security_cookie
d3dutil.obj : error LNK2019: unresolved external symbol ___security_cookie referenced in function "struct D3DXMATRIX __cdecl D3DUtil_GetCubeMapViewMatrix(unsigned long)" (?D3DUtil_GetCubeMapViewMatrix@@YA?AUD3DXMATRIX@@K@Z)
d3dfile.obj : error LNK2001: unresolved external symbol ___security_cookie
dmutil.obj : error LNK2001: unresolved external symbol ___security_cookie
DirectX9Application1.obj : error LNK2019: unresolved external symbol ___security_cookie referenced in function "private: long __thiscall CAppForm::InitAudio(struct HWND__ *)" (?InitAudio@CAppForm@@AAEJPAUHWND__@@@Z)
StdAfx.obj : error LNK2001: unresolved external symbol ___security_cookie
dxutil.obj : error LNK2001: unresolved external symbol ___security_cookie
d3dapp.obj : error LNK2001: unresolved external symbol ___security_cookie
dmutil.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
d3dx9.lib(cpudetect.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
mfcs70.lib(stdafx.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
DirectX9Application1.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
StdAfx.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
.
.
.
and so on...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement