Saving images is part of the highgui lib which is a utility lib for openCV - I think if you add in the cv highgui lib and header files it should work. Though I am not sure how hard that is - I always remember highgui being a little more tricky to get working.