I'm using three open source projects (live555, rtspClient and decodewrapper) in my application to be able to stream live video on iPhone from IP cameras through rtsp. The problem is that when I compile I get the following error.
I have no idea where does it come from or how to fix it. Can anyone please help me fix this problem? I can provide my code if needed.
Code:
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: file: /Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libz.dylib is a dynamic library, not added to the static library
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: can't locate file for: -lavcodec
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: file: -lavcodec is not an object file (not allowed in a library)
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: can't locate file for: -lavdevice
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: file: -lavdevice is not an object file (not allowed in a library)
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: can't locate file for: -lavformat
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: file: -lavformat is not an object file (not allowed in a library)
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: can't locate file for: -lavutil
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: file: -lavutil is not an object file (not allowed in a library)
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: can't locate file for: -lswscale
/Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: file: -lswscale is not an object file (not allowed in a library)
Command /Developer/Tools/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool failed with exit code 1