   Application fails with exit code 3.
  HiI wrote a model loader based on Nehe's tutorial and it works for the model provided in the tut. However, I downloaded some extra models from the net, but when I try and load them the application fails with an exit code 3.I debugged the code using gdb 6.3-2 and works fine, it loads and displays the model when I step through. I'm using Netbeans with mingw, and SDL with OpenGL. Has anyone ever experienced this?Thanks   
  Have you maybe different debug/release folders, and the files in question not present in each of them?   ;  I've included code to check if the file doesn't exist. It will give a message. Like I said, it works for one model, but not the rest.   ;Quote:Original post by TooLSHeDI've included code to check if the file doesn't exist. It will give a message. Like I said, it works for one model, but not the rest.Though you also mentioned it works while debugging, but not if not ;)   ;  Yes, sorry, to clarify. When running in debug (or release) mode only the one model works. When I debug while using gdb, the other models that caused the app to fail suddenly work as well.   