-
Notifications
You must be signed in to change notification settings - Fork 221
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
Can't build on latest vs2019, LNK4210 and C2131 #45
Comments
modify the interrupt_t private constructor like below
|
After update Visual Studio to 16.10.0, this LNK4210 issue should be fixed. |
It's still there |
Hi,Do you solve tis problem about LNK4210 |
The problem still seems to be present with latest 16.10.4.
Using the showIncludes option during compilation we can see that gets included which sometimes includes and hence the issue.
|
|
@manurautela you build it success ? |
No, it fails with the above mentioned LNK4210. But if you disable the linker warning "4210" it links properly and generates .sys file. I was able to load and run the test binary hvppctrl.exe after loading the driver. |
|
some references regarding the .CRT link warning |
I've tried cloning and building this in vs2019 and I'm getting the following errors:
The first error seems to be here:
This looks related: https://stackoverflow.com/questions/63558400/vs2019-latest-update-constexpr-expression-did-not-evaluate-to-a-constant-for and if I apply the fix it seems to solve the problem.
As for the second fault, no idea what's causing this (LNK4210)
The text was updated successfully, but these errors were encountered: