After compiling the code, the compiler told the error message unrecoverable error importing module 'std': symbol 'float_denorm_style' has already been defined.
I use the default glm.cppm file in package and I build my project with xmake. The xmake.lua file is as follows.
I use standard library module
std
in my opengl project and I ran into a problem. I pick up the necessary part as follows.After compiling the code, the compiler told the error message unrecoverable error importing module 'std': symbol 'float_denorm_style' has already been defined.
I use the default
glm.cppm
file in package and I build my project with xmake. Thexmake.lua
file is as follows.At last there are some details about my environment.