No such file or directory

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

No such file or directory

Postby wencheng » Tue Nov 24, 2015 2:03 am

When I built CEF with VS2013,VS showed a lot of mistakes.Most error is "No such file or directory".I tried download source code through manual and automatic,but the result both is error.
The CEF version is 2526.I can't find the lost file which VS 's error This is my encironment variables:
set DEPOT_TOOLS_UPDATE=0
set WIN_CUSTOM_TOOLCHAIN=1
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_GENERATORS=msvs-ninja;ninja
set GYP_MSVS_VERSION=2013
set path=%path%;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include
set GYP_DEFINES=C:\Program Files (x86)\Windows Kits\10
set SDK_ROOT=C:\Program Files (x86)\Windows Kits\10
set VS_ROOT=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC
set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include
set LIB=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\lib;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\lib\amd64;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\lib;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\lib\x64
set CEF_VCVARS=cef_test.bat

Anyone can help me to solve this problem?I have studied this problem for a long time.I am very confused.
wencheng
Techie
 
Posts: 13
Joined: Mon Nov 02, 2015 7:12 pm

Re: No such file or directory

Postby magreenblatt » Tue Nov 24, 2015 11:43 am

You need to build using Ninja.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: No such file or directory

Postby wencheng » Wed Nov 25, 2015 2:00 am

The CEF can't build by VS?But the environment value named "GYP_GENERATORS" can be set with "msvs-ninja;ninja".And when I try to download source code automated,VS_VERSION is necessary.
this is the result when cmd run "python automate-git.py --download-dir=download".
You must set the GYP_MSVS_VERSION environment variable on Windows.
So I set this value,and I think CEF can build by VS.Can help me build it by VS?
Thank you !
wencheng
Techie
 
Posts: 13
Joined: Mon Nov 02, 2015 7:12 pm

Re: No such file or directory

Postby magreenblatt » Wed Nov 25, 2015 12:27 pm

You can compile individual files and debug using VS, but you cannot build the complete project using VS. It's just not possible. Use Ninja.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: No such file or directory

Postby wencheng » Wed Dec 02, 2015 1:09 am

Now I try to build cef with Ninja.CEF visition=2526,Chromium visition=47.0.2526.73.The following is of the mistakes,how to solve it?Can help me ?

C:\cef\download\chromium\src>ninja -C out/Debug cefclient cef_unittests
ninja: Entering directory `out/Debug'
[6/17246] CC obj\third_party\pdfium\th...ibjpeg\fx_libjpeg.fpdfapi_jcdctmgr.obj
FAILED: ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcdctmgr.obj.rsp /c..\..\third_party\pdfium\third_party\libjpeg\fpdfapi_jcdctmgr.c /Foobj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcdctmgr.obj /Fdobj\third_party\pdfium\third_party\fx_libjpeg.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.

[6/17246] CC obj\third_party\pdfium\th...ibjpeg\fx_libjpeg.fpdfapi_jcapimin.obj
FAILED: ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcapimin.obj.rsp /c..\..\third_party\pdfium\third_party\libjpeg\fpdfapi_jcapimin.c /Foobj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcapimin.obj /Fdobj\third_party\pdfium\third_party\fx_libjpeg.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.

[6/17246] CC obj\third_party\pdfium\th...\libjpeg\fx_libjpeg.fpdfapi_jcinit.obj
FAILED: ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcinit.obj.rsp /c ..\..\third_party\pdfium\third_party\libjpeg\fpdfapi_jcinit.c /Foobj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcinit.obj /Fdobj\third_party\pdfium\third_party\fx_libjpeg.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.

[6/17246] CC obj\third_party\pdfium\th...ibjpeg\fx_libjpeg.fpdfapi_jcmainct.obj
FAILED: ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcmainct.obj.rsp /c..\..\third_party\pdfium\third_party\libjpeg\fpdfapi_jcmainct.c /Foobj\third_par
ty\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcmainct.obj /Fdobj\third_party\pdfium\third_party\fx_libjpeg.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.

[6/17246] CC obj\third_party\pdfium\th...ibjpeg\fx_libjpeg.fpdfapi_jcmarker.obj
FAILED: ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcmarker.obj.rsp /c..\..\third_party\pdfium\third_party\libjpeg\fpdfapi_jcmarker.c /Foobj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jcmarker.obj /Fdobj\third_party\pdfium\third_party\fx_libjpeg.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.

[6/17246] CC obj\third_party\pdfium\th...\libjpeg\fx_libjpeg.fpdfapi_jchuff.obj
FAILED: ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jchuff.obj.rsp /c ..\..\third_party\pdfium\third_party\libjpeg\fpdfapi_jchuff.c /Foobj\third_party\pdfium\third_party\libjpeg\fx_libjpeg.fpdfapi_jchuff.obj /Fdobj\third_party\pdfium\third_party\fx_libjpeg.c.pdb
ninja: fatal: CreateProcess: The system cannot find the file specified.

ninja: build stopped: subcommand failed.
wencheng
Techie
 
Posts: 13
Joined: Mon Nov 02, 2015 7:12 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 19 guests