ok. clean+rebuild fixed it
it was exiting with 'image not found' which i presumed was an error from the example that i was testing with if the image (picture) path didn't exist, but it was a library error.