EquiFox / MInjector

Mono Framework Injector (C#) using MInject Library
93 stars 22 forks source link

Build errors #7

Open ghost opened 5 years ago

ghost commented 5 years ago

I'm getting some build errors from the BlackBone Project:

src\wow64ext.h(72): error C2989: '_CLIENT_ID': class template has already been declared as a non-class template windows kits\10\include\10.0.17763.0\um\wintern1.h(80): note: see declaration of '_CLIENT_ID' src\wow64ext.h(67): error C3857: '_CLIENT_ID': multiple template parameter lists are not allowed src\wow64ext.h(79): error C2059: syntax error: '<' src\wow64ext.h(89): note: see reference to class template instantiation '_TEBT' being compiled src\wow64ext.h(79): error C2238: unexpected token(s) preceding ';'

These cause BlackBone to fail which also results in MonoInjector to fail as well because of link error. I don't know how much of these I can fix by myself, the syntax error should be simple at least. I'm curious though why I'm getting these and no one else.

Edit: I actually posted this in the wrong repo, it was meant for another mono injector, I'm trying out 3 different ones. But now that I got around to trying this one, I am getting the exact same error, just replace MonoInjector with MInject instead.

Edit 2: I replaced BlackBone with an updated version and it built successfully. But I get a new error from MInject then which causes it to fail building:

microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\mutex(8): fatal error C1189: #error: <mutex> is not supported when compiling with /clr or /clr:pure

I'm currently looking into this.