I am trying to build SDK for linphone-iphone . But, unable to do so. It is giving me an error:
"You need at least CMake version 3.3.20150815 but you are currently using
3.2.3. There is no Cmake release available for it yet, so you must either
compile it manually or revert to XCode6 temporary."
I am using Xcode 7.1.
Even I don't know how to compile it manually or revert to XCode6 temporary. So, if anybody knows, please help me.
Note: I am building it by command "./prepare.py -c && ./prepare.py && make" in linphone-iphone project directory from terminal in Mac OS as per instructions given on https://github.com/BelledonneCommunications/linphone-iphone .
You should install cmake version >= 3.2.3 install them like this:
brew install cmake
this will install cmake to /usr/local/bin You can check version like this:
/usr/local/bin/cmake --version
then you need to reorder your PATH variable:
export PATH=/usr/local/bin:$PATH
after that, you can continue:
./prepare.py -c
./prepare.py
make
通过更新linphone子模块来解决:
git pull && git submodule update --init --recursive && ./prepare.py -c && make
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.