Hey @cyrstem, the nightly build now has support for c++17, which required reworking the file system in oF. So maybe try adding a cxx flag ‘-std=c++17’ to the project makefile (or the .qbs file in Qt Creator, etc). I’m thinking the ./compileOF script compiles the nightly build with c++17 because this flag is set in the config.linux.common.mk file on line 139.
Hum, not sure with VS Code. Does it use the project config.make when it builds? If so, I would try uncommenting line 140 of config.make in the project and add the flag there:
PROJECT_CXX += -std=c++17
Or maybe there is a way to set this flag as a build setting in VS Code? The IDEs are all a bit different this way. With QT Creator, there is a line in the project .qbs file that is similar to the above, where flags can be passed to the compiler to tell it which version of c++ to use. There is also probably a way in its settings to set the flag for every project.
If you still have trouble maybe we can ping Theo and ask him the best way to do this.