Hi!
I have sucessfully built 'lispbuilder-sdl' and used it on Mac OS X,
but I have problems with lispbuilder-sdl-ttf.
I have built 'liblispbuilder-sdl-ttf-glue.dylib' by 'correcting' the
makefile.darwin - I had to set flags to
SDL_TTF_LDFLAGS=$(LDFLAGS) -framework SDL_ttf -framework SDL
so that my libs were found (I have installed frameworks).
Though the dylib is compiled without errors, running
-----------
* (asdf:operate 'asdf:load-op :lispbuilder-sdl-ttf)
-------------
in SBCL 1.0.29 ends with
----------
debugger invoked on a LOAD-FOREIGN-LIBRARY-ERROR:
Unable to load any of the alternatives:
("liblispbuilder-sdl-ttf-glue.dylib" "lispbuilder-sdl-ttf-
glue.dylib")
-----------
When I type the dylib manually I still get an error:
-----------
Enter a new value (unevaluated): ("/Users/ziga/.sbcl/site/lispbuilder-
sdl-ttf/build/liblispbuilder-sdl-ttf-glue.dylib")
debugger invoked on a LOAD-FOREIGN-LIBRARY-ERROR:
Unable to load foreign library (NIL).
Error opening shared object "/Users/ziga/.sbcl/site/lispbuilder-
sdl-ttf/build/liblispbuilder-sdl-ttf-glue.dylib":
dlopen(3) failed.
----------
Any known solutions to this problem?
Also another question: is it possible to use a lispbuilder-sdl
surface as a texture in cl-opengl? I'd like to use opengl with ttf
fonts.
Also - how should window resizes be handeled on mac os x? I recieve a
resize message, but I don't want to call
(sdl:window ..) upon resize (in cocoa helper it creates another
window entry), only resize it? Any way to just delete the surface and
attach a new (correctly sized) one to the window?
Regards,
Ziga
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder