Lisp HUG Maillist Archive

CL-GD and Lispworks for MAC

With the following make file, I am receiving the following error when  
trying to run the test. The glue code created with this makefile has  
no problem running on SBCL. I am not sure what must be done to get  
this working on Lispworks?

Makefile:

cl-gd-glue.so:
         gcc -I/usr/local/include -I/sw/include -g -c -dynamiclib -o  
cl-gd-glue.o cl-gd-gl
ue.c
         libtool -dynamic -lgd -lz -lpng -ljpeg -lfreetype -liconv - 
lm -lc -o cl-gd-glue.s
o cl-gd-glue.o -L/usr/local/lib -L/sw/lib
         rm cl-gd-glue.o

Lispworks Error:
Error: Foreign function GD-IMAGE-CREATE trying to call to unresolved  
external function "gdImageCreate"

Thank you,

Dr. Atip Asvanund


Re: CL-GD and Lispworks for MAC

Unable to parse email body. Email id is 4515

Re: CL-GD and Lispworks for MAC

On Tue, 13 Sep 2005 21:01:37 +0100, Martin Simmons <martin@lispworks.com> wrote:

> Is cl-gd-glue.so part of some defsystem or is there a call to
> FLI:REGISTER-MODULE for it?

CL-GD is defined via ASDF and when loaded it load's the .so file
automatically - via UFFI but this effectively calls
FLI:REGISTER-MODULE.  Note that this seems to be a Mac problem as the
library works fine (for me and others) with LW on Windows and Linux.

The code is here: <http://weitz.de/cl-gd/>

Cheers,
Edi.


Re: CL-GD and Lispworks for MAC

Unable to parse email body. Email id is 4521

Updated at: 2020-12-10 08:50 UTC