Loads and loads of linker errors...!

Started by
6 comments, last by circlesoft 19 years, 3 months ago
Hello. I have just recompiled my program which was working fine and have got the following errors which were not there before:

Linking...
LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library
d3dx9.lib(cfxlprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cshaderprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
dxerr9.lib(dxerr9.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(c30program.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(trees.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(jdhuff.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jmemansi.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(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(jdcoefct.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(jerror.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(pngerror.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(d3dx9shader.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(ssefasttable.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(cpudetect.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jdmarker.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(d3dx9core.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(cfxlprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(cshaderprogram.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
dxerr9.lib(dxerr9.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(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(trees.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(jdhuff.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
d3dx9.lib(jmemansi.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(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(jdcoefct.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(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(d3dx9shader.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(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(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(d3dx9core.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
d3dx9.lib(cshaderprogram.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(cbaseprogram.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(cprogram.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(cparse.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(jidctflt.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(pngrtran.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(psgpmesh.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(ccompiler.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(jcdctmgr.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(d3dxmath.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(cline.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(cbuffer.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(pngwrite.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(d3dx9core.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(cimage.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(cblt.obj) : error LNK2001: unresolved external symbol __ftol2
d3dx9.lib(fxlvm.obj) : error LNK2001: unresolved external symbol __ftol2
Debug/Animation Entity.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
Creating browse info file...

Animation Entity.exe - 88 error(s), 3 warning(s)



The only major change that I can think of that has been made is updated windows, I applied all the new security patches available and also XPSP2. I also upgraded to the december 2004 SDK, but I checked the path in tools->options->directories and it is all correct...!? Hopefully somebody will have seen this problem before. Thanks in advance for any help. Mark Coleman
Advertisement
Nope. Never seen it before. You could try reinstalling DirectX.

NOTE: SP2 installs the Dx9.0c runtimes.
Hmm, when I go back to the 2003 summer update SDK the program works fine. But am I correct in assuming that I can't use HLSL shaders and effect files in the 2003 summer SDK?

Mark Coleman
From what I can see, they'll work fine. The 2003 Summer SDK has HLSL Tutorials, ergo, they _must_ work. [wink]
Excellent, I am too busy to waste time getting the new SDK to work now so I will stick with the old one. Bingo...

Mark Coleman

p.s. All the links in your signature apart from the Dreamhunter one, seem to be dead!
Are you using VC6? You cannot use VC6 with the December 2004 SDK - all support has been dropped. You can try upgrading to the free VC7 compiler (the IDE is not free), or downloading the Visual Studio 2005 Express Beta. Did you see the locked post at the top of the forums (that has been there for about a month)? [lol]
Dustin Franklin ( circlesoft :: KBase :: Mystic GD :: ApolloNL )
Unbelievably enough, I did actually see that post and just completely forgot, looks like it is time to upgrade the compiler again!!

Happy new year.

Mark Coleman
Quote:Original post by mrmrcoleman
looks like it is time to upgrade the compiler again[\b]!!

[lol] VC6 is only like, what...8 years old? My first recommendation is to try the VS2005 Beta (since it will be the newest compiler and IDE - and I've heard it's quite nice). Don't be fooled by the 'Express' appended onto it - it just doesn't have all of the crazy features that 99% of the programmers don't use anyways. Fortunately, it *will* carry a much, much lighter price tag, though.

Happy New Year to you, as well. It'll take me months to start dating things with 2005 instead of 2004...
Dustin Franklin ( circlesoft :: KBase :: Mystic GD :: ApolloNL )

This topic is closed to new replies.

Advertisement