Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

The1Blade

Link errors when I try to build samples

This topic is 6436 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

I posted this before, got replies, it still didn''t work, and never got around to brigning post back up. So here''s the problem: When I try to build DXIM 6.1 samples I get unresolved external symbols for _IID_DirectDraw4, Direct3d3, and a couple of other ones.

Share this post


Link to post
Share on other sites
Advertisement
I''m assuming that you downloaded the DirectX 6.1 SDK? Are you sure you''re linking against the libraries that came with the SDK and not the libraries that came with the compiler?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Don''t forget the other libs (ddraw.lib and d3d.lib I think)

Share this post


Link to post
Share on other sites
#defining INIT_GUID would not be terribly clever because:
a) It wouldn''t do anything (INITGUID is what you need to have as the equivelant to including dxguid.lib)
b) If you #defined INITGUID after having already put in dxguid.lib you would generate linker errors from including a library twice.



Please state the nature of the debugging emergency.


sharewaregames.20m.com

Share this post


Link to post
Share on other sites
Make sure that the libraries and header files that are included are the new ones and not the ones that came with MSVC. So move C:\mssdk\lib or whatever to the very top of the linking list, same with include files. Hopefully this will help.



"We are the music makers, and we are the dreamers of the dreams."
- Willy Wonka

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!