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

foreign call error #4

Open
Jack-Ji opened this issue Mar 18, 2020 · 0 comments
Open

foreign call error #4

Jack-Ji opened this issue Mar 18, 2020 · 0 comments

Comments

@Jack-Ji
Copy link

Jack-Ji commented Mar 18, 2020

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:
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

1 participant