You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_impl_sdlrenderer2.o:imgui_draw.cpp:(.text+0x21170): multiple definition of `ImFont::FindGlyph(unsigned short) const'; C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_draw.o:imgui_draw.cpp:(.text+0x21170): first defined here
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_impl_sdlrenderer2.o:imgui_draw.cpp:(.text+0x211ec): multiple definition of `ImFont::FindGlyphNoFallback(unsigned short) const'; C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_draw.o:imgui_draw.cpp:(.text+0x211ec): first defined here
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_impl_sdlrenderer2.o:imgui_draw.cpp:(.text+0x212c2): multiple definition of `ImFont::CalcWordWrapPositionA(float, char const*, char const*, float) const'; C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_draw.o:imgui_draw.cpp:(.text+0x212c2): first defined here
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_impl_sdlrenderer2.o:imgui_draw.cpp:(.text+0x2156e): multiple definition of `ImFont::CalcTextSizeA(float, float, float, char const*, char const*, char const**) const'; C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_draw.o:imgui_draw.cpp:(.text+0x2156e): first defined here
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_impl_sdlrenderer2.o:imgui_draw.cpp:(.text+0x21816): multiple definition of `ImFont::RenderChar(ImDrawList*, float, ImVec2 const&, unsigned int, unsigned short) const'; C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_draw.o:imgui_draw.cpp:(.text+0x21816): first defined here
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_impl_sdlrenderer2.o:imgui_draw.cpp:(.text+0x219fa): multiple definition of `ImFont::RenderText(ImDrawList*, float, ImVec2 const&, unsigned int, ImVec4 const&, char const*, char const*, float, bool) const'; C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_draw.o:imgui_draw.cpp:(.text+0x219fa): first defined here
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_impl_sdlrenderer2.o:imgui_draw.cpp:(.text+0x223ed): multiple definition of `ImGui::RenderArrow(ImDrawList*, ImVec2, unsigned int, int, float)'; C:/Users/Owner/OneDrive/Programming/SammYT/shared/inc/imgui/src/imgui_draw.o:imgui_draw.cpp:(.text+0x223ed): first defined here
<More of the multiple definition of 'blank definition'>
Does anyone know how to fix this I can't get it to work for the life of me.
Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using Mingw-w64 through msys2 and am attempting to use the SDL2 backend (SDL2 works perfectly fine).
I've been attempting for hours to get this to work with a makefile.
When linking I get 100s or even 1000s of these errors:
Makefile link: https://github.com/Sammyueru/SammYT/blob/5eb5976ef0974ae722c6ace670932e24dd18fe3d/makefile
Does anyone know how to fix this I can't get it to work for the life of me.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions