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

make errors for imgui undefine references #1

Open
Kavi4852 opened this issue Jul 28, 2022 · 3 comments
Open

make errors for imgui undefine references #1

Kavi4852 opened this issue Jul 28, 2022 · 3 comments

Comments

@Kavi4852
Copy link

/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGuiListClipper_SeekCursorForItem(ImGuiListClipper*, int) [clone .isra.0]': imgui.cpp:(.text+0x976): undefined reference to ImGui::TableEndRow(ImGuiTable*)'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::DebugTextEncoding(char const*) [clone .part.0]': imgui.cpp:(.text+0x52fb): undefined reference to ImGui::TableSetupColumn(char const*, int, float, unsigned int)'
/usr/bin/ld: imgui.cpp:(.text+0x530f): undefined reference to ImGui::TableSetupColumn(char const*, int, float, unsigned int)' /usr/bin/ld: imgui.cpp:(.text+0x5323): undefined reference to ImGui::TableSetupColumn(char const*, int, float, unsigned int)'
/usr/bin/ld: imgui.cpp:(.text+0x5337): undefined reference to ImGui::TableSetupColumn(char const*, int, float, unsigned int)' /usr/bin/ld: imgui.cpp:(.text+0x533c): undefined reference to ImGui::TableHeadersRow()'
/usr/bin/ld: imgui.cpp:(.text+0x536e): undefined reference to ImGui::TableNextColumn()' /usr/bin/ld: imgui.cpp:(.text+0x5386): undefined reference to ImGui::TableNextColumn()'
/usr/bin/ld: imgui.cpp:(.text+0x5421): undefined reference to ImGui::TableNextColumn()' /usr/bin/ld: imgui.cpp:(.text+0x5455): undefined reference to ImGui::TableNextColumn()'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGuiListClipper::Begin(int, float)': imgui.cpp:(.text+0xac17): undefined reference to ImGui::TableEndRow(ImGuiTable*)'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::Initialize()': imgui.cpp:(.text+0xb79e): undefined reference to ImGui::TableSettingsAddSettingsHandler()'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::End()': imgui.cpp:(.text+0x138bc): undefined reference to ImGui::EndColumns()'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::DebugTextEncoding(char const*)': imgui.cpp:(.text+0x15fa8): undefined reference to ImGui::BeginTable(char const*, int, int, ImVec2 const&, float)'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::DebugNodeColumns(ImGuiOldColumns*)': imgui.cpp:(.text+0x16099): undefined reference to ImGui::GetColumnOffsetFromNorm(ImGuiOldColumns const*, float)'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::ErrorCheckEndWindowRecover(void (*)(void*, char const*, ...), void*)': imgui.cpp:(.text+0x17303): undefined reference to ImGui::EndTable()'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::NewFrame()': imgui.cpp:(.text+0x233db): undefined reference to ImGui::TableGcCompactTransientBuffers(ImGuiTable*)'
/usr/bin/ld: imgui.cpp:(.text+0x2344c): undefined reference to ImGui::TableGcCompactTransientBuffers(ImGuiTableTempData*)' /usr/bin/ld: imgui.cpp:(.text+0x23e90): undefined reference to ImGui::TableGcCompactSettings()'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::ShowStackToolWindow(bool*)': imgui.cpp:(.text+0x26251): undefined reference to ImGui::BeginTable(char const*, int, int, ImVec2 const&, float)'
/usr/bin/ld: imgui.cpp:(.text+0x26289): undefined reference to ImGui::TableSetupColumn(char const*, int, float, unsigned int)' /usr/bin/ld: imgui.cpp:(.text+0x262a0): undefined reference to ImGui::TableSetupColumn(char const*, int, float, unsigned int)'
/usr/bin/ld: imgui.cpp:(.text+0x262bb): undefined reference to ImGui::TableSetupColumn(char const*, int, float, unsigned int)' /usr/bin/ld: imgui.cpp:(.text+0x262c0): undefined reference to ImGui::TableHeadersRow()'
/usr/bin/ld: imgui.cpp:(.text+0x262f7): undefined reference to ImGui::TableNextColumn()' /usr/bin/ld: imgui.cpp:(.text+0x26323): undefined reference to ImGui::TableNextColumn()'
/usr/bin/ld: imgui.cpp:(.text+0x26354): undefined reference to ImGui::TableNextColumn()' /usr/bin/ld: imgui.cpp:(.text+0x263bb): undefined reference to ImGui::TableSetBgColor(int, unsigned int, int)'
/usr/bin/ld: imgui.cpp:(.text+0x263e1): undefined reference to ImGui::EndTable()' /usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGuiListClipper::Step()':
imgui.cpp:(.text+0x26f6c): undefined reference to ImGui::TableEndRow(ImGuiTable*)' /usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::ShowMetricsWindow(bool*)':
imgui.cpp:(.text+0x291e2): undefined reference to ImGui::DebugNodeTable(ImGuiTable*)' /usr/bin/ld: imgui.cpp:(.text+0x2a294): undefined reference to ImGui::DebugNodeTableSettings(ImGuiTableSettings*)'
/usr/bin/ld: imgui.cpp:(.text+0x2af12): undefined reference to ImGui::BeginTable(char const*, int, int, ImVec2 const&, float)' /usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::DebugTextEncoding(char const*) [clone .part.0]':
imgui.cpp:(.text+0x54c7): undefined reference to ImGui::EndTable()' /usr/bin/ld: libIMGUI_LIBRARIES.a(imgui.cpp.o): in function ImGui::GcCompactTransientMiscBuffers()':
imgui.cpp:(.text+0xa2a2): undefined reference to ImGui::TableGcCompactSettings()' /usr/bin/ld: libIMGUI_LIBRARIES.a(imgui_widgets.cpp.o): in function ImGui::SeparatorEx(int)':
imgui_widgets.cpp:(.text+0x8543): undefined reference to ImGui::PushColumnsBackground()' /usr/bin/ld: imgui_widgets.cpp:(.text+0x85b4): undefined reference to ImGui::PopColumnsBackground()'
/usr/bin/ld: libIMGUI_LIBRARIES.a(imgui_widgets.cpp.o): in function ImGui::Selectable(char const*, bool, int, ImVec2 const&)': imgui_widgets.cpp:(.text+0x11f9d): undefined reference to ImGui::PushColumnsBackground()'
/usr/bin/ld: imgui_widgets.cpp:(.text+0x120f2): undefined reference to ImGui::PopColumnsBackground()' /usr/bin/ld: imgui_widgets.cpp:(.text+0x12320): undefined reference to ImGui::TablePushBackgroundChannel()'
/usr/bin/ld: imgui_widgets.cpp:(.text+0x12340): undefined reference to `ImGui::TablePopBackgroundChannel()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/TrackpadService.dir/build.make:189: ../bin/Release/TrackpadService] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/TrackpadService.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

@teamclouday
Copy link
Owner

You've probably downloaded the latest v1.88 ImGui. I was using v1.78 while developing for this app.
Maybe try v1.78? Otherwise please drop all the .cpp files in ImGui root folder to the same place as imgui.cpp.

I'm not planning to update this app right now unless I have the motivation to learn Bluez 5 API 😂

@KaushikRathva
Copy link

can i help out somehow?

@teamclouday
Copy link
Owner

can i help out somehow?

If you mean Bluez 5, Yes of course!

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

No branches or pull requests

3 participants