When I configurate the source code in Cmake with configurator Mingw Makefile, I get no errors, when I proceed to the terminal and write "make" in the correct folder, I get the following error in termianl:
error: cannot convert 'const value_type*' {aka 'const wchar_t*'} to 'const char*'
This line causing this problem is this:
int nbr = (int) std::strtol(entry.path().filename().c_str(), nullptr, 10);
Previously I've run the exact same code on Mac with 0 issues. Running on Windows 11. Any ideas on how this can be solved?