steven741 / chez-sdl Goto Github PK
View Code? Open in Web Editor NEWSDL 2 interface for chez-scheme.
Home Page: https://steven741.github.io/chez-sdl
License: MIT License
SDL 2 interface for chez-scheme.
Home Page: https://steven741.github.io/chez-sdl
License: MIT License
Just cloned the repo and trying to run event.ss/simple.ss, got following error:
jack@jack-VirtualBox:~/chez-sdl/tst$ scheme --script simple.ss
Exception: invalid foreign-procedure result type specifier (& SDL_JoystickGUID) at line 1271, char 98 of /home/jack/chez-sdl/lib/sdl/ftype.sls
jack@jack-VirtualBox:~/chez-sdl/tst$ grep SDL_JoystickGUID /usr/include/SDL2/*
/usr/include/SDL2/SDL_gamecontroller.h:extern DECLSPEC char * SDLCALL SDL_GameControllerMappingForGUID(SDL_JoystickGUID guid);
/usr/include/SDL2/SDL_joystick.h:} SDL_JoystickGUID;
/usr/include/SDL2/SDL_joystick.h:extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetDeviceGUID(int device_index);
/usr/include/SDL2/SDL_joystick.h:extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUID(SDL_Joystick * joystick);
/usr/include/SDL2/SDL_joystick.h:extern DECLSPEC void SDLCALL SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);
/usr/include/SDL2/SDL_joystick.h:extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID);
jack@jack-VirtualBox:~/chez-sdl/tst$ echo $CHEZSCHEMELIBDIRS
/home/jack/chez-sdl/lib:
Add handling for arm64osx
and tarm64osx
when checking for (machine-type)
.
(Perhaps) All (* sdl-gl-context) in sdl-video.sls are wrong, which should be sdl-gl-context.
The sdl-gl-context represents void*, which is already a pointer.
I tested corrected sdl-gl-create-context, it can work with ImGui_ImplSDL2_InitForOpenGL.
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.