linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] compiling linphone on iOS9.x


From: Devel Rd
Subject: [Linphone-developers] compiling linphone on iOS9.x
Date: Mon, 23 Nov 2015 13:56:27 +0100

Hi all, 
I'm trying to compile the latest linphone version, got from git, with iOS 9.x.
To do so, I installed the latest Xcode 7.7.1 and the package manager brew.

I would like to enable openh264 codec and I tried to enable it using the following command:

./prepare.py all --enable-non-free-codecs -DENABLE_OPENH264=ON


The prepare command seems to work properly, 

-- Enabled features:

 * Unit tests , Build unit tests programs for belle-sip, mediastreamer2 and linphone.

 * Documentation , Enable documentation generation with Doxygen.

 * GPL third parties , Usage of GPL third-party code (FFmpeg and x264).

 * Non free codecs , Allow inclusion of non-free codecs in the build.

 * SRTP , SRTP media encryption support.

 * ZRTP , ZRTP media encryption support.

 * DTLS , DTLS media encryption support.

 * GSM , GSM audio encoding/decoding support.

 * iLBC , iLBC audio encoding/decoding support.

 * ISAC , ISAC audio encoding/decoding support.

 * OPUS , OPUS audio encoding/decoding support.

 * Silk , Silk audio encoding/decoding support.

 * Speex , Speex audio encoding/decoding support.

 * Video , Ability to capture and display video.

 * FFmpeg , Some video processing features via FFmpeg: JPEG encoding/decoding, video scaling, H264 decoding...

 * OpenH264 , H.264 video encoding/decoding support with the openh264 library (require license).

 * VPX , VPX (VP8) video encoding/decoding support.

 * NLS , Enable internationalization of Linphone and Liblinphone. (Only for the desktop target)


-- Disabled features:

 * Tunnel , Secure tunnel for SIP/RTP (require license).

 * RTP MAP , Always include rtpmap in SDP.

 * WebRTC AEC , WebRTC echo canceller support.

 * WASAPI , Windows Audio Session API (WASAPI) sound card support.

 * AMRNB , AMR narrow-band audio encoding/decoding support (require license).

 * AMRWB , AMR wide-band audio encoding/decoding support (require license).

 * G729 , G.729 audio encoding/decoding support (require license).

 * H263 , H263 video encoding/decoding support (require license).

 * H263p , H263+ video encoding/decoding support (require license).

 * MKV , MKV playing and recording support.

 * MPEG4 , MPEG4 video encoding/decoding support (require license).

 * V4L , V4L camera driver.

 * X264 , H.264 video encoding support with the x264 library (require license).

 * PCAP , PCAP support.


but when I tried to compile I got this error:

loading initial cache file /linphone-iphone/WORK/ios-i386//tmp/EP_msopenh264/EP_msopenh264-cache-Release.cmake

-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk

-- Using sdk version: 9.1

-- Using sysroot path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk

-- Using sdk version: 9.1

-- Looking for stdbool.h

-- Looking for stdbool.h - found

-- Looking for WelsCreateDecoder

-- Looking for WelsCreateDecoder - not found

CMake Error at /opt/local/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:148 (message):

  Could NOT find OpenH264 (missing: HAVE_WELS_CREATE_DECODER)

Call Stack (most recent call first):

  /opt/local/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)

  cmake/FindOpenH264.cmake:64 (find_package_handle_standard_args)

  CMakeLists.txt:47 (find_package)



-- Configuring incomplete, errors occurred!

See also "/linphone-iphone/WORK/ios-i386/Build/msopenh264/CMakeFiles/CMakeOutput.log".

See also "/linphone-iphone/WORK/ios-i386/Build/msopenh264/CMakeFiles/CMakeError.log".

make[4]: *** [/linphone-iphone/WORK/ios-i386/Stamp/EP_msopenh264/EP_msopenh264-configure] Error 1

make[3]: *** [CMakeFiles/EP_msopenh264.dir/all] Error 2

make[2]: *** [CMakeFiles/EP_msopenh264.dir/rule] Error 2

make[1]: *** [EP_msopenh264] Error 2

make: *** [i386-build-msopenh264] Error 2



I think I missed some dependencies, can anyone help me please?

Thanks
RD

reply via email to

[Prev in Thread] Current Thread [Next in Thread]