Jump to content
  • Advertisement
Sign in to follow this  
chrono_one

VC++ Release build problems

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

So I'm writing a program that uses dx7(i know it's old) with VC++ express 2010. I can build my project just fine in Debug mode. It compiles and executes. When I switch to Release mode however, I get this error:


1>DDFuncs.obj : error LNK2001: unresolved external symbol _DirectDrawCreateEx@16
1>DDFuncs.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7


I am new to 2010 version. Have I not included a directory somewhere or what? Thnks.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by _fastcall
Have you added the DirectX libs in the linker options of the Release configuration?


With Configuration set to Active(Release), yes ddraw.lib and dxguid.lib are included in Linker->Input.

God the new version is so confusing.

Share this post


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

  • 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!