I got both of those errors too, in that order, but after building the FreeImage lib and adding it to my project, neither error has come back despite many code changes and "clean all"s. I assume your just changing your app code, right? Not changing OF lib code?
Yes, exactly those steps 1-5 that you linked. Followed that to the letter and it worked. I assumed that that process would fix it for everyone on the new SDK, but maybe I was just lucky… :?
Well, I don’t want to be too optimist but I got it working now.
I have Xcode 3.2.3 + OF 0061 + iOS4.
What I did is keep the original FreeImage.h and the original libFreeImage_iphone_universal.a.
Then I added to my project the two files of the new version of FreeImage (after downloading and compiling it) libfreeimage-iphone.a
libfreeimage-iphonesimulator.a
by dragging them into the FreeImage library group.
Then, inside Target > myProject > Link Binary with Libraries I just moved the old one to the bottom (to give linking precedence to the other two files) so that this is the order:
_
libfreeimage-iphone.a
libfreeimage-iphonesimulator.a
libFreeImage_iphone_universal.a
_
Finally I had to apply the color fix (find it in this thread).
With these passages it seems working fine BOTH on Simulator 3.2 and 4.0 and Device 3.2 and 4.0.