Git Product home page Git Product logo

conan-google-webrtc's Introduction

about

conan build files for google webrtc.
https://webrtc.org
https://webrtc.github.io/webrtc-org/

miscelaneous

list possible arguments

gn args --list out/my_build

prerequists

ubuntu

install system dependencies

./install-build-deps.sh

now you are set up.

windows

instructions https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md

use the visual studio installer and install the “Desktop development with C++” component and the “MFC/ATL support” sub-components.

The SDK Debugging Tools must also be installed. If the Windows 10 SDK was installed via the Visual Studio installer, then they can be installed by going to: Control Panel → Programs → Programs and Features → Select the “Windows Software Development Kit” → Change → Change → Check “Debugging Tools For Windows” → Change.

create and set the environment variable: "DEPOT_TOOLS_WIN_TOOLCHAIN=1". Else it searches for vs2017 in googly style.

You must have the version 10.0.18362 or higher Windows 10 SDK installed. This can be installed separately or by checking the appropriate box in the Visual Studio Installer. or by https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/

disable Antimalware service

enable long paths https://docs.conan.io/en/latest/reference/conanfile/attributes.html#short-paths by using the tool Group Policy then Computer Configuration > Administrative Templates > System > Filesystem > Enable Win32 long paths. AND set it to msys git (git bash) git config --system core.longpaths true

use cmd. Everything else does not work. Including Power Shell.

because there's no pip, install conan by installer
https://conan.io/downloads.html https://dl.bintray.com/conan/installers/conan-win-64_1_24_1.exe

now ur set up. create the packages by

notes on versions

v69 Install windows 10 SDK 10.0.17*

tips if there're errors

by default the conan script loads depot_tools. To do it manually: download depot_tools. add it to the system environment. ensure it's first in PATH so no other pyhton exe can be found before it.
https://storage.googleapis.com/chrome-infra/depot_tools.zip verify that python comes first from depot_tools by running

where python
where python3

no win32file https://stackoverflow.com/questions/55551188/python-importerror-no-module-named-win32file

FAILED: py_quality_assessment/apm_configs/default.json
C:/.conan/231d67/1/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe src/build/toolchain/win/tool_wrapper.py recursive-mirror src/modules/audio_processing/test/py_quality_assessment/apm_configs/default.json py_quality_assessment/apm_configs/default.json
Traceback (most recent call last):
  File "src/build/toolchain/win/tool_wrapper.py", line 51, in <module>
    import win32file    # pylint: disable=import-error
ImportError: No module named win32file

solution, install it

<path-to-depot_tools>/<path-to-python>/python.exe -m pip install pywin32
<path-to-depot_tools>/<path-to-python>/python.exe -m pip install pywin32

create packages and upload them

create release and debug packages

conan create .
conan create . -s build_type=Debug

upload them by

conan remote add freckled_webrtc https://api.bintray.com/conan/freckled/google-webrtc
conan user -p <APIKEY> -r freckled_webrtc freckled
conan upload --all -r freckled_webrtc google-webrtc

conan-google-webrtc's People

Contributors

qwertzui11 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.