Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

directx problem

Started by ballack Jan 22, 2005 at 7:04 PM 1 replies 550+ views
Original Post
ballack
ballack
hi everyone, i am having a problem while executing my directx program. while my program links i get a error ---------------------------- MainFrame.cpp Linking... MainFrame.obj : error LNK2001: unresolved external symbol _DirectInput8Create@20 Debug/Deadly Ally.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Deadly Ally.exe - 2 error(s), 0 warning(s) -------------------------------- i ve included files dinput.h and stdafx.h. does anyone know what's the problem.
noaktree
noaktree
You might want to add the DirectX Library and Include paths to your project directories so the linker can find them. What compiler are you using?

edit. Promit is correct below.

[Edited by - noaktree on January 22, 2005 7:21:09 PM]
game development is liek a state of mind man.. it's liek when you liek... think... and then you liek make it fun++

- Yes I'm drunk.
Promit
Promit
You need to link to dinput.lib.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.