Cloud9 Desktop - Windows Subsystem for Linux (WSL)


#1

Hi,

I’ve been running the SDK under WSL on windows 10 with no problems. But when I try to build and run the Desktop version, I have some issues.

When I run scripts/setup-local-dev.sh it completes ok. But it doesn’t create the win32-dev folder as the documentation suggests it will. The linux version is created, but won’t execute either.

Does anyone have any suggestion on how to build the desktop version for windows?

Thanks


#2

Hi

What does uname return on wsl?
Most likely it would identify itself as linux, and linux version will be installed https://github.com/c9/core/blob/master/scripts/setup-local-dev.sh#L40.

Try using msys2 instead.


#3

uname -a returns

Linux Desktop 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

It should definitely be possible to add a line in the case switch to detect it. I’d try it out and submit a patch, but I’m not too up on bash. Any suggestions?


#4

try adding

*Microsoft*) os=windows ;; 

before the Linux line

but the installer code uses cscript which may not be available from wsl https://github.com/c9/core/blob/master/scripts/setup-local-dev.sh#L158