Jump to content
  • Advertisement

Archived

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

kish

Please help !!!

This topic is 5963 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''m trying to build directDraw game. I''m using Ddutil.h and Ddutil.cpp so i won''t need to dirt my hands to much. I pass the compilation stage successfully, but the linker give me this message: *********************************************************** Linking... Ddex2.obj : error LNK2001: unresolved external symbol _DirectDrawCreate@12 Debug/DDEX2.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. DDEX2.exe - 2 error(s), 0 warning(s) ************************************************************ what could i do ?

Share this post


Link to post
Share on other sites
Advertisement
Go to the "Project" menu
Select "Add to project"
Select "Files..."

In the "Files of type:" field choose "Library Files (.lib)"
Browse to where you installed the DirectX SDK and go to the lib/ directory

Add "ddraw.lib" to the project

Done. Recompile now.

Share this post


Link to post
Share on other sites
pouya ! you are genius !
it really worked !
ow my game works !
thanks !
i love you man !
I''m willing to serve in the canadian army, just for you.

what is the magic ? tell me what is the principle here please !

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!