jxv / dino-rush Goto Github PK
View Code? Open in Web Editor NEW๐ Endless runner game
License: BSD 3-Clause "New" or "Revised" License
๐ Endless runner game
License: BSD 3-Clause "New" or "Revised" License
Any ideas on this one?
sdl2 > C:/Users/jdfri/AppData/Local/Programs/stack/x86_64-windows/msys2-20200903/mingw64/include/SDL2/SDL_main.h:109:17: error: conflicting types for 'SDL_main'
sdl2 > #define main SDL_main
sdl2 > ^
sdl2 > C:\Users\jdfri\AppData\Local\Temp\stack-00c6c19ddbff8544\sdl2-2.2.0\Enum.hsc:912:5: note: in expansion of macro 'main'
sdl2 > In file included from C:/Users/jdfri/AppData/Local/Programs/stack/x86_64-windows/msys2-20200903/mingw64/include/SDL2/SDL.h:32:0,
sdl2 > from Enum.hsc:910:
sdl2 > C:/Users/jdfri/AppData/Local/Programs/stack/x86_64-windows/msys2-20200903/mingw64/include/SDL2/SDL_main.h:121:29: note: previous declaration of 'SDL_main' was here
sdl2 > extern SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]);
sdl2 > ^
sdl2 > compiling .stack-work\dist\ca59d0ab\build\SDL\Raw\Enum_hsc_make.c failed (exit code 1)
When I built and ran the game on my macOS machine with nix, the color keying for transparency didn't work, so I had a lot of pink/purple on the screen.
I found this question with a comment suggesting that having an alpha channel in the PNG file could fight the color keying. I used imagemagick's convert
utility to remove the alpha channel from each PNG, and -- lo! -- it worked.
Not sure how widespread the issue might be, but it seems like it couldn't hurt to remove the alpha channel if it's not being used. I can PR the no-alpha PNGs if it's helpful.
Hey, I've tried installing on windows and I've run into this issue:
PS C:\Users\Wizek\dino-rush> stack exec -- pacman -S mingw64/mingw-w64-x86_64-pkg-config mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_image mingw6
4/mingw-w64-x86_64-SDL2_mixer mingw64/mingw-w64-x86_64-libmikmod
warning: mingw-w64-x86_64-pkg-config-0.29.2-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (16) mingw-w64-x86_64-flac-1.3.2-1 mingw-w64-x86_64-fluidsynth-1.1.8-2 mingw-w64-x86_64-libmodplug-0.8.9.0-1 mingw-w64-x86_64-libsndfile-1.0.28-1 mingw-w64-x86_64-libtool-2.4.6-11
mingw-w64-x86_64-mpg123-1.25.8-1 mingw-w64-x86_64-openal-1.18.2-1 mingw-w64-x86_64-portaudio-190600_20161030-3 mingw-w64-x86_64-speex-1.2.0-1 mingw-w64-x86_64-speexdsp-1.2rc3-3
mingw-w64-x86_64-SDL2-2.0.7-1 mingw-w64-x86_64-SDL2_image-2.0.2-1 mingw-w64-x86_64-SDL2_mixer-2.0.2-2 mingw-w64-x86_64-SDL2_ttf-2.0.14-1 mingw-w64-x86_64-libmikmod-3.3.11.1-1
mingw-w64-x86_64-pkg-config-0.29.2-1
Total Download Size: 5.11 MiB
Total Installed Size: 27.84 MiB
Net Upgrade Size: 26.53 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
error: failed retrieving file 'mingw-w64-x86_64-SDL2-2.0.7-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-SDL2_ttf-2.0.14-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-SDL2_image-2.0.2-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-libmodplug-0.8.9.0-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-libtool-2.4.6-11-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-mpg123-1.25.8-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-flac-1.3.2-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-speexdsp-1.2rc3-3-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-speex-1.2.0-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-libsndfile-1.0.28-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-portaudio-190600_20161030-3-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-fluidsynth-1.1.8-2-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-SDL2_mixer-2.0.2-2-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-openal-1.18.2-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed retrieving file 'mingw-w64-x86_64-libmikmod-3.3.11.1-1-any.pkg.tar.xz' from downloads.sourceforge.net : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
PS C:\Users\Wizek\dino-rush>
PS C:\Users\Wizek\dino-rush> stack --version
Version 1.6.3, Git revision b27e629b8c4ce369e3b8273f04db193b060000db (5454 commits) x86_64 hpack-0.20.0
Any idea what's going wrong? Has it to do anything with SourceForge's recent outage?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.