error LNK2001: unresolved external symbol ___security_cookie

Started by
3 comments, last by Mezz 19 years, 2 months ago
Hey All, I working on one of the articles here on game dev and I've come up with a weird linker error I've never seen before:

Compiling...
CAllocateHierarchy.cpp
CModel.cpp
DirectInput.cpp
main.cpp
Linking...
d3dx9.lib(cshaderprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cpslegacyprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cpsprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cvsprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cfxlprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cbaseprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cparse.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(c30program.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jdhuff.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jchuff.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jcdctmgr.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(trees.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(nfmcomp.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cfont.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cline.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(ctokenize.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cassembler.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(ccompiler.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(fastftoa.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(d3dxmathx3d.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(pngwutil.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(pngrutil.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cpreprocessor.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(d3dx9core.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(binaryload.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(xdata.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(ssefasttable.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(d3dx9shader.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cleanmesh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(xtempl.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(xzip.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cpudetect.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jdmarker.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jerror.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(pngerror.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(createmesh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(loadx.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(patchmesh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(xfile.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(loadxh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cimage.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(ccodec.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cfile.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cshaderprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cpslegacyprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cpsprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cvsprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cfxlprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cbaseprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cparse.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(c30program.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(jdhuff.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(jchuff.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(jcdctmgr.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(trees.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(nfmcomp.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cfont.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cline.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(ctokenize.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cassembler.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(ccompiler.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(fastftoa.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(d3dxmathx3d.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(pngwutil.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(pngrutil.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cpreprocessor.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(d3dx9core.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(binaryload.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(xdata.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(ssefasttable.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(d3dx9shader.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cleanmesh.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(xtempl.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(xzip.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cpudetect.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(jdmarker.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(jerror.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(pngerror.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(createmesh.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(loadx.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(patchmesh.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(xfile.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(loadxh.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cimage.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(ccodec.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cfile.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
Release/TestApp.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
Creating browse info file...

TestApp.exe - 91 error(s), 0 warning(s)



I searched google but couldn't find any information on the error!? Has anyone run into this before or know how to fix it? I just installed DX SDK Oct2k4 if that is relivent. Thanks a bunch! Matt Hughson
__________________________________[ Website ] [ Résumé ] [ [email=contact[at]matthughson[dot]com]Contact[/email] ][ Have I been Helpful? Hook me up! ]
Advertisement
Quote:Original post by matthughson
I just installed DX SDK Oct2k4 if that is relivent.


Yep, this is the source of the problem. Visual Studio 6 is incompatable with the libraries that ship with the October DXSDK. You need to download and use the ones in the Extras package.

Note: the December DXSDK, and all subsequent versions, do not support VC6 at all (even in the extras).
Dustin Franklin ( circlesoft :: KBase :: Mystic GD :: ApolloNL )
Quote:Original post by circlesoft
Quote:Original post by matthughson
I just installed DX SDK Oct2k4 if that is relivent.


Yep, this is the source of the problem. Visual Studio 6 is incompatable with the libraries that ship with the October DXSDK. You need to download and use the ones in the Extras package.

Note: the December DXSDK, and all subsequent versions, do not support VC6 at all (even in the extras).


That's weird because I have been using this version of the SDK for some time on my other computer with VS6...? Maybe I'm just misunderstanding what has actually been dropped from the support list. Either way, thanks for the info and I'll give it a try tonight!

UPDATE:

It worked! Thanks a ton dude!

Matt Hughson

[Edited by - matthughson on January 28, 2005 12:50:00 PM]
__________________________________[ Website ] [ Résumé ] [ [email=contact[at]matthughson[dot]com]Contact[/email] ][ Have I been Helpful? Hook me up! ]
I think this answers my issue too. Thanks!
This really needs adding to the forum FAQ :)

-Mezz

This topic is closed to new replies.

Advertisement