Created
August 14, 2020 22:57
-
-
Save DDR0/7f347a9c596f6bb6ad6f29390f35fb78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building: src/kre/CameraObject.cpp | |
In file included from src/kre/imgui_impl_opengl3.cpp:67: | |
src/kre/imgui_impl_opengl3.h:38:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
38 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version = NULL); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:39:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
39 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_Shutdown(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:40:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
40 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_NewFrame(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:41:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
41 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:44:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
44 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateFontsTexture(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:45:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
45 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyFontsTexture(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:46:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
46 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:47:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
47 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.cpp: In function ‘bool ImGui_ImplOpenGL3_Init(const char*)’: | |
src/kre/imgui_impl_opengl3.cpp:131:8: error: ‘struct ImGuiIO’ has no member named ‘BackendRendererName’ | |
131 | io.BackendRendererName = "imgui_impl_opengl3"; | |
| ^~~~~~~~~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:133:8: error: ‘struct ImGuiIO’ has no member named ‘BackendFlags’ | |
133 | io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset; // We can honor the ImDrawCmd::VtxOffset field, allowing for large meshes. | |
| ^~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:133:24: error: ‘ImGuiBackendFlags_RendererHasVtxOffset’ was not declared in this scope | |
133 | io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset; // We can honor the ImDrawCmd::VtxOffset field, allowing for large meshes. | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from imgui/imgui.h:28, | |
from src/kre/imgui_impl_opengl3.cpp:66: | |
src/kre/imgui_impl_opengl3.cpp:147:47: error: ‘IM_ARRAYSIZE’ was not declared in this scope; did you mean ‘GL_ARRAY_SIZE’? | |
147 | IM_ASSERT((int)strlen(glsl_version) + 2 < IM_ARRAYSIZE(g_GlslVersionString)); | |
| ^~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:147:5: note: in expansion of macro ‘IM_ASSERT’ | |
147 | IM_ASSERT((int)strlen(glsl_version) + 2 < IM_ARRAYSIZE(g_GlslVersionString)); | |
| ^~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp: In function ‘void ImGui_ImplOpenGL3_Shutdown()’: | |
src/kre/imgui_impl_opengl3.cpp:162:5: error: ‘ImGui_ImplOpenGL3_DestroyDeviceObjects’ was not declared in this scope | |
162 | ImGui_ImplOpenGL3_DestroyDeviceObjects(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp: In function ‘void ImGui_ImplOpenGL3_NewFrame()’: | |
src/kre/imgui_impl_opengl3.cpp:168:9: error: ‘ImGui_ImplOpenGL3_CreateDeviceObjects’ was not declared in this scope | |
168 | ImGui_ImplOpenGL3_CreateDeviceObjects(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp: In function ‘void ImGui_ImplOpenGL3_SetupRenderState(ImDrawData*, int, int, GLuint)’: | |
src/kre/imgui_impl_opengl3.cpp:187:26: error: ‘struct ImDrawData’ has no member named ‘DisplayPos’ | |
187 | float L = draw_data->DisplayPos.x; | |
| ^~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:188:26: error: ‘struct ImDrawData’ has no member named ‘DisplayPos’ | |
188 | float R = draw_data->DisplayPos.x + draw_data->DisplaySize.x; | |
| ^~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:188:52: error: ‘struct ImDrawData’ has no member named ‘DisplaySize’ | |
188 | float R = draw_data->DisplayPos.x + draw_data->DisplaySize.x; | |
| ^~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:189:26: error: ‘struct ImDrawData’ has no member named ‘DisplayPos’ | |
189 | float T = draw_data->DisplayPos.y; | |
| ^~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:190:26: error: ‘struct ImDrawData’ has no member named ‘DisplayPos’ | |
190 | float B = draw_data->DisplayPos.y + draw_data->DisplaySize.y; | |
| ^~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:190:52: error: ‘struct ImDrawData’ has no member named ‘DisplaySize’ | |
190 | float B = draw_data->DisplayPos.y + draw_data->DisplaySize.y; | |
| ^~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:216:135: error: expected primary-expression before ‘,’ token | |
216 | glVertexAttribPointer(g_AttribLocationVtxPos, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, pos)); | |
| ^ | |
src/kre/imgui_impl_opengl3.cpp:216:137: error: ‘pos’ was not declared in this scope; did you mean ‘pow’? | |
216 | glVertexAttribPointer(g_AttribLocationVtxPos, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, pos)); | |
| ^~~ | |
| pow | |
src/kre/imgui_impl_opengl3.cpp:216:113: error: ‘IM_OFFSETOF’ was not declared in this scope; did you mean ‘GL_OFFSET’? | |
216 | glVertexAttribPointer(g_AttribLocationVtxPos, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, pos)); | |
| ^~~~~~~~~~~ | |
| GL_OFFSET | |
src/kre/imgui_impl_opengl3.cpp:217:135: error: expected primary-expression before ‘,’ token | |
217 | glVertexAttribPointer(g_AttribLocationVtxUV, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, uv)); | |
| ^ | |
src/kre/imgui_impl_opengl3.cpp:217:137: error: ‘uv’ was not declared in this scope | |
217 | glVertexAttribPointer(g_AttribLocationVtxUV, 2, GL_FLOAT, GL_FALSE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, uv)); | |
| ^~ | |
src/kre/imgui_impl_opengl3.cpp:218:135: error: expected primary-expression before ‘,’ token | |
218 | glVertexAttribPointer(g_AttribLocationVtxColor, 4, GL_UNSIGNED_BYTE, GL_TRUE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, col)); | |
| ^ | |
src/kre/imgui_impl_opengl3.cpp:218:137: error: ‘col’ was not declared in this scope; did you mean ‘cosl’? | |
218 | glVertexAttribPointer(g_AttribLocationVtxColor, 4, GL_UNSIGNED_BYTE, GL_TRUE, sizeof(ImDrawVert), (GLvoid*)IM_OFFSETOF(ImDrawVert, col)); | |
| ^~~ | |
| cosl | |
src/kre/imgui_impl_opengl3.cpp: In function ‘void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData*)’: | |
src/kre/imgui_impl_opengl3.cpp:227:37: error: ‘struct ImDrawData’ has no member named ‘DisplaySize’ | |
227 | int fb_width = (int)(draw_data->DisplaySize.x * draw_data->FramebufferScale.x); | |
| ^~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:227:64: error: ‘struct ImDrawData’ has no member named ‘FramebufferScale’ | |
227 | int fb_width = (int)(draw_data->DisplaySize.x * draw_data->FramebufferScale.x); | |
| ^~~~~~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:228:38: error: ‘struct ImDrawData’ has no member named ‘DisplaySize’ | |
228 | int fb_height = (int)(draw_data->DisplaySize.y * draw_data->FramebufferScale.y); | |
| ^~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:228:65: error: ‘struct ImDrawData’ has no member named ‘FramebufferScale’ | |
228 | int fb_height = (int)(draw_data->DisplaySize.y * draw_data->FramebufferScale.y); | |
| ^~~~~~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:276:34: error: ‘struct ImDrawData’ has no member named ‘DisplayPos’ | |
276 | ImVec2 clip_off = draw_data->DisplayPos; // (0,0) unless using multi-viewports | |
| ^~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:277:36: error: ‘struct ImDrawData’ has no member named ‘FramebufferScale’ | |
277 | ImVec2 clip_scale = draw_data->FramebufferScale; // (1,1) unless using retina display which are often (2,2) | |
| ^~~~~~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:295:43: error: ‘ImDrawCallback_ResetRenderState’ was not declared in this scope | |
295 | if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:320:172: error: ‘const struct ImDrawCmd’ has no member named ‘IdxOffset’ | |
320 | glDrawElementsBaseVertex(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, (void*)(intptr_t)(pcmd->IdxOffset * sizeof(ImDrawIdx)), (GLint)pcmd->VtxOffset); | |
| ^~~~~~~~~ | |
src/kre/imgui_impl_opengl3.cpp:320:217: error: ‘const struct ImDrawCmd’ has no member named ‘VtxOffset’ | |
320 | glDrawElementsBaseVertex(GL_TRIANGLES, (GLsizei)pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, (void*)(intptr_t)(pcmd->IdxOffset * sizeof(ImDrawIdx)), (GLint)pcmd->VtxOffset); | |
| ^~~~~~~~~ | |
make: *** [Makefile:236: build/kre/imgui_impl_opengl3.o] Error 1 | |
make: *** Waiting for unfinished jobs.... | |
In file included from src/kre/WindowManager.cpp:40: | |
src/kre/imgui_impl_sdl.h:22:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
22 | IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window, void* sdl_gl_context); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:23:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
23 | IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:24:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
24 | IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:25:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
25 | IMGUI_IMPL_API void ImGui_ImplSDL2_Shutdown(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:26:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
26 | IMGUI_IMPL_API void ImGui_ImplSDL2_NewFrame(SDL_Window* window); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:27:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
27 | IMGUI_IMPL_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
In file included from src/kre/WindowManager.cpp:41: | |
src/kre/imgui_impl_opengl3.h:38:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
38 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version = NULL); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:39:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
39 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_Shutdown(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:40:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
40 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_NewFrame(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:41:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
41 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:44:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
44 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateFontsTexture(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:45:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
45 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyFontsTexture(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:46:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
46 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:47:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
47 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/WindowManager.cpp: In lambda function: | |
src/kre/WindowManager.cpp:262:17: error: ‘ImGui_ImplOpenGL3_Shutdown’ was not declared in this scope | |
262 | ImGui_ImplOpenGL3_Shutdown(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/WindowManager.cpp:263:17: error: ‘ImGui_ImplSDL2_Shutdown’ was not declared in this scope | |
263 | ImGui_ImplSDL2_Shutdown(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/WindowManager.cpp:264:39: error: too few arguments to function ‘void ImGui::DestroyContext(ImGuiContext*)’ | |
264 | ImGui::DestroyContext(); | |
| ^ | |
In file included from src/kre/WindowManager.cpp:39: | |
imgui/imgui.h:461:29: note: declared here | |
461 | IMGUI_API void DestroyContext(ImGuiContext* ctx); | |
| ^~~~~~~~~~~~~~ | |
src/kre/WindowManager.cpp: In member function ‘virtual void KRE::SDLWindow::createWindow()’: | |
src/kre/WindowManager.cpp:281:13: error: ‘IMGUI_CHECKVERSION’ was not declared in this scope; did you mean ‘IMGUI_VERSION’? | |
281 | IMGUI_CHECKVERSION(); | |
| ^~~~~~~~~~~~~~~~~~ | |
| IMGUI_VERSION | |
src/kre/WindowManager.cpp:285:20: error: ‘StyleColorsClassic’ is not a member of ‘ImGui’ | |
285 | ImGui::StyleColorsClassic(); | |
| ^~~~~~~~~~~~~~~~~~ | |
src/kre/WindowManager.cpp:288:13: error: ‘ImGui_ImplSDL2_InitForOpenGL’ was not declared in this scope | |
288 | ImGui_ImplSDL2_InitForOpenGL(window_.get(), context_); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/WindowManager.cpp:289:13: error: ‘ImGui_ImplOpenGL3_Init’ was not declared in this scope | |
289 | ImGui_ImplOpenGL3_Init(glsl_version); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/WindowManager.cpp: In member function ‘virtual void KRE::SDLWindow::clear(KRE::ClearFlags)’: | |
src/kre/WindowManager.cpp:335:17: error: ‘ImGui_ImplOpenGL3_NewFrame’ was not declared in this scope | |
335 | ImGui_ImplOpenGL3_NewFrame(); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/WindowManager.cpp:336:17: error: ‘ImGui_ImplSDL2_NewFrame’ was not declared in this scope | |
336 | ImGui_ImplSDL2_NewFrame(window_.get()); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
src/kre/WindowManager.cpp: In member function ‘virtual void KRE::SDLWindow::swap()’: | |
src/kre/WindowManager.cpp:349:13: error: ‘ImGui_ImplOpenGL3_RenderDrawData’ was not declared in this scope | |
349 | ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData()); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
make: *** [Makefile:235: build/kre/WindowManager.o] Error 1 | |
In file included from src/kre/ParticleSystemUI.cpp:39: | |
src/kre/imgui_impl_sdl.h:22:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
22 | IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window, void* sdl_gl_context); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:23:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
23 | IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:24:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
24 | IMGUI_IMPL_API bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:25:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
25 | IMGUI_IMPL_API void ImGui_ImplSDL2_Shutdown(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:26:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
26 | IMGUI_IMPL_API void ImGui_ImplSDL2_NewFrame(SDL_Window* window); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_sdl.h:27:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
27 | IMGUI_IMPL_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
In file included from src/kre/ParticleSystemUI.cpp:40: | |
src/kre/imgui_impl_opengl3.h:38:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
38 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version = NULL); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:39:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
39 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_Shutdown(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:40:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
40 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_NewFrame(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:41:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
41 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:44:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
44 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateFontsTexture(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:45:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
45 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyFontsTexture(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:46:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
46 | IMGUI_IMPL_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
src/kre/imgui_impl_opengl3.h:47:1: error: ‘IMGUI_IMPL_API’ does not name a type; did you mean ‘IMGUI_API’? | |
47 | IMGUI_IMPL_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(); | |
| ^~~~~~~~~~~~~~ | |
| IMGUI_API | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl: In function ‘int ImGui::Curve(const char*, const ImVec2&, int, ImVec2*)’: | |
imgui/imgui_user.inl:68:3: error: ‘ImGuiWindow’ was not declared in this scope; did you mean ‘ImGuiWindowFlags’? | |
68 | ImGuiWindow* window = GetCurrentWindow(); | |
| ^~~~~~~~~~~ | |
| ImGuiWindowFlags | |
imgui/imgui_user.inl:68:16: error: ‘window’ was not declared in this scope | |
68 | ImGuiWindow* window = GetCurrentWindow(); | |
| ^~~~~~ | |
imgui/imgui_user.inl:68:25: error: ‘GetCurrentWindow’ was not declared in this scope | |
68 | ImGuiWindow* window = GetCurrentWindow(); | |
| ^~~~~~~~~~~~~~~~ | |
imgui/imgui_user.inl:74:3: error: ‘ImRect’ was not declared in this scope; did you mean ‘ImVec4’? | |
74 | ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); | |
| ^~~~~~ | |
| ImVec4 | |
imgui/imgui_user.inl:75:12: error: ‘bb’ was not declared in this scope | |
75 | ItemSize(bb); | |
| ^~ | |
imgui/imgui_user.inl:75:3: error: ‘ItemSize’ was not declared in this scope | |
75 | ItemSize(bb); | |
| ^~~~~~~~ | |
imgui/imgui_user.inl:76:8: error: ‘ItemAdd’ was not declared in this scope | |
76 | if (!ItemAdd(bb, NULL)) | |
| ^~~~~~~ | |
imgui/imgui_user.inl:79:24: error: ‘IsHovered’ was not declared in this scope; did you mean ‘hovered’? | |
79 | const bool hovered = IsHovered(bb, id); | |
| ^~~~~~~~~ | |
| hovered | |
imgui/imgui_user.inl:110:3: error: ‘RenderFrame’ was not declared in this scope | |
110 | RenderFrame(bb.Min, bb.Max, GetColorU32(ImGuiCol_FrameBg), true, style.FrameRounding); | |
| ^~~~~~~~~~~ | |
imgui/imgui_user.inl:117:4: error: ‘SetHoveredID’ was not declared in this scope | |
117 | SetHoveredID(id); | |
| ^~~~~~~~~~~~ | |
imgui/imgui_user.inl:130:29: error: no match for ‘operator-’ (operand types are ‘ImVec2’ and ‘ImVec2’) | |
130 | ImVec2 p = points[left] - pos; | |
| ~~~~~~~~~~~~ ^ ~~~ | |
| | | | |
| | ImVec2 | |
| ImVec2 | |
In file included from src/variant.hpp:36, | |
from src/preferences.hpp:30, | |
from src/kre/ParticleSystemUI.cpp:27: | |
src/decimal.hpp:85:16: note: candidate: ‘decimal operator-(const decimal&, const decimal&)’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ^~~~~~~~ | |
src/decimal.hpp:85:41: note: no known conversion for argument 1 from ‘ImVec2’ to ‘const decimal&’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ~~~~~~~~~~~~~~~^ | |
src/decimal.hpp:117:16: note: candidate: ‘decimal operator-(decimal, int)’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ^~~~~~~~ | |
src/decimal.hpp:117:34: note: no known conversion for argument 1 from ‘ImVec2’ to ‘decimal’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ~~~~~~~~^ | |
src/decimal.hpp:126:16: note: candidate: ‘decimal operator-(int, decimal)’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ^~~~~~~~ | |
src/decimal.hpp:126:30: note: no known conversion for argument 1 from ‘ImVec2’ to ‘int’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ~~~~^ | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl:132:24: error: no match for ‘operator-’ (operand types are ‘ImVec2’ and ‘ImVec2’) | |
132 | p = points[left+1] - pos; | |
| ~~~~~~~~~~~~~~ ^ ~~~ | |
| | | | |
| | ImVec2 | |
| ImVec2 | |
In file included from src/variant.hpp:36, | |
from src/preferences.hpp:30, | |
from src/kre/ParticleSystemUI.cpp:27: | |
src/decimal.hpp:85:16: note: candidate: ‘decimal operator-(const decimal&, const decimal&)’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ^~~~~~~~ | |
src/decimal.hpp:85:41: note: no known conversion for argument 1 from ‘ImVec2’ to ‘const decimal&’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ~~~~~~~~~~~~~~~^ | |
src/decimal.hpp:117:16: note: candidate: ‘decimal operator-(decimal, int)’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ^~~~~~~~ | |
src/decimal.hpp:117:34: note: no known conversion for argument 1 from ‘ImVec2’ to ‘decimal’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ~~~~~~~~^ | |
src/decimal.hpp:126:16: note: candidate: ‘decimal operator-(int, decimal)’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ^~~~~~~~ | |
src/decimal.hpp:126:30: note: no known conversion for argument 1 from ‘ImVec2’ to ‘int’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ~~~~^ | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl:208:18: error: no match for ‘operator-’ (operand types are ‘ImVec2’ and ‘ImVec2’) | |
208 | ImVec2 a = p - ImVec2(2, 2); | |
| ~ ^ ~~~~~~~~~~~~ | |
| | | | |
| | ImVec2 | |
| ImVec2 | |
In file included from src/variant.hpp:36, | |
from src/preferences.hpp:30, | |
from src/kre/ParticleSystemUI.cpp:27: | |
src/decimal.hpp:85:16: note: candidate: ‘decimal operator-(const decimal&, const decimal&)’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ^~~~~~~~ | |
src/decimal.hpp:85:41: note: no known conversion for argument 1 from ‘ImVec2’ to ‘const decimal&’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ~~~~~~~~~~~~~~~^ | |
src/decimal.hpp:117:16: note: candidate: ‘decimal operator-(decimal, int)’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ^~~~~~~~ | |
src/decimal.hpp:117:34: note: no known conversion for argument 1 from ‘ImVec2’ to ‘decimal’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ~~~~~~~~^ | |
src/decimal.hpp:126:16: note: candidate: ‘decimal operator-(int, decimal)’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ^~~~~~~~ | |
src/decimal.hpp:126:30: note: no known conversion for argument 1 from ‘ImVec2’ to ‘int’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ~~~~^ | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl:209:18: error: no match for ‘operator+’ (operand types are ‘ImVec2’ and ‘ImVec2’) | |
209 | ImVec2 b = p + ImVec2(2, 2); | |
| ~ ^ ~~~~~~~~~~~~ | |
| | | | |
| | ImVec2 | |
| ImVec2 | |
In file included from src/variant.hpp:36, | |
from src/preferences.hpp:30, | |
from src/kre/ParticleSystemUI.cpp:27: | |
src/decimal.hpp:81:16: note: candidate: ‘decimal operator+(const decimal&, const decimal&)’ | |
81 | inline decimal operator+(const decimal& a, const decimal& b) { | |
| ^~~~~~~~ | |
src/decimal.hpp:81:41: note: no known conversion for argument 1 from ‘ImVec2’ to ‘const decimal&’ | |
81 | inline decimal operator+(const decimal& a, const decimal& b) { | |
| ~~~~~~~~~~~~~~~^ | |
src/decimal.hpp:116:16: note: candidate: ‘decimal operator+(decimal, int)’ | |
116 | inline decimal operator+(decimal a, int b) { return operator+(a, decimal::from_int(b)); } | |
| ^~~~~~~~ | |
src/decimal.hpp:116:34: note: no known conversion for argument 1 from ‘ImVec2’ to ‘decimal’ | |
116 | inline decimal operator+(decimal a, int b) { return operator+(a, decimal::from_int(b)); } | |
| ~~~~~~~~^ | |
src/decimal.hpp:125:16: note: candidate: ‘decimal operator+(int, decimal)’ | |
125 | inline decimal operator+(int a, decimal b) { return operator+(decimal::from_int(a), b); } | |
| ^~~~~~~~ | |
src/decimal.hpp:125:30: note: no known conversion for argument 1 from ‘ImVec2’ to ‘int’ | |
125 | inline decimal operator+(int a, decimal b) { return operator+(decimal::from_int(a), b); } | |
| ~~~~^ | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl:214:3: error: ‘RenderTextClipped’ was not declared in this scope | |
214 | RenderTextClipped(ImVec2(bb.Min.x, bb.Min.y + style.FramePadding.y), bb.Max, label, NULL, NULL, ImVec2(0.5f, 0.0f)); | |
| ^~~~~~~~~~~~~~~~~ | |
imgui/imgui_user.inl: In function ‘bool ImGui::Spline(const char*, const ImVec2&, int, ImVec2*)’: | |
imgui/imgui_user.inl:238:3: error: ‘ImGuiWindow’ was not declared in this scope; did you mean ‘ImGuiWindowFlags’? | |
238 | ImGuiWindow* window = GetCurrentWindow(); | |
| ^~~~~~~~~~~ | |
| ImGuiWindowFlags | |
imgui/imgui_user.inl:238:16: error: ‘window’ was not declared in this scope | |
238 | ImGuiWindow* window = GetCurrentWindow(); | |
| ^~~~~~ | |
imgui/imgui_user.inl:238:25: error: ‘GetCurrentWindow’ was not declared in this scope | |
238 | ImGuiWindow* window = GetCurrentWindow(); | |
| ^~~~~~~~~~~~~~~~ | |
imgui/imgui_user.inl:245:3: error: ‘ImRect’ was not declared in this scope; did you mean ‘ImVec4’? | |
245 | ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); | |
| ^~~~~~ | |
| ImVec4 | |
imgui/imgui_user.inl:246:12: error: ‘bb’ was not declared in this scope | |
246 | ItemSize(bb); | |
| ^~ | |
imgui/imgui_user.inl:246:3: error: ‘ItemSize’ was not declared in this scope | |
246 | ItemSize(bb); | |
| ^~~~~~~~ | |
imgui/imgui_user.inl:247:7: error: ‘ItemAdd’ was not declared in this scope | |
247 | if(!ItemAdd(bb, NULL)) { | |
| ^~~~~~~ | |
imgui/imgui_user.inl:251:24: error: ‘IsHovered’ was not declared in this scope; did you mean ‘hovered’? | |
251 | const bool hovered = IsHovered(bb, id); | |
| ^~~~~~~~~ | |
| hovered | |
imgui/imgui_user.inl:278:3: error: ‘RenderFrame’ was not declared in this scope | |
278 | RenderFrame(bb.Min, bb.Max, GetColorU32(ImGuiCol_FrameBg), true, style.FrameRounding); | |
| ^~~~~~~~~~~ | |
imgui/imgui_user.inl:284:4: error: ‘SetHoveredID’ was not declared in this scope | |
284 | SetHoveredID(id); | |
| ^~~~~~~~~~~~ | |
imgui/imgui_user.inl:296:29: error: no match for ‘operator-’ (operand types are ‘ImVec2’ and ‘ImVec2’) | |
296 | ImVec2 p = points[left] - pos; | |
| ~~~~~~~~~~~~ ^ ~~~ | |
| | | | |
| | ImVec2 | |
| ImVec2 | |
In file included from src/variant.hpp:36, | |
from src/preferences.hpp:30, | |
from src/kre/ParticleSystemUI.cpp:27: | |
src/decimal.hpp:85:16: note: candidate: ‘decimal operator-(const decimal&, const decimal&)’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ^~~~~~~~ | |
src/decimal.hpp:85:41: note: no known conversion for argument 1 from ‘ImVec2’ to ‘const decimal&’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ~~~~~~~~~~~~~~~^ | |
src/decimal.hpp:117:16: note: candidate: ‘decimal operator-(decimal, int)’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ^~~~~~~~ | |
src/decimal.hpp:117:34: note: no known conversion for argument 1 from ‘ImVec2’ to ‘decimal’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ~~~~~~~~^ | |
src/decimal.hpp:126:16: note: candidate: ‘decimal operator-(int, decimal)’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ^~~~~~~~ | |
src/decimal.hpp:126:30: note: no known conversion for argument 1 from ‘ImVec2’ to ‘int’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ~~~~^ | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl:298:24: error: no match for ‘operator-’ (operand types are ‘ImVec2’ and ‘ImVec2’) | |
298 | p = points[left+1] - pos; | |
| ~~~~~~~~~~~~~~ ^ ~~~ | |
| | | | |
| | ImVec2 | |
| ImVec2 | |
In file included from src/variant.hpp:36, | |
from src/preferences.hpp:30, | |
from src/kre/ParticleSystemUI.cpp:27: | |
src/decimal.hpp:85:16: note: candidate: ‘decimal operator-(const decimal&, const decimal&)’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ^~~~~~~~ | |
src/decimal.hpp:85:41: note: no known conversion for argument 1 from ‘ImVec2’ to ‘const decimal&’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ~~~~~~~~~~~~~~~^ | |
src/decimal.hpp:117:16: note: candidate: ‘decimal operator-(decimal, int)’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ^~~~~~~~ | |
src/decimal.hpp:117:34: note: no known conversion for argument 1 from ‘ImVec2’ to ‘decimal’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ~~~~~~~~^ | |
src/decimal.hpp:126:16: note: candidate: ‘decimal operator-(int, decimal)’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ^~~~~~~~ | |
src/decimal.hpp:126:30: note: no known conversion for argument 1 from ‘ImVec2’ to ‘int’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ~~~~^ | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl:377:18: error: no match for ‘operator-’ (operand types are ‘ImVec2’ and ‘ImVec2’) | |
377 | ImVec2 a = p - ImVec2(2.0f, 2.0f); | |
| ~ ^ ~~~~~~~~~~~~~~~~~~ | |
| | | | |
| | ImVec2 | |
| ImVec2 | |
In file included from src/variant.hpp:36, | |
from src/preferences.hpp:30, | |
from src/kre/ParticleSystemUI.cpp:27: | |
src/decimal.hpp:85:16: note: candidate: ‘decimal operator-(const decimal&, const decimal&)’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ^~~~~~~~ | |
src/decimal.hpp:85:41: note: no known conversion for argument 1 from ‘ImVec2’ to ‘const decimal&’ | |
85 | inline decimal operator-(const decimal& a, const decimal& b) { | |
| ~~~~~~~~~~~~~~~^ | |
src/decimal.hpp:117:16: note: candidate: ‘decimal operator-(decimal, int)’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ^~~~~~~~ | |
src/decimal.hpp:117:34: note: no known conversion for argument 1 from ‘ImVec2’ to ‘decimal’ | |
117 | inline decimal operator-(decimal a, int b) { return operator-(a, decimal::from_int(b)); } | |
| ~~~~~~~~^ | |
src/decimal.hpp:126:16: note: candidate: ‘decimal operator-(int, decimal)’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ^~~~~~~~ | |
src/decimal.hpp:126:30: note: no known conversion for argument 1 from ‘ImVec2’ to ‘int’ | |
126 | inline decimal operator-(int a, decimal b) { return operator-(decimal::from_int(a), b); } | |
| ~~~~^ | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl:378:18: error: no match for ‘operator+’ (operand types are ‘ImVec2’ and ‘ImVec2’) | |
378 | ImVec2 b = p + ImVec2(2.0f, 2.0f); | |
| ~ ^ ~~~~~~~~~~~~~~~~~~ | |
| | | | |
| | ImVec2 | |
| ImVec2 | |
In file included from src/variant.hpp:36, | |
from src/preferences.hpp:30, | |
from src/kre/ParticleSystemUI.cpp:27: | |
src/decimal.hpp:81:16: note: candidate: ‘decimal operator+(const decimal&, const decimal&)’ | |
81 | inline decimal operator+(const decimal& a, const decimal& b) { | |
| ^~~~~~~~ | |
src/decimal.hpp:81:41: note: no known conversion for argument 1 from ‘ImVec2’ to ‘const decimal&’ | |
81 | inline decimal operator+(const decimal& a, const decimal& b) { | |
| ~~~~~~~~~~~~~~~^ | |
src/decimal.hpp:116:16: note: candidate: ‘decimal operator+(decimal, int)’ | |
116 | inline decimal operator+(decimal a, int b) { return operator+(a, decimal::from_int(b)); } | |
| ^~~~~~~~ | |
src/decimal.hpp:116:34: note: no known conversion for argument 1 from ‘ImVec2’ to ‘decimal’ | |
116 | inline decimal operator+(decimal a, int b) { return operator+(a, decimal::from_int(b)); } | |
| ~~~~~~~~^ | |
src/decimal.hpp:125:16: note: candidate: ‘decimal operator+(int, decimal)’ | |
125 | inline decimal operator+(int a, decimal b) { return operator+(decimal::from_int(a), b); } | |
| ^~~~~~~~ | |
src/decimal.hpp:125:30: note: no known conversion for argument 1 from ‘ImVec2’ to ‘int’ | |
125 | inline decimal operator+(int a, decimal b) { return operator+(decimal::from_int(a), b); } | |
| ~~~~^ | |
In file included from src/kre/ParticleSystemUI.cpp:41: | |
imgui/imgui_user.inl:383:3: error: ‘RenderTextClipped’ was not declared in this scope | |
383 | RenderTextClipped(ImVec2(bb.Min.x, bb.Min.y + style.FramePadding.y), bb.Max, label, NULL, NULL, ImVec2(0.5f, 0.0f)); | |
| ^~~~~~~~~~~~~~~~~ | |
make: *** [Makefile:235: build/kre/ParticleSystemUI.o] Error 1 | |
make -j8 CXXFLAGS=-fPIC -j8 27.79s user 3.06s system 247% cpu 12.474 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment