-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Description
When trying to compile Project Generator on Debian Linux (Sid), GCC 15.2.0, I get the following error:
[...]
src/utils/LibraryBinary.cpp: In function ‘std::string findStringsInPath(const std::vector<std::__cxx11::basic_string<char> >&, const std::filesystem::__cxx11::path&)’:
src/utils/LibraryBinary.cpp:16:22: error: no matching function for call to ‘find(std::vector<std::__cxx11::basic_string<char> >::const_iterator, std::vector<std::__cxx11::basic_string<char> >::const_iterator, const std::vector<std::__cxx11::basic_string<char> >&)’
16 | if (std::find(strings.begin(), strings.end(), vp) != strings.end()) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[...]
Adding
#include <algorithm>
to src/utils/LibraryBinary.h fixes the error.
Metadata
Metadata
Assignees
Labels
No labels