Error: invalid user-defined conversion from WrappedImage to PFFINALRELEASE (C++)

i use cmake and with the option fpermissive it work.but thank you for your help