Paul
Paul
Ok, for this minimal example project, it works. But for a bigger project that adds dependencies (libsdl, opengl, etc), everything compiles, but I got a lot of linker errors ```...
I've tried to make a minimal version of my project file, here it is the complete code xmake.lua ``` set_project("something") -- set_policy("build.optimization.lto", true) -- disabled now -- Global settings set_languages("c++23")...
All the files should be listed in my previous post. And I have disabled LTO ``` $ xmake [ 15%]: cache compiling.debug cpp/third_party/glad/glad.c [ 20%]: archiving.debug libglad.a [ 55%]: compiling.module.debug...
Sorry. What do you mean by full project? a zip file? a public repo?
I see, thank you. Here is the project [template_module_not_found.zip](https://github.com/user-attachments/files/16068171/template_module_not_found.zip)
It doesn't work either way Using `add_packages("libsdl", {public = true})` ``` $ xmake clean $ xmake [ 0%]: generating.module.deps cpp/apps/App1/app1.cpp [ 0%]: generating.module.deps cpp/my_lib/Math/Vector.mpp [ 0%]: generating.module.deps cpp/my_lib/Math/Vector.mpp [ 0%]:...
Ok. I had the `add_packages("libsdl", {public = true})` part in the wrong place. Now it is under the library target Linking is fine now: ``` [ 85%]: linking.release app2_linux_x86_64-release /usr/lib64/ccache/g++...
Thank you. In my original project, everything is working now
Still happening in 2025 Fedora KDE 41 x64