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

Failing to build on Windows 10 #9939

Closed
sorpaas opened this issue Mar 9, 2016 · 10 comments
Closed

Failing to build on Windows 10 #9939

sorpaas opened this issue Mar 9, 2016 · 10 comments

Comments

@sorpaas
Copy link

@sorpaas sorpaas commented Mar 9, 2016

I'm having trouble building servo on Windows 10. It complains missing glslang for angle.

error: could not find native static library `glslang`, perhaps an -L flag is missing?
Build failed, waiting for other jobs to finish...
Could not compile `angle`.
@larsbergstrom
Copy link
Contributor

@larsbergstrom larsbergstrom commented Mar 9, 2016

Is this from within the cygwin environment instead of using the carefully-crafted MSYS2 environment as described in the readme? I would not expect Servo to build in any environment that is not identical to the setup described in those steps, unfortunately.

@sorpaas
Copy link
Author

@sorpaas sorpaas commented Mar 10, 2016

@larsbergstrom This is in MSYS2, following the steps described in the README.

@jasonwilliams
Copy link
Contributor

@jasonwilliams jasonwilliams commented Apr 30, 2016

@sorpaas are you still having this problem?

@perlun
Copy link
Contributor

@perlun perlun commented Jun 13, 2016

@metajack - this is the issue I mentioned on IRC some day I ago. I get the same error, also on Windows 10:

$ ./mach build -d
   Compiling threadpool v1.3.0
   Compiling glob v0.2.11
   Compiling miniz-sys v0.1.7
   Compiling freetype v0.1.0 (https://github.com/servo/rust-freetype#d564ff90)
   Compiling angle v0.1.0 (https://github.com/servo/angle?branch=servo#eefe3506)
   Compiling num_cpus v0.2.12
   Compiling rand v0.3.14
error: could not find native static library `glslang`, perhaps an -L flag is missing?
Build failed, waiting for other jobs to finish...
error: Could not compile `angle`.

To learn more, run the command again with --verbose.
Build completed in 0:00:24

This is in MSYS2, carefully-crafted like you suggest @larsbergstrom. A bunch of other crates did manage to compile correctly (or so I think), so would suspect that this is "something" that is missing on mine and @sorpaas machines.

What is glslang in the first place? Where does it come from?

@emilio
Copy link
Member

@emilio emilio commented Jun 17, 2016

@perlun: it comes from servo/angle, can you build it standalone?

@zeusintuivo
Copy link
Contributor

@zeusintuivo zeusintuivo commented Jul 18, 2016

I have researched and documented an effective way to have windows environments set up for 32 and 64 bits in Windows 7. I assume this will work in all windowses.
Please see documentation I posted in this ticket. #12356

@VidushiVashishth
Copy link

@VidushiVashishth VidushiVashishth commented Aug 19, 2017

@zeusintuivo : I followed your documentation on issue #12356. Got the following error:

mach.bat build --dev
looking for rustc at C:\Users\Vidushi\servo\.servo\rust\13d94d5fa8129a34f5c77a1bcd76983f5aed2434-alt\rustc-nightly-unknown-pc-windows-msvc\rustc\bin\rustc.exe
Downloading Rust compiler...
Download failed (404): Not Found - https://s3.amazonaws.com/rust-lang-ci/rustc-builds-alt/13d94d5fa8129a34f5c77a1bcd76983f5aed2434/rustc-nightly-unknown-pc-windows-msvc.tar.gz

I m using windows 10.

@tigercosmos
Copy link
Collaborator

@tigercosmos tigercosmos commented Oct 17, 2017

@VidushiVashishth unknown is solved by #18145 currently

@dralley
Copy link
Contributor

@dralley dralley commented Mar 24, 2020

This should be closed.

@jdm
Copy link
Member

@jdm jdm commented Mar 24, 2020

We have regular working windows builds at this point.

@jdm jdm closed this Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants
You can’t perform that action at this time.