[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #995: SDL on OSX, How does it work ?
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #995: SDL on OSX, How does it work ? |
Date: |
Thu, 10 Oct 2013 12:04:05 -0000 |
#995: SDL on OSX, How does it work ?
----------------------+-----------------------------------------------------
Reporter: paines | Owner:
Type: defect | Status: closed
Priority: major | Milestone: someday
Component: unknown | Version: 4.8.x
Resolution: fixed | Keywords: sdl osx
----------------------+-----------------------------------------------------
Changes (by paines):
* status: new => closed
* resolution: => fixed
Comment:
The solution is to Init SDL under OSX is like this:
(declare (foreign-declare "#include<SDL/SDL.h>\n"))
(foreign-code "SDL_Init(SDL_INIT_EVERYTHING);")
and compile the whole thing via
csc yourApp.scm -lSDLmain -framework Cocoa -framework Foundation
--
Ticket URL: <http://bugs.call-cc.org/ticket/995#comment:3>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Chicken-janitors] #995: SDL on OSX, How does it work ?,
Chicken Trac <=