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

Does not build on VS2022 17.5.4 #508

Open
veteri opened this issue Apr 23, 2023 · 6 comments
Open

Does not build on VS2022 17.5.4 #508

veteri opened this issue Apr 23, 2023 · 6 comments

Comments

@veteri
Copy link

veteri commented Apr 23, 2023

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

@GidBush
Copy link

GidBush commented May 5, 2023

you need to build this via CMAKE

@holicc
Copy link

holicc commented Jun 10, 2023

you need to build this via CMAKE

how ?

@77
Copy link

77 commented Jun 10, 2023

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

@Smellon69
Copy link

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

thanks

@rtosman
Copy link

rtosman commented Oct 31, 2023

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;

@MikeyyGit
Copy link

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

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

8 participants
@77 @rtosman @holicc @veteri @Smellon69 @MikeyyGit @GidBush and others