Error compiling latest trunk code for iOS 4.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

Thanks for the report by Travis and the fix by Samuel. I already
committed the fix in ticket #1324
(http://trac.pjsip.org/repos/ticket/1324).

Best regards,
Ming

On Mon, Aug 1, 2011 at 6:07 PM, Samuel Vinson <samuelv at laposte.net> wrote:
> Hello,
>
> This should fix the issue:
>
> ??? if ((param->flags & PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW) &&
> param->window.info.ios.window)
> ??? ??? window = (UIWindow *)param->window.info.ios.window;
>
> Samuel
>
> Le 30/07/11 09:17, Travis Kestler a ?crit?:
>
> I'm using the latest code from svn, here is the svn info --
> RL: http://svn.pjsip.org/repos/pjproject/trunk
> Repository Root: http://svn.pjsip.org/repos
> Repository UUID: 74dad513-b988-da41-8d7b-12977e46ad98
> Revision: 3685
> Node Kind: directory
> Schedule: normal
> Last Changed Author: bennylp
> Last Changed Rev: 3685
> Last Changed Date: 2011-07-26 01:48:48 -0700 (Tue, 26 Jul 2011)
> I'm getting the following errors
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1
> -c -Wall -DPJ_AUTOCONF=1 -O2 -Wno-unused-label
> -DPJ_SDK_NAME="\"iPhoneOS4.3.sdk\"" ?-isysroot
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk
> -DPJMEDIA_VIDEO_DEV_HAS_IOS=1
> -I/Users/tm/work/svn/trunk/third_party/build/speex
> -I/Users/tm/work/svn/trunk/third_party/speex/include
> -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -I../include -I../../pjlib/include
> -I../../pjlib-util/include -I../../pjmedia/include -I../../pjnath/include
> -I../.. -I/Users/tm/work/svn/trunk/third_party/build/srtp
> -I/Users/tm/work/svn/trunk/third_party/srtp/crypto/include
> -I/Users/tm/work/svn/trunk/third_party/srtp/include ?\
> -ooutput/pjmedia-videodev-arm-apple-darwin9/ios_dev.o \
> ../src/pjmedia-videodev/ios_dev.m
> ../src/pjmedia-videodev/ios_dev.m: In function ?ios_factory_create_stream?:
> ../src/pjmedia-videodev/ios_dev.m:493: error: invalid operands to binary &&
> (have ?int? and ?pjmedia_vid_dev_hwnd?)
> ../src/pjmedia-videodev/ios_dev.m:494: error: cannot convert to a pointer
> type
> make[2]: *** [output/pjmedia-videodev-arm-apple-darwin9/ios_dev.o] Error 1
> make[1]: *** [pjmedia-videodev] Error 2
> make: *** [all] Error 1
>
> Any idea how i can resolve this?
> Thanks,
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux