Blockly games source code depedancies

199 views
Skip to first unread message

Rebecca Eiland

unread,
Nov 12, 2021, 2:07:46 PM11/12/21
to Blockly
Hello, I am trying to compile source code from the blockly-games repository. I need to use the actual code, not just run the game program. I have all the code accessible in my IDE but can't compile it because I am having trouble getting dependencies in place. On the developers site, it instructs me to run "make deps" in order to do this. I have installed make on my machine (I'm on Windows) but when I try to run the command, it says:

The system cannot find the path specified.
Makefile:140: *** Please install `svn`.  Stop.

I then ran "choco install svn" and the install was successful, but when it still gives me the above error when I try to use the Makefile. I am in the correct directory when I try to run make.

Any ideas?

Maribeth Bottorff

unread,
Nov 12, 2021, 8:54:54 PM11/12/21
to Blockly
Hello,

I'm not a Windows user so please bear with me if any of this is inaccurate :)

Usually after a package is installed, it needs to be added to the PATH so that the executable can be located. The installer may do this for you, but usually if an environment variable (such as PATH) is modified, it will not take effect immediately and need to be refreshed. The easiest way to refresh your environment variables is to close your shell and open a new one. So give that a try.

Then, try running `svn --version`. If you get a version number (or some other output from svn itself) then it is indeed installed and accessible. If the script still can't find svn, please report back so we can take a look. If you get some message about not finding a command called `svn` then you haven't fully installed svn, and since that's not directly a Blockly problem, you might have better luck following up with a group of Windows experts if you can find a better place to ask :)

Hope that helps,
Maribeth

Athar Studio

unread,
Dec 6, 2021, 12:11:27 AM12/6/21
to Blockly
Hello,

Try to install Cygwin and execute makefile using cygwin, it works for me.

Note : make sure svn, unzip, wget packages are checked during Cygwin installation process. See https://community.cablelabs.com/wiki/plugins/viewsource/viewpagesrc.action?pageId=28903236

Hope that helps,

Joko

Reply all
Reply to author
Forward
0 new messages