tons of unresolved extern symbol errors :(
Hi
I'm quite new to directX(not to 3d) and i want to write a simple app that loads a x-file and displays it.(i noticed the sticky post about that)I wrote a class called XMesh and wrote 2functions, 1 for rendering and 1 for loading the x-file and i fixed all bugs i found right now but suddenly after i fixed the last error 88new errors occur :( and now i don't know how to fix them..it sounds like it has something to do with the compiler or sth like that...i just get tons of unresolved external symbol errors:
--------------------Configuration: XMeshloader - Win32 Debug--------------------
Compiling...
Direct3D9Tutorial001.cpp
XMesh.cpp
Linking...
Direct3D9Tutorial001.obj : error LNK2001: unresolved external symbol _Direct3DCreate9@4
d3dx9.lib(cvsprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cfxlprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cshaderprogram.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(cpslegacyprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cpsprogram.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(cbaseprogram.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cprogram.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(jdhuff.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(jchuff.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(nfmcomp.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cfont.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(ctokenize.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(cassembler.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(d3dxmathx3d.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(pngwutil.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(d3dx9core.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(binaryload.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(cleanmesh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(createmesh.obj) : error LNK2001: unresolved external symbol ___security_cookie
d3dx9.lib(xfile.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(loadx.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(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(cshaderprogram.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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(cleanmesh.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(xfile.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(loadx.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
Debug/XMeshloader.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
XMeshloader.exe - 88 error(s), 0 warning(s)
I use VC++ 6.0 with directX9.0 (October) under win2k. Any solutions??
regards,
m4gnus
try including "d3d9.lib" .. what libraries have you referenced in your project so far ?
*Edit*
remember to update to the newest/latest SDK .
*Edit*
remember to update to the newest/latest SDK .
after adding d3d9.lib to the project (i only had d3dx9.lib added so far) theres 1 error less :D 87 left...so keep going ;)
thx for fast response...
regards,
m4gnus
thx for fast response...
regards,
m4gnus
A very simple google reveals info on this very site!
http://www.gamedev.net/community/forums/topic.asp?topic_id=278609
http://www.gamedev.net/community/forums/topic.asp?topic_id=278609
Quote:it sounds like it has something to do with the compiler or sth like that
It does. It sounds like you're either linking with the wrong version of the runtime libraries, or your compiler doesn't support security cookies, a measure imposed by advanced versions of the VS C++ compiler to guard against stack corruption.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement