Are you running this from the project viewer or through DIRECT mode? Make sure to run the program while the program has access to its project folder. Otherwise, it might not have access to files necessary to run correctly.