• Advertisement
Sign in to follow this  

new to directX

This topic is 4824 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello, i am new to these fourms, and to directX. i have a year of c++/html/javascript and a very little ammount of openGl. i have VC++6.0 and the newestSKD(october i think). i had a question that may have been asked elseware, but i couldent find it. the code on the matrices tutoral on http://www.ultimategameprogramming.com/Tutorial.php?category=DirectX&page=1 gets the following errors: --------------------Configuration: D3DMatices - Win32 Release-------------------- Compiling... D3DMatices.cpp Linking... d3dx9.lib(cpudetect.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(cpudetect.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 Release/D3DMatices.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. D3DMatices.exe - 7 error(s), 0 warning(s) thanks if you can help. also, iwas wondering if there was any site dovoted to directX tutorals like NeHe is to openGl. ~metalhead

Share this post


Link to post
Share on other sites
Advertisement
oh. thanks for the link!

now whenever i try and rebuild all from pressing F5, it the linker will just pause. it wont say anthing, the last line would be linking... and would just hang there. if there are any errors in the program, then it will hang after the last error is outputted. i cant stop the build from the menu, so i have to go into the task maneger and end MSDEV.exe (or whatever). has anone had similer problems?

Share this post


Link to post
Share on other sites
Hm. Have you tried cleaning the project? Try clicking the Build->Clean menu item and rebuild. If that doesn't work, try making a new project.

Regards,
jflanglois

Share this post


Link to post
Share on other sites
Quote:
Original post by jflanglois
Hm. Have you tried cleaning the project? Try clicking the Build->Clean menu item and rebuild. If that doesn't work, try making a new project.

Regards,
jflanglois

yes, it will do this on any project that i make. i just figured out that i can go to build->build all, and that will work, but it wassent like this before.

Share this post


Link to post
Share on other sites
about those extras, i dont know how ot install them. im sorry if i seem like a total dumbass, but i dont know how...

Share this post


Link to post
Share on other sites
Sorry, I was downloading the extras.

I don't have a copy of VC++6 installed, so I can't verify this, but you can try overwriting the apropriate libs (make backups first) in your directx install directory and copying the dll to your project root directory and the pdb to the debug directory in your project directory.

See if that works.

[edit] Does the linker have problems even on non-directx projects?

Regards,
jflanglois

[Edited by - jflanglois on December 4, 2004 9:45:30 PM]

Share this post


Link to post
Share on other sites
Have you tried linking the libraries? I don't have Visual Studio with me but, try checking project->settings and link the d3d9.lib, d3dx9.lib and d3dsound.lib.

Share this post


Link to post
Share on other sites
Oh, he's linking the libraries.

Don't overwrite the existing SDK libraries with the ones in the Extras package - that's a really bad idea. Instead, install the extras package somewhere, and change the search paths ('Directories' tab in the Options window) to check the Extras stuff instead of the regular SDK stuff.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement