So I think the error with the nightly build is tied to the switch from ofFile::copyTo to fs::copy_file.
ofFile::copyTo creates the folder structure if it doesn't exist.
See:
https://github.com/openframeworks/openFrameworks/blob/master/libs/openFrameworks/utils/ofFileUtils.cpp#L957-L959
But fs::copy_file doesn't
So when the projectGenerator tries to copy the template file sortingExample/.vscode/c_cpp_properties.json over into sortingExample/.vscode/ it errors as the folder doesn't exist.
Suggestion we switch fs::copy_file to an internal copyFile call which mimics the old behavior or we revert to the old ofFile::copyTo as I am guessing this might be affecting other files as well.
Related:
openframeworks/openFrameworks#7502
So I think the error with the nightly build is tied to the switch from
ofFile::copyTotofs::copy_file.ofFile::copyTocreates the folder structure if it doesn't exist.See:
https://github.com/openframeworks/openFrameworks/blob/master/libs/openFrameworks/utils/ofFileUtils.cpp#L957-L959
But fs::copy_file doesn't
So when the projectGenerator tries to copy the template file
sortingExample/.vscode/c_cpp_properties.jsonover intosortingExample/.vscode/it errors as the folder doesn't exist.Suggestion we switch fs::copy_file to an internal copyFile call which mimics the old behavior or we revert to the old
ofFile::copyToas I am guessing this might be affecting other files as well.Related:
openframeworks/openFrameworks#7502