Jump to content
  • Advertisement


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


create a simple window

This topic is 5887 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 know the problem is simple but I''m new at DX and am still learning. could someone help me out??? The to headers I''m useing. #include <windows.h> #include <d3d8.h> The error Compiling... DX 1.cpp Linking... DX 1.obj : error LNK2001: unresolved external symbol _Direct3DCreate8@4 Debug/DX 1.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. DX 1.exe - 2 error(s), 0 warning(s)

Share this post

Link to post
Share on other sites
Depending on what you''re using, you''ll want to add libraries to the link stage. The full bundle is something like,

dsound.lib dinput8.lib dxerr8.lib d3dx8dt.lib d3d8.lib d3dxof.lib dxguid.lib

Add them under Project->Settings->Link, Input category. Don''t forget to make both debug and release builds include them.

d3d8.lib alone might solve your problem though.


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!