[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] unbound variable: foreign-code
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] unbound variable: foreign-code |
Date: |
Fri, 10 Dec 2004 09:53:05 +0100 |
On Thu, 9 Dec 2004 20:02:37 +0000, Joel Reymont <address@hidden> wrote:
> Howdy!
>
> How do I make Chicken recognize foreign-code? I get this when trying to
> run a SDL's test-sdl.scm:
>
> unbound variable: foreign-code
>
You have to compile it, just enter
$ make test-sdl
Because there seems to be a problem with SDL_Init on Mac OS X,
the call has to be done explicitly.
(BTW, Tony: couldn't that be handled more gracefully? Perhaps
a separate sdl_init.so library for those systems that allow it.)
cheers,
felix