Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on Win 8.1 #3

Open
Boscop opened this issue May 14, 2021 · 0 comments
Open

Fails to build on Win 8.1 #3

Boscop opened this issue May 14, 2021 · 0 comments

Comments

@Boscop
Copy link

Boscop commented May 14, 2021

Thanks for making this crate, it seems to be the best GUI option for Rust for now.
I followed the instructions but it fails to build:

error: failed to run custom build command for `cef-sys v0.1.0 (https://github.co
m/dungeonfog/cef-sys.git?rev=a3d43fc9a624dc00e5a5cea90eebf88fd6c4aa5c#a3d43fc9)`


Caused by:
  process didn't exit successfully: `D:\3rdparty\cef\target\debug\build\cef-sys-
bc464d71e680b978\build-script-build` (exit code: 101)
  --- stderr
  Fetching from http://opensource.spotify.com/cefbuilds/cef_binary_84.3.10%2Bga4
6056b%2Bchromium-84.0.4147.105_windows64.tar.bz2
  thread 'main' panicked at 'Server responded with HTTP result 404', C:\Users\me
\.cargo\git\checkouts\cef-sys-f4b4510fe2f5be6e\a3d43fc\cef-installer\src\lib.rs:
66:21
  stack backtrace:
     0: std::panicking::begin_panic_handler
               at /rustc/42816d61ead7e46d462df997958ccfd514f8c21c\/library\std\s
rc\panicking.rs:493
     1: std::panicking::begin_panic_fmt
               at /rustc/42816d61ead7e46d462df997958ccfd514f8c21c\/library\std\s
rc\panicking.rs:435
     2: cef_installer::download_cef
               at .\cef-installer\src\lib.rs:66
     3: build_script_build::main
               at .\build.rs:92
     4: core::ops::function::FnOnce::call_once<fn(),tuple<>>
               at /rustc/42816d61ead7e46d462df997958ccfd514f8c21c\library\core\s
rc\ops\function.rs:227
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose b
acktrace.
warning: build failed, waiting for other jobs to finish...
error: build failed

D:\3rdparty\cef>set LIB
LIB=D:\3rdparty\_rustlibs\64bit;D:\3rdparty\_rustlibs\64bit\cef

D:\3rdparty\cef>dir D:\3rdparty\_rustlibs\64bit\cef
 Directory of D:\3rdparty\_rustlibs\64bit\cef

2021-05-14  14:40    <DIR>          .
2021-05-14  14:40    <DIR>          ..
2021-05-06  11:53        68,168,330 cef_sandbox.lib
2021-05-06  09:20         1,129,984 chrome_elf.dll
2021-05-06  05:02         4,346,120 d3dcompiler_47.dll
2021-05-06  06:06        10,413,488 icudtl.dat
2021-05-06  11:38       153,111,040 libcef.dll
2021-05-06  11:38            37,466 libcef.lib
2021-05-06  09:14           407,040 libEGL.dll
2021-05-06  09:14         6,799,360 libGLESv2.dll
2021-05-06  11:35            48,390 snapshot_blob.bin
2021-05-06  11:53    <DIR>          swiftshader
2021-05-06  11:35           165,509 v8_context_snapshot.bin
              10 File(s)    244,626,727 bytes
               3 Dir(s)  494,585,720,832 bytes free

I had already extracted the cef binaries from https://cef-builds.spotifycdn.com/cef_binary_90.6.5%2Bg7a604aa%2Bchromium-90.0.4430.93_windows64_minimal.tar.bz2
so why is it trying to re-download them? :)

(Btw, the link in the Readme is outdated: https://www.spotify.com/fr/opensource/cefbuilds/index.html/ is not found. I found it here: https://cef-builds.spotifycdn.com/index.html#windows64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant