I’m running ofxKinect using OF 0062 and VS2010.
The example runs, but when I try to record the file, I cannot find where it is saved.
The “recording.dat” file from the example doesn’t show up anywhere, even if I make the path absolute. Strange thing is that if I run the example for a second time and start playback immediately, it finds the file that I recorded previously, so it IS saved somewhere… ???
void ofxKinectRecorder::init(const string & filename){
f = fopen(ofToDataPath(filename).c_str(),"wb");
}
The problem is that the f is null… I do have permissions to write. Any ideas?
Edit: Found it… it was looking for ‘app/data/filename’ instead of ‘app/bin/data/filename’, since the data directory didn’t exist, the file couldn’t write. Problem solved, thx danomatika.