-
Notifications
You must be signed in to change notification settings - Fork 521
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
Cant compile under C++ 20 #402
Comments
Looks like you may need to link Direct3D in your compiler. |
I also tried build it in 2 different machines |
Nuklear works in C++, you're just running into D3D issues. You'd have to link D3d, and ensure the include directory is set.... Nuklear has no real dependencies itself. |
Does d3d11.h include? Looks like it's not finding even the function declarations. |
when i move my code to somefile.c then it works |
Correct. Implementation define should be in a .c or .cpp file. |
I was trying to use that DX11 renderer from demo folder. Nevertheless I got it working. |
What did you end up doing? |
What did you do to get this working having the same issue. @M0n7y5 |
Hello i have a problem with compilation in my C++ 20 project. When i try to compile it it gives me this error:
It looks like that it need C DirectX API so i tried to do this but no luck
Any ideas how to fix it?
The text was updated successfully, but these errors were encountered: