Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when compiling with visual studio 2017 15.5.0 #3

Open
lucaslacerdand opened this issue Feb 24, 2018 · 2 comments
Open

error when compiling with visual studio 2017 15.5.0 #3

lucaslacerdand opened this issue Feb 24, 2018 · 2 comments

Comments

@lucaslacerdand
Copy link

@drdaxxy When compiling in Visual Studio 2017 15.5.0 the following error occurs on the minHook

Error C1047: Object file created with an older compiler than other objects

and There is also an error saying that missing dinput.lib

@drdaxxy
Copy link
Owner

drdaxxy commented Feb 25, 2018

Since I'm only doing maintenance work on this project anyway, I'm not too keen on actively supporting multiple VS versions, sorry.

There may be further issues than these when you actually get it to build with VS2017 (wouldn't know, haven't checked) since the code assumes some similarities between our MSVCRT build and Ragexe's, so I strongly recommend just building this with Visual Studio 2015.

Error C1047: Object file created with an older compiler than other objects

You'd need to switch the Platform Toolset for the DLL to v141 and possibly manually copy the appropriate libMinHook-xxx.lib to <solution directory>\packages\minhook.1.3.3\lib\native\lib.

and There is also an error saying that missing dinput.lib

This one's because you haven't set the DXSDK_AUG07_DIR environment variable (or haven't installed the SDK in the first place), see https://github.com/drdaxxy/SimpleROHook/blob/master/README.md#build-instructions

@corey0908
Copy link

Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'versioninfo.h': No such file or directory Injection C:\Users\Aizhell\Desktop\Zumbot\SimpleROHook-2018-04-11\Injection\dllmain.cpp 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants