What steps will reproduce the problem?
1. sudo port install libsdl-framework libsdl_mixer-framework (etc...)
2. (quicklisp:quickload :lispbuilder-sdl-mixer) OR (require
'lispbuilder-sdl-mixer)
* NOTE! This can be fixed by using the dynamic library versions (.dylib) from
macports and changing the foreign library definition
(cffi:define-foreign-library sdl-mixer ...) on file
lispbuilder-sdl-mixer/cffi/library.lisp TO:
(cffi:define-foreign-library sdl-mixer
(:darwin (:or (:default "libSDL_mixer") (:framework "SDL_mixer"))) ; <-- Change here
(:windows "SDL_mixer.dll")
(:unix (:or "libSDL_mixer"
"libSDL_mixer.so"
"libSDL_mixer-1.2.so"
"libSDL_mixer-1.2.so.0")))
What is the expected output? What do you see instead?
* Expected:
(require :lispbuilder-sdl-mixer)
; compiling stuff...
(in-package :lispbuilder-sdl)
; compiling (DEFINE-FOREIGN-LIBRARY SDL-MIXER ...)#<PACKAGE "LISPBUILDER-SDL">
SDL>
* See attached file for SBCL and Terminal session
What version of the product are you using? On what operating system?
* Mac OS X 10.6.7 on a 2.8 GHz Intel Core i7 iMac (x86_64)
* I have actually ALL versions of libSDL and sub librararies installed through
macports:
libsdl @1.2.14_9 (active)
libsdl-devel @1.3.0-5552_0 (active)
libsdl-framework @20110119_0 (active)
libsdl_gfx @2.0.22_0 (active)
libsdl_gfx-framework @20110120_0 (active)
libsdl_image @1.2.10_2
libsdl_image @1.2.10_3 (active)
libsdl_mixer @1.2.11_0
libsdl_mixer @1.2.11_3 (active)
libsdl_mixer-framework @20110119_0 (active)
libsdl_net @1.2.7_0 (active)
libsdl_sound @1.0.3_0 (active)
libsdl_ttf @2.0.9_1
libsdl_ttf @2.0.10_0 (active)
* SBCL 1.0.47 (threaded)
* CCL 1.6 (64-bit)
* lispbuilder-20110320-svn (from Quicklisp)
Please provide any additional information below.
* NOTE! This may be a bug in CFFI, as /var/log/system.log says this:
May 12 00:51:22 a91-152-135-21 /opt/local/share/ccl/1.6/Clozure
CL64.app/Contents/MacOS/dx86cl64[28038]: CPSSetForegroundOperationState(): This
call is deprecated and should not be called anymore.
May 12 00:52:11 a91-152-135-21 sbcl[28049]: CPSSetForegroundOperationState():
This call is deprecated and should not be called anymore.
Original issue reported on code.google.com by
[email protected]on 11 May 2011 at 10:30Attachments: