vsimon / webrtcbuilds

Getting started with WebRTC natively is no easy picnic. The goal of webrtcbuilds is to provide a single standalone WebRTC static library and package.
BSD 3-Clause "New" or "Revised" License
202 stars 163 forks source link

Build problems under Microsoft Windows #9

Closed DanielTBrown closed 8 years ago

DanielTBrown commented 8 years ago

The Microsoft Windows build does not work for me. I have created a fork to fix the problems, and will post a pull request when done. If someone can provide a little help with a problem regarding depot_tools listed under 'Next problem', I would appreciate it.

Problems fixed so far:

Next problem:

DanielTBrown commented 8 years ago

In build.sh, I reversed the call sequence, it is now 'check::depot_tools' followed by 'check::deps'. This allows the util.h 'check::depot-tools' call to 'git clone' to work.

Next problem:

DanielTBrown commented 8 years ago

I manually executed 'glient.bat', and it ran. I will replace the 'schtasks' call with a direct call to 'gclient.bat'.

Next problem:

DanielTBrown commented 8 years ago

The Chromium build now defines to Microsoft Visual C++ 2015. For Microsoft Visual C++ 2013, it is necessary to set 'GYP_MSVS_VERSION' to '2013'.

DanielTBrown commented 8 years ago

Now I have a fork of build.sh/util.sh appear to run properly under Microsoft Windows, git bash shell, and Microsoft Visual C++ 2013. However, I see an error message:

sed: can't read .../out/src/webrtc/modules/video_render/windows/video_render_direct3d9.h: No such file or directory

The directory .../out/src/webrtc/modules contains no directory 'video_render'.

To help locating the error, the build.sh output three lines above this error is:

Hook 'download_from_google_storage --directory --recursive --num_threads=10 --no_auth --quiet --bucket chromium-webrtc-resources src/resources' took 725.08 secs

vsimon commented 8 years ago

Thanks Daniel, you're right the video render module looks to might be relocated, seeing if that might be the case. Other option is this is no longer needed.

DanielTBrown commented 8 years ago

Now that pull request #11 is merged, I am left with the following issues regarding building under Microsoft Windows:

Thanks.

vsimon commented 8 years ago
DanielTBrown commented 8 years ago

The problems should be fixed by pull request #18. I will mark this issue closed for now.