Closed luciddream-tsin closed 7 months ago
MSYS MINGW64 compiling AtlasEngine under Windows 11:
When I solve the above three problems, I can compile successfully, but there is an error during the linking process.
AtlasEngineEditor.dir/App.cpp.obj: in function `Atlas::Editor::App::SetupMainDockspace(unsigned int)': Atlas-Engine/src/editor/App.cpp:320:(.text+0x9c6): undefined reference to `ImGui::SetWindowSize(ImVec2 const&, int)' C:/Software/MSYS2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Codes/GraphicsProj/Atlas-Engine/src/editor/App.cpp:321:(.text+0x9dc): undefined reference to `ImGui::SetWindowPos(ImVec2 const&, int)' C:/Software/MSYS2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Codes/GraphicsProj/Atlas-Engine/src/editor/App.cpp:323:(.text+0x9e3): undefined reference to `ImGui::DockBuilderRemoveNode(unsigned int)' C:/Software/MSYS2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Codes/GraphicsProj/Atlas-Engine/src/editor/App.cpp:324:(.text+0x9ec): undefined reference to `ImGui::DockBuilderAddNode(unsigned int, int)' C:/Software/MSYS2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Codes/GraphicsProj/Atlas-Engine/src/editor/App.cpp:327:(.text+0xa0f): undefined reference to `ImGui::DockBuilderSplitNode(unsigned int, int, float, unsigned int*, unsigned int*)' C:/Software/MSYS2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Codes/GraphicsProj/Atlas-Engine/src/editor/App.cpp:330:(.text+0xa40): undefined reference to `ImGui::DockBuilderDockWindow(char const*, unsigned int)' ....
MSYS MINGW64 compiling AtlasEngine under Windows 11:
When I solve the above three problems, I can compile successfully, but there is an error during the linking process.