Comments (7)
Ok the problem with graphite has been solved by using : apt install libisl-0.18-dev
There is now a problem with fatal error: GLES2/gl2platform.h
i've tried to apt-get install libgles2-mesa-dev without success while rebuilding the toolchain.
from ngdevkit.
Hmm, ok that's infortunate I was expecting libisl-dev to be installed by one of:
sudo apt-get build-dep $GCC_VERSION_PKG
sudo apt-get build-dep --arch-only sdcc
Could you tell which distro you're using in WSL so I can try to replicate locally?
Also, the OpenGL setup is quite convoluted as the headers can be picked from many different places and I've tried to make it compatible with both OpenGL (regular desktop) and OpenGLES (raspberry).
I don't remember out of the top of head whether WSL normally uses OpenGL or OpenGLES, but I do remember you're supposed to give ngdevkit the header files from GLEW.
Silly question, did you follow the steps in README-mingw.md, or did you run the stock make?
from ngdevkit.
Hello , I'm using 'Debian GNU/Linux buster/sid' distro under WSL.
Yes i've followed the steps from README-mingw.md
So currently i'm just able to compile examples but without the GL2 header gngeo has not been built.
I'm surprised that apt-get install libgles2-mesa-dev has not helped.
from ngdevkit.
Ok looking into it, I'll report shortly :)
from ngdevkit.
Indeed, Debian unstable now ships libisl-dev 0.20 as a build-dep of gcc:
$ apt-cache policy libisl-dev
libisl-dev:
Installed: 0.20-2
Candidate: 0.20-2
Version table:
*** 0.20-2 500
500 http://deb.debian.org/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
Thanks for the tip of forcing a specific libisl version, I'll rework the README(s) to make it work for all debian derivatives.
I'm also rebuilding the devkit on Ubuntu Xenial to figure out what could differ w.r.t OpenGL, I'll keep you posted.
from ngdevkit.
OK so the gngeo compilation failure is due to two unrelated things:
-
In gngeo's configure script, I made use of uname -p to distinguish between 32bits and 64bits Win platforms. It turns out this doesn't work with a recent Debian, so I fixed it in gngeo [1]
-
Unfortunately, recent versions of autoconf-archive have changed the way they autodetect OpenGL [2] as well as the variables they sets, so the configure scripts needs to be amended to work (stop relying on GL_LDFLAGS).
I'm testing a few things to fix the second bug and will update shortly.
EDIT: force-pushed the commit in [1] due to a bad commit log
[1] dciabrin/gngeo@6249442
[2] autoconf-archive/autoconf-archive@985e769
from ngdevkit.
Hey @ozzyyzzo4096
I updated the doc according to your previous comment regarding libisl 0.18. With the updated gngeo repo, this issue should be fixed now.
If you want to rebuild gngeo without recompiling the entire toolkit, you should be able to do so with:
rm -rf build/gngeo toolchain/gngeo
make -f Makefile.mingw download-emulator build-emudbg build-emulator build-emulator-config install-emulator-dll
make -f Makefile.mingw download-shaders
from ngdevkit.
Related Issues (20)
- How to convert Sprites via ngdevkit? HOT 1
- Linux compilation instructions: Ubuntu readline package name change HOT 1
- Deferred VBL routines, audio, and then some more HOT 4
- Address error HOT 1
- Packaging of ngdevkit-toolchain is broken for sdcc HOT 1
- deb packages are broken in launchpad for Jammy 22.04 HOT 1
- pip3 install pygame HOT 3
- SDCC no longer builds in MSYS2
- Tracker music support for ngdevkit? HOT 2
- GnGeo compatible with MAME? HOT 6
- Update MSYS2 dependencies for ngdevkit to explicitly depend on PyGame
- MSYS2 pacman 404s when trying to download ngdevkit repo database HOT 7
- Move MSYS2 CI builds to one branch per sub-project HOT 1
- Clean nightly tags in msys2-ngdevkit repository after new commits/builds
- Update ngdevkit docs to use the new ucrt64 packages HOT 1
- rpm rebuild workflow in COPR HOT 1
- PyGame may load palette .png incorrectly, which breaks ngdevkit tools
- Games no longer work in MAME HOT 3
- SDCC compiled with program-prefix breaks .rel files generated with sdas
- ngdevkit cannot extract toolchain tarball with recent msys2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngdevkit.