Giter VIP home page Giter VIP logo

chez-sdl's People

Contributors

steven741 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chez-sdl's Issues

foreign call error

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:

about sdl-gl-context

(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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.