DarthTon/Blackbone

Does not build on VS2022 17.5.4

veteri opened this issue · 6 comments

I have tried to rebuild the project recently and noticed it fails building with the Release configuration on VS2022 17.5.4.
Out of curiosity i've tried building it in VS2019 16.11.25 and it built successfully.

The error in VS2022 is this:

image

you need to build this via CMAKE

holicc commented

you need to build this via CMAKE

how ?

77 commented

Alternatively you can simply change the project settings from c++latest to c++17.

Alternatively you can simply change the project settings from c++latest to c++17.

thanks

It is a little disconcerting that this only compiles with c++17 and not c++20. Frankly, line 421 looks like it should compile in c++20, but I haven't looked deep into it yet.

Does anyone know what the issue is? Only thing that looked odd to me was decay_t with ::type rather than decay with ::type. I tried changing that without success, though.

decay_t should be:

template< class T >
using decay_t = typename decay<T>::type;

Sure, here's the translation of your question to English for GitHub:

Hello everyone, I'm encountering an issue during the build process. I can compile BlackBone normally, but when I integrate it into my project, I encounter problems as soon as I include the Process header file. How can this be resolved? I am using C++ Latest to C++17.

错误 LNK2001 无法解析的外部符号 "struct asmjit::X86RegData const asmjit::x86RegData" (?x86RegData@asmjit@@3UX86RegData@1@B) Injector C:\Users\Administrator\Desktop\Bone\Blackbone-master -Test\Injector\Injector.obj 1