question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot build examples on windows

See original GitHub issue

Error 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)

notbuild.txt

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:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
PhilAndrewcommented, Jul 17, 2020

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.

0reactions
davesmith00000commented, Nov 11, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found