Apologies if this is a newbie question…
I’m trying to write and move some files around with JUCE.
I got it to work properly as I wanted on debug, however when I build release it fails creating some directories.
To be a bit more specific, It’s something like this:
auto workingFolder = juce::File::getCurrentWorkingDirectory(); auto copyFolder = workingFolder.getSiblingFile (workingFolder.getFileNameWithoutExtension() + "_copy").getNonexistentSibling(); jassert (copyFolder.createDirectory()); if (! workingFolder.copyDirectoryTo (copyFolder))
Any ideas on how to solve this? Thank you in advance