BelledonneCommunications / linphone-iphone

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of linphone-iphone (git://git.linphone.org/linphone-iphone.git)

Home Page:http://linphone.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

./prepare.py issue linphone-sdk branch release/5.2 with linphone-iphone branch release/5.0

Coderode opened this issue · comments

Getting the issue while running command :
./prepare.py -c && ./prepare.py -DENABLE_H263=ON -DENABLE_H263P=ON -DENABLE_MPEG4=ON -DENABLE_FFMPEG=ON -DENABLE_NON_FREE_CODECS=ON -DENABLE_GPL_THIRD_PARTIES=ON && make -j1

the issue is :
-- Including external builders from /Users/sandeep/Documents/Linphone-iphone-2/linphone-iphone/cmake_builder
CMake Error at builders/CMakeLists.txt:60 (include):
include could not find requested file:

/Users/sandeep/Documents/Linphone-iphone-2/linphone-iphone/cmake_builder/CMakeLists.txt

Call Stack (most recent call first):
configs/config-ios.cmake:56 (include)
configs/config-ios-x86_64.cmake:24 (include)
CMakeLists.txt:63 (include)

and

-- Build files have been written to: /Users/sandeep/Documents/Linphone-iphone-2/linphone-iphone/WORK/ios-x86_64/cmake/Autotools
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.27/Modules/ExternalProject.cmake:3176 (message):
No download info given for 'EP_jsoncpp' and its source directory:

/Users/sandeep/Documents/Linphone-iphone-2/linphone-iphone/WORK/ios-x86_64/Source/EP_jsoncpp

is not an existing non-empty directory. Please specify one of:

  • SOURCE_DIR with an existing non-empty directory
  • DOWNLOAD_COMMAND
  • URL
  • GIT_REPOSITORY
  • SVN_REPOSITORY
  • HG_REPOSITORY
  • CVS_REPOSITORY and CVS_MODULE
    Call Stack (most recent call first):
    /Applications/CMake.app/Contents/share/cmake-3.27/Modules/ExternalProject.cmake:4345 (_ep_add_download_command)
    cmake/CMakeLists.txt:917 (ExternalProject_Add)
    cmake/CMakeLists.txt:993 (linphone_builder_add_external_project)
    cmake/CMakeLists.txt:1139 (linphone_builder_add_external_projects)
    CMakeLists.txt:73 (linphone_builder_add_projects)

can anyone help to fix it?

Running on macbook air m1 version 13.6
Xcode version - 15.0
cmake version - cmake version 3.27.6
CMake suite maintained and supported by Kitware (kitware.com/cmake). (installed using brew).

Hi,

Don't use prepare.py file.
Start by building the SDK following README instructions, then build the iOS app using your locally built SDK (following https://github.com/BelledonneCommunications/linphone-iphone#using-a-local-linphone-sdk).

Cheers,

Hi @Viish ,
I did all the following: https://github.com/BelledonneCommunications/linphone-sdk/tree/release/5.2#ios
cmake .. -G Xcode -DLINPHONESDK_PLATFORM=IOS -DENABLE_GPL_THIRD_PARTIES=ON -DENABLE_NON_FREE_CODECS=ON -DENABLE_FFMPEG=ON -DENABLE_H263=ON -DENABLE_H263P=ON -DENABLE_MPEG4=ON -DENABLE_OPENH264=ON -DENABLE_VPX=ON -DENABLE_X264=ON -DENABLE_CODEC2=ON -DENABLE_OPUS=ON -DENABLE_NON_FREE_FEATURES=ON -DLINPHONESDK_VERSION=“5.2.0”

cmake --build .

Screenshot 2023-09-25 at 4 23 24 PM

only created these files as build in. build/linphone-sdk/ios/lib folder.
also there is no .framework files and no podspec file in build/ folder.