Jump to content
  • Advertisement

Archived

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

olle55

Error when trying to build release.

This topic is 5758 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! Im trying to build a release of my game, but i get 22 errors, i dont get these errors when im doing a debug build. Anyone know how to solve this?
  
Linking...
Input.obj : error LNK2001: unresolved external symbol _c_dfDIKeyboard
Input.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard
Input.obj : error LNK2001: unresolved external symbol _DirectInput8Create@20
Input.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A
ddutil.obj : error LNK2001: unresolved external symbol _DirectDrawCreateEx@16
ddutil.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7
dsutil.obj : error LNK2001: unresolved external symbol _DirectSoundCreate8@12
dsutil.obj : error LNK2001: unresolved external symbol _IID_IDirectSound3DListener
dsutil.obj : error LNK2001: unresolved external symbol _IID_IDirectSoundNotify
dsutil.obj : error LNK2001: unresolved external symbol _IID_IDirectSound3DBuffer
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioClose@8
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioOpenA@12
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioAscend@12
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioRead@12
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioDescend@16
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioGetInfo@12
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioCreateChunk@12
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioSeek@12
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioSetInfo@12
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioAdvance@12
dsutil.obj : error LNK2001: unresolved external symbol __imp__mmioWrite@12
Release/newtetris.exe : fatal error LNK1120: 21 unresolved externals
Error executing link.exe.

  
Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
I didn''t get the same errors that you got, but I did run into the same type of problem when trying to build a release using VC++. The problem was because when I changed the active configuration from debug to release, the project settings didn''t carry over so I didn''t have all the DirectX libraries linked anymore. So all I did was change the project settings for the release configuration and link the DirectX libraries again and it compiled just fine.

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!