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

ngdevkit install under windows 10 through Windows Subsystem for Linux (WSL) #3

Closed
ozzyyzzo4096 opened this issue May 19, 2018 · 5 comments

Comments

@ozzyyzzo4096
Copy link

Hello,

It would be even better if ngdevkit will be available and/or accessible more directly for ppl like me using Windows10 for their everyday work!

While installing ngdevkit using cygwin looks like a dead end.. i've been investigating WSL ->

I'm using this ->
https://www.linux.com/learn/intro-to-linux/2017/3/how-use-different-linux-bash-shells-windows-10

Just because the 'easy' installation through the store (using debian linux app' doesn't work on my config..

So far, ngdevkit packages dependies were met and all packages were installed successfuly but some errors are remaining when calling ./make

Please check the screenshots below :

https://www.jeuxdecartes.ovh/data/wls.png
https://www.jeuxdecartes.ovh/data/dinfo.png

@dciabrin
Copy link
Owner

Hmm... this is probably the same problem I'm trying to workaround for homebrew on macOS.
Apparently ISL 0.19 doesn't ship a band.h anymore. Compilation works fine with ISL 0.18

Do you have any means of downgrading the version to verify?

@dciabrin
Copy link
Owner

OK I confirm that I can build gcc with WSL and ubuntu xenial, after fixing a few dependencies.

The problem now is that gngeo won't work out of the box because it's a graphical application and WSL doesn't mix well with Win10 for that.

I'm currently trying to build gngeo with mingw-64, so that the resulting binary doesn't depend on WSL and SDL and OpenGL can work properly. I'll do a dedicated README.win once I got that to work.

@dciabrin
Copy link
Owner

I've just pushed c655a25 for building the devkit with a native gngeo on windows with mingw. It includes a README-mingw.md that explains the steps to build the toolkit with WSL.

You need to delete ./toolchain/gngeo before rebuilding to pick up an up-to-date gngeo repo (currently dciabrin/gngeo@1bcd5a2).

I still need to update the README with guidance on how to enable the OpenGL blitters in gngeo, but at least it's functional right now if you want to give it a try.

Also, the source level debugging extension is currently disabled, as I need to improve cross-compilation support of emudbg (probably by using autoconf).

@dciabrin
Copy link
Owner

Support for OpenGL blietter landed in 3d6a1f0 and README-mingw.md updated.

Again, you need to delete ./toolchain/gngeo before rebuilding to pick up an up-to-date gngeo repo (at least dciabrin/gngeo@a1ad31a).

emudbg remains to be ported for feature parity with Linux/macOS.

dciabrin added a commit that referenced this issue Oct 29, 2018
This is the last commit to bring feature parity between Linux/macOS and
mingw build (windows 10 + WSL)

Resolves: #3
dciabrin added a commit that referenced this issue Oct 29, 2018
This is the last commit to bring feature parity between Linux/macOS and
mingw build (windows 10 + WSL)

Resolves: #3
dciabrin added a commit that referenced this issue Oct 29, 2018
This is the last commit to bring feature parity between Linux/macOS and
mingw build (windows 10 + WSL)

Resolves: #3
@dciabrin
Copy link
Owner

Closing now, as the last missing bit (emudb) was just ported to WSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants