Undefined reference issue, can't link right the project, cmake + mingw #7845
lazzybunny
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 1 comment 9 replies
-
You are not specifying what your linking error is. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there, i'm trying to build my project, but can't go throw linking problem, something i'm doing wrong, but can't understand what exactly, bagging you for help!
My general cmakeLists
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x1656b): undefined reference to
ImGui::TableSetupColumn(char const*, int, float, unsigned int)' C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x1657a): undefined reference to
ImGui::TableSetupScrollFreeze(int, int)'C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x1657f): undefined reference to
ImGui::TableHeadersRow()' C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x16584): undefined reference to
ImGui::TableGetSortSpecs()'C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x16643): undefined reference to
ImGui::TableNextRow(int, float)' C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x16648): undefined reference to
ImGui::TableNextColumn()'C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x16667): undefined reference to
ImGui::TableNextColumn()' C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x16684): undefined reference to
ImGui::TableNextColumn()'C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x16698): undefined reference to
ImGui::TableNextColumn()' C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x166e7): undefined reference to
ImGui::EndTable()'C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x1740d): undefined reference to
ImGui::BeginTable(char const*, int, int, ImVec2 const&, float)' C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x17438): undefined reference to
ImGui::TableSetupColumn(char const*, int, float, unsigned int)'C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x1745c): undefined reference to
ImGui::TableSetupColumn(char const*, int, float, unsigned int)' C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x17482): undefined reference to
ImGui::TableSetupColumn(char const*, int, float, unsigned int)'C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x174a6): undefined reference to
ImGui::TableSetupColumn(char const*, int, float, unsigned int)' C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x174e4): undefined reference to
ImGui::TableSetupColumn(char const*, int, float, unsigned int)'C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x1750a): more undefined references to
ImGui::TableSetupColumn(char const*, int, float, unsigned int)' follow C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\user\AppData\Local\Temp\ccnPetga.o:imgui_demo.cpp:(.text+0x1751d): undefined reference to
ImGui::TableSetupScrollFreeze(int, int)'Beta Was this translation helpful? Give feedback.
All reactions