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

Can't compile DLL #6

Open
mbeytekin opened this issue Apr 29, 2023 · 1 comment
Open

Can't compile DLL #6

mbeytekin opened this issue Apr 29, 2023 · 1 comment

Comments

@mbeytekin
Copy link

First of all, thank you for this work. But I have a problem.
I opened the C++ project with VS2022 to add the Freetype feature. By the way, this part was quite challenging. I think it would be great if some more information about the C part is given.
All files and includes are ok. But when I try to compile 'imgui_gm.cpp' is on line 98;
BufferWrite(g_CommandBuffer, (texture & 0xF) != TextureType_Raw ? texture : 0, cmd_offset);
gives some errors.

Severity Code Description Project File Line Suppression State
Error (active) E2140 expression must have integral or unscoped enum type imgui_gm E:\ImGui_GM-main\dll\imgui_impl_gm.cpp 98
Error C2296 '&': not valid as left operand has type 'ImTextureID' imgui_gm E:\ImGui_GM-main\dll\imgui_impl_gm.cpp 98
Error C2672 'BufferWrite': no matching overloaded function found imgui_gm E:\ImGui_GM-main\dll\imgui_impl_gm.cpp 98

This issue seems to be more related to libraries.

My compile settings are:
Release x64

Toolset v143
C++ standard : ISO C++ 14 standard
C Lang default (Legacy MSVC)

@mbeytekin
Copy link
Author

This time when I tried to compile by deleting the part that gave the error.
'Severity Code Description Project File Line Suppression State
Error MSB3073 The command "node ..\tools\brief\main.js
:VCEnd" exited with code 9009. imgui_gm C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 159
'
I get this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant