Closed LethalManBoob closed 6 years ago
Severity Code Description Project File Line Suppression State Error RC1015 cannot open include file 'afxres.h'. stub C:\Users\XXX\Downloads\dxwrapper-master\Stub\stub.rc 11.
Another error i get
I downloaded Detours Version 3.0 Build_343. What should I do with it.
Also do i need both directx sdk's when i have windows 10 sdk?
On 4 March 2018 at 13:35, mirh notifications@github.com wrote:
Did you install the stuff mentioned here https://github.com/elishacloud/dxwrapper#development?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/elishacloud/dxwrapper/issues/18#issuecomment-370229828, or mute the thread https://github.com/notifications/unsubscribe-auth/Ac3uu-sS-eEOJasKC6Sh2995GFjrkXM5ks5ta-2dgaJpZM4SbUuG .
Yes, you absolutely need it. Both of them.
What should I do with it.
Given you miss its include file, I'd suppose add it to your include folders.
Where are my include folders? I only know how to click the sln file, retarget, clean and build.
On my computer Detours is installed to C:\Program Files (x86)\Microsoft Research\Detours Express 3.0\include
. If you have it installed somewhere else you can change the path in Visual Studio:
Debug
--> dxwrapper Properties
VC++ Directories
folder and you will see an item called Include Directories
. You can change the Detours path here.Note: you will also likely need to change that path to the Directx81 files as well. dxwrapper has dependencies on both of these.
Closing this issue since the original question is answered. You can reopen it if you still have an issue.
Btw, isn't detours open now? https://github.com/microsoft/detours
Yes, good point. I should add these files into the project to reduce the build dependencies. I will add it to my list. :-)
Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'detours.h': No such file or directory dxwrapper C:\Users\XXX\Downloads\dxwrapper-master\DDrawCompat\Experimental\Common\Hook.cpp 11
Maybe retargeting the solutions is causing this but I can't be blamed for having the latest version of windows sdk and visual studio so.. :(