mitchcapper / CefSharpDockerfiles

Automated chrome cef building and cefsharp building with docker and build scripts
33 stars 10 forks source link

In branch 3370+codecs need to install pywin32 #6

Closed yonixw closed 4 years ago

yonixw commented 4 years ago

First, your repo is awesome and helped me build cef with codecs successfully.

Problem

When trying to build with the following changes in versions.ps1:

$VAR_CHROME_BRANCH="3770"; 
$VAR_CEFSHARP_VERSION="75.1.143"; 
$VAR_CEFSHARP_BRANCH="cefsharp/75";
$VAR_GN_DEFINES="is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome";
$VAR_GYP_DEFINES="target_arch=x64";

The build failed with this error: python ImportError: No module named win32file

Possible solution

my solution was to add

RunProc -proc "c:/code/depot_tools/python.bat" -opts "-m pip install pywin32";

before the following line: cef_build.ps1#L27.

After this, the cef build worked. Hope this will help and Thank you again!

mitchcapper commented 4 years ago

I think that has been resolved in the tools gave it a few tests without issues, thanks again!