Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'api/media_stream_interface.h' file not found #112

Open
mythkiven opened this issue Sep 7, 2021 · 2 comments
Open

'api/media_stream_interface.h' file not found #112

mythkiven opened this issue Sep 7, 2021 · 2 comments

Comments

@mythkiven
Copy link

➜ 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.

--
========== 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

@motodimago
Copy link

I got same errror.
@mythkiven did you resolve it?

@huangqingbiao8831
Copy link

me too? how to resolve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants