You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately I am getting an error when compiling on Arch Linux (freshly upgraded system): In file included from /home/drtebi/Downloads/lms-git/src/lms-git/src/libs/utils/impl/Path.cpp:20: /home/drtebi/Downloads/lms-git/src/lms-git/src/libs/utils/include/utils/Path.hpp:44:16: error: redefinition of ‘struct std::hash<std::filesystem::__cxx11::path>’ 44 | struct hash<std::filesystem::path> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.1.0/filesystem:45, from /home/drtebi/Downloads/lms-git/src/lms-git/src/libs/utils/include/utils/Path.hpp:22: /usr/include/c++/12.1.0/bits/fs_path.h:1422:10: note: previous definition of ‘struct std::hash<std::filesystem::__cxx11::path>’ 1422 | struct hash<filesystem::path> | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [src/libs/utils/CMakeFiles/lmsutils.dir/build.make:202: src/libs/utils/CMakeFiles/lmsutils.dir/impl/Path.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1656: src/libs/utils/CMakeFiles/lmsutils.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
I thought it might be a new issues and tried installing 3.28 from source, but there I am getting the same error.
gcc/g++ version 12.1.0
The text was updated successfully, but these errors were encountered:
Unfortunately I am getting an error when compiling on Arch Linux (freshly upgraded system):
In file included from /home/drtebi/Downloads/lms-git/src/lms-git/src/libs/utils/impl/Path.cpp:20: /home/drtebi/Downloads/lms-git/src/lms-git/src/libs/utils/include/utils/Path.hpp:44:16: error: redefinition of ‘struct std::hash<std::filesystem::__cxx11::path>’ 44 | struct hash<std::filesystem::path> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.1.0/filesystem:45, from /home/drtebi/Downloads/lms-git/src/lms-git/src/libs/utils/include/utils/Path.hpp:22: /usr/include/c++/12.1.0/bits/fs_path.h:1422:10: note: previous definition of ‘struct std::hash<std::filesystem::__cxx11::path>’ 1422 | struct hash<filesystem::path> | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [src/libs/utils/CMakeFiles/lmsutils.dir/build.make:202: src/libs/utils/CMakeFiles/lmsutils.dir/impl/Path.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1656: src/libs/utils/CMakeFiles/lmsutils.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
I thought it might be a new issues and tried installing 3.28 from source, but there I am getting the same error.
gcc/g++ version 12.1.0
The text was updated successfully, but these errors were encountered: