Sign in to follow this  

VC++ Release build problems

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