Cannot build examples on windows
See original GitHub issueError messages attached, why is this?
C:\home\projects\indigo\examples>scala -version
Scala code runner version 2.13.3 -- Copyright 2002-2020, LAMP/EPFL and Lightbend, Inc.
C:\home\projects\indigo\examples>java -version
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)
Also I note the path where indigo sbt depenency is located is at
C:\home\projects\indigo\examples>dir C:\Users\philip\.ivy2\local\io.indigoengine\sbt-indigo\scala_2.12\sbt_1.0\0.1.1-SNAPSHOT\jars
Volume in drive C has no label.
Volume Serial Number is B6A2-54F4
Directory of C:\Users\philip\.ivy2\local\io.indigoengine\sbt-indigo\scala_2.12\sbt_1.0\0.1.1-SNAPSHOT\jars
16/07/2020 06:02 PM <DIR> .
16/07/2020 06:02 PM <DIR> ..
16/07/2020 06:32 PM 54,902 sbt-indigo.jar
16/07/2020 06:32 PM 32 sbt-indigo.jar.md5
16/07/2020 06:32 PM 40 sbt-indigo.jar.sha1
3 File(s) 54,974 bytes
2 Dir(s) 85,815,513,088 bytes free
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Cannot build examples on Windows with WSL-enabled #3475
bug report Affected Rule I tried: react-script (examples/create-react-app) architect (examples/angular_bazel_architect) sass ...
Read more >I can't build c++ - Microsoft Q&A
There are two likely causes. Either you did not install C++ with Visual Studio (very possible) or you did not create a project...
Read more >Cannot build the sample audio drivers project.
Trying to build the following project: https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/sample-audio-drivers.
Read more >Cannot build gtk on windows - Stack Overflow
You are using a 64 bits compiler. Build with your 64 bits compiler in 32 bits mode with gcc's -m32 option.
Read more >Cannot build on Windows 10 - General - Cesium Community
Using the example how can we get access to the Viewer? We normally turn off the timeline and animation. I tried the script...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As a workaround, using Ubuntu on Windows https://docs.microsoft.com/en-us/windows/wsl/install-win10
I re-installed java, scala, sbt etc for Ubuntu command line, then also
sudo apt install glslang-tools
Then able to successfully
sbt publishLocal for indigo/indigo
Otherwise when trying to build on windows DOS prompt it fails as described in above discussion.
My opinion, many game programmers are likely to be on Windows, although I have both Ubuntu and Windows for development, I tend to do my game stuff in Windows, support for windows straight out of the box without effort would be nice to reduce developer friction.
Following up on this old issue - I’ve had a go at this myself now.
The problem of not being able to run glslang I will address (I understand the problem now), but in fact on the current code base if you install glslang with scoop (
scoop install glslang
) it won’t let you use the validator, but you just get a warning saying “I couldn’t validate the shaders” but the build carries on as expected.