Environment:
1. CEF branch is 2785
2. VS 2015 update 3, Windows10 x64
3. last depot_tools, depot_tools in %PATH%
4. patched src\cef\tools\commit_number.py and src\cef\tools\make_version_header.py ( sources from tarballs, not git repo ).
- Code: Select all
...
#if git.is_checkout('.'):
# sys.stdout.write(git.get_commit_number())
#else:
# raise Exception('Not a valid checkout')
sys.stdout.write('1486')
-------------------------------------------
...
commit_number = '1486' #git.get_commit_number()
commit_hash = '8c4ba9f2d8adeaa88145743fe0b3a3bb414681f8' #git.get_hash()
...
4. create.bat
- Code: Select all
copy /Y patch\*.* src\cef\tools
set DEPOT_TOOLS=%~dp0depot_tools\
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_DEFINES=target_arch=ia32
set PATH=%DEPOT_TOOLS%;%PATH%
set GYP_GENERATORS=ninja,msvs-ninja
set GYP_MSVS_VERSION=2015
@pushd src\cef
call cef_create_projects.bat
explorer .
@popd
pause
Solution and project files are created, but building finished with errors like
- Code: Select all
31>ninja : error : opening build log: Permission denied
31> ninja: Entering directory `..\..\..\..\..\..\out\Debug\'
31>D:\CEF\src\third_party\WebKit\Source\bindings\core\v8\bindings_core_v8_generated_aggregate.vcxproj(758,5): error MSB3073: The command "call ninja.exe -C ..\..\..\..\..\..\out\Debug\ bindings_core_v8_generated_aggregate" exited with code 1.
32>ninja : error : opening build log: Permission denied
32> ninja: Entering directory `..\..\..\..\..\..\out\Debug\'
32>D:\CEF\src\third_party\WebKit\Source\bindings\core\v8\bindings_core_v8_generated_individual.vcxproj(1708,5): error MSB3073: The command "call ninja.exe -C ..\..\..\..\..\..\out\Debug\ bindings_core_v8_generated_individual" exited with code 1.
435> ninja: build stopped: subcommand failed.
435>ninja : warning : premature end of file; recovering
435>D:\CEF\src\components\printing_renderer.vcxproj(299,5): error MSB3073: The command "call ninja.exe -C ..\out\Debug\ printing_renderer" exited with code 1.
436>LINK : fatal error LNK1181: cannot open input file 'obj\third_party\protobuf\src\google\protobuf\protobuf_full_do_not_use.any.obj'
436> ninja: build stopped: subcommand failed.
436>ninja : warning : premature end of file; recovering
436>D:\CEF\src\third_party\protobuf\protobuf_full_do_not_use.vcxproj(486,5): error MSB3073: The command "call ninja.exe -C ..\..\out\Debug\ protobuf_full_do_not_use" exited with code 1.
439>LINK : fatal error LNK1181: cannot open input file 'obj\third_party\protobuf\src\google\protobuf\compiler\protoc_lib.code_generator.obj'
439> ninja: build stopped: subcommand failed.
439>ninja : warning : premature end of file; recovering
439>D:\CEF\src\third_party\protobuf\protoc_lib.vcxproj(471,5): error MSB3073: The command "call ninja.exe -C ..\..\out\Debug\ protoc_lib" exited with code 1.
What's wrong ?