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

iOS build with webrtc on mac #274

Open
Lpkepka opened this issue Aug 5, 2019 · 0 comments
Open

iOS build with webrtc on mac #274

Lpkepka opened this issue Aug 5, 2019 · 0 comments

Comments

@Lpkepka
Copy link

Lpkepka commented Aug 5, 2019

I am having trouble building for ios with webrtc. This is my cmake config:

cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_SHARED_LIBS=OFF -DBUILD_MODULES=OFF -DBUILD_APPLICATIONS=OFF -DBUILD_SAMPLES=OFF -DBUILD_TESTS=OFF -DWITH_WEBRTC=ON -DWITH_FFMPEG=ON -DBUILD_MODULE_base=ON -DBUILD_MODULE_crypto=ON -DBUILD_MODULE_http=ON -DBUILD_MODULE_json=ON -DBUILD_MODULE_av=ON -DBUILD_MODULE_net=ON -DBUILD_MODULE_socketio=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL="1" -DBUILD_MODULE_symple=ON -DBUILD_MODULE_util=ON -DBUILD_MODULE_uv=ON -GXcode -DCMAKE_TOOLCHAIN_FILE=../cmake/iOS.cmake -DWEBRTC_ROOT_DIR=/path/to/rtc -DWEBRTC_INCLUDE_DIR=/path/to/include

The xcode project file is created correctly and all of the modules build successfully except for the webrtc module. I am getting a lot of errors in the byteorder.h file, Unsupported platform errors, PlatformThreadRef and PlatformThreadId errors. Is there anything wrong with my cmake? What should be the config for an iOS build with webrtc?

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

1 participant