➜ dependencies git:(master) cmake . -Bbuild -DLIBWEBRTC_INCLUDE_PATH=/Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/webrtc/src -DLIBWEBRTC_BINARY_PATH=/Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/webrtc/src/out_ios_libs/universal -DMEDIASOUP_LOG_TRACE=ON -DMEDIASOUP_LOG_DEV=ON -DCMAKE_CXX_FLAGS="-fvisibility=hidden" -DLIBSDPTRANSFORM_BUILD_TESTS=OFF -DIOS_SDK=iphone -DIOS_ARCHS="arm64"
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- MEDIASOUPCLIENT_BUILD_TESTS : OFF
-- MEDIASOUPCLIENT_LOG_TRACE : OFF
-- MEDIASOUPCLIENT_LOG_DEV : OFF
-- LIBWEBRTC_INCLUDE_PATH : /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/webrtc/src
-- LIBWEBRTC_BINARY_PATH : /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/webrtc/src/out_ios_libs/universal
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/build
➜ dependencies git:(master) make -C build
Scanning dependencies of target sdptransform
[ 4%] Building CXX object libmediasoupclient/libsdptransform/CMakeFiles/sdptransform.dir/src/grammar.cpp.o
[ 8%] Building CXX object libmediasoupclient/libsdptransform/CMakeFiles/sdptransform.dir/src/parser.cpp.o
[ 12%] Building CXX object libmediasoupclient/libsdptransform/CMakeFiles/sdptransform.dir/src/writer.cpp.o
[ 16%] Linking CXX static library libsdptransform.a
[ 16%] Built target sdptransform
Scanning dependencies of target mediasoupclient
[ 20%] Building CXX object libmediasoupclient/CMakeFiles/mediasoupclient.dir/src/Consumer.cpp.o
In file included from /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/libmediasoupclient/src/Consumer.cpp:3:
/Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/libmediasoupclient/include/Consumer.hpp:5:10: fatal error:
'api/media_stream_interface.h' file not found
include <api/media_stream_interface.h> // webrtc::MediaStreamTrackInterface
➜ dependencies git:(master) cmake . -Bbuild -DLIBWEBRTC_INCLUDE_PATH=/Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/webrtc/src -DLIBWEBRTC_BINARY_PATH=/Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/webrtc/src/out_ios_libs/universal -DMEDIASOUP_LOG_TRACE=ON -DMEDIASOUP_LOG_DEV=ON -DCMAKE_CXX_FLAGS="-fvisibility=hidden" -DLIBSDPTRANSFORM_BUILD_TESTS=OFF -DIOS_SDK=iphone -DIOS_ARCHS="arm64" CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.
-- ========== libmediasoupclient iOS Build Configuration ==========
-- CMAKE_OSX_SYSROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/ -- CMAKE_OSX_ARCHITECTURES = arm64
=========== libmediasoupclient Build Configuration ===========
-- MEDIASOUPCLIENT_BUILD_TESTS : OFF -- MEDIASOUPCLIENT_LOG_TRACE : OFF -- MEDIASOUPCLIENT_LOG_DEV : OFF -- LIBWEBRTC_INCLUDE_PATH : /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/webrtc/src -- LIBWEBRTC_BINARY_PATH : /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/webrtc/src/out_ios_libs/universal
-- Configuring done -- Generating done -- Build files have been written to: /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/build
➜ dependencies git:(master) make -C build Scanning dependencies of target sdptransform [ 4%] Building CXX object libmediasoupclient/libsdptransform/CMakeFiles/sdptransform.dir/src/grammar.cpp.o [ 8%] Building CXX object libmediasoupclient/libsdptransform/CMakeFiles/sdptransform.dir/src/parser.cpp.o [ 12%] Building CXX object libmediasoupclient/libsdptransform/CMakeFiles/sdptransform.dir/src/writer.cpp.o [ 16%] Linking CXX static library libsdptransform.a [ 16%] Built target sdptransform Scanning dependencies of target mediasoupclient [ 20%] Building CXX object libmediasoupclient/CMakeFiles/mediasoupclient.dir/src/Consumer.cpp.o In file included from /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/libmediasoupclient/src/Consumer.cpp:3: /Users/app/rtc/mediasoup/mediasoup-client-ios/dependencies/libmediasoupclient/include/Consumer.hpp:5:10: fatal error: 'api/media_stream_interface.h' file not found
include <api/media_stream_interface.h> // webrtc::MediaStreamTrackInterface
1 error generated. make[2]: [libmediasoupclient/CMakeFiles/mediasoupclient.dir/src/Consumer.cpp.o] Error 1 make[1]: [libmediasoupclient/CMakeFiles/mediasoupclient.dir/all] Error 2 make: *** [all] Error 2