Error 1 error C1083: Cannot open include file: 'dinput.h'

06/23/2017 17:12 gamehacker1#1
Ich bekomme diese Fehlermeldung, wenn ich den Client source compiliere. Kann mir einder helfen das Problem zu lösen. Hab auch schon danach gegoogelt und nichts gefunden was half.
Code:
Error 1 error C1083: Cannot open include file: 'dinput.h'
06/23/2017 17:31 andii#2
Existiert die Datei dinput.h?
06/23/2017 17:39 gamehacker1#3
Wo kann ich das überprüfen? Ich nutze die Fliege Files
06/23/2017 17:42 andii#4
Quote:
Originally Posted by gamehacker1 View Post
Wo kann ich das überprüfen? Ich nutze die Fliege Files
Müsste einen Ordner mit den ganzen includes geben. Such einfach mal in deinem Ordner nach der entsprechenden Datei
06/23/2017 17:46 gamehacker1#5
Quote:
Originally Posted by αи∂ιι View Post
Müsste einen Ordner mit den ganzen includes geben. Such einfach mal in deinem Ordner nach der entsprechenden Datei
Nein es gibt keine Datei mit dem Namen "dinput.h"
06/24/2017 01:19 matalaj#6
dinput.h is in the DirectX SDK in the include directory. So you must put the include and lib paths from the DirectX SDK into the Visual Studio environment. You can do this through Tools->Options and then go to Projects and Solutions->VC++ Directories and for Show directories for change it to include and add the path for the DirectX SDK include there, for lib add the DirectX SDK lib path there.
06/24/2017 11:01 gamehacker1#7
Quote:
Originally Posted by matalaj View Post
dinput.h is in the DirectX SDK in the include directory. So you must put the include and lib paths from the DirectX SDK into the Visual Studio environment. You can do this through Tools->Options and then go to Projects and Solutions->VC++ Directories and for Show directories for change it to include and add the path for the DirectX SDK include there, for lib add the DirectX SDK lib path there.
[Only registered and activated users can see links. Click Here To Register...]
06/25/2017 14:40 gamehacker1#8
Habs gelöst. Problem war, dass ich mit Platform Toolset VS 2008(v90) kompiliert habe und dann hab ich es mit VS 2013(v120) probiert und es hat geklappt