Sign in to follow this  
Scotto1001

DANG THESE EXTERNAL LINK ERRORS

Recommended Posts

>.< I know to fix these i need to put a .lib in the project link line in Microsoft Visual Studio but what .lib file am i missing ive got d3d9.lib but im still getting 5 link errors
-------------------Configuration: D3dengine - Win32 Debug--------------------
Linking...
Camera.obj : error LNK2001: unresolved external symbol _D3DXMatrixLookAtLH@16
Mesh.obj : error LNK2001: unresolved external symbol _D3DXCreateTextureFromFileA@12
Mesh.obj : error LNK2001: unresolved external symbol _D3DXLoadMeshFromXA@32
Projection.obj : error LNK2001: unresolved external symbol _D3DXMatrixPerspectiveFovLH@20
Debug/D3dengine.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

D3dengine.exe - 5 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites
>.> well it got rid of the 5 but it gave me 87 that look like this......

--------------------Configuration: D3dengine - Win32 Debug--------------------
Linking...
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

AND ON AND ON AND ON AND ON.............Well u get the picture

Share this post


Link to post
Share on other sites
The same problem was addressed in this thread.

Quote:
Original post by SnakeHunta
download the SDK extras from oct.2004 and then link with the new d3dx9.lib that it comes with. It fixes this problem. It is because vc6.0 is no longer supported but of course microsoft released a fix for it

Share this post


Link to post
Share on other sites
Recent versions of DX don't support Visual C++ 6.0. I think that there are workarounds, though..... perhaps someone else can chime in about that.

EDIT: Dude, beaten to the punch by four seconds. That was totally Ra.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this