[Openmcl-devel] error linking OpenCV on osx

rm at tuxteam.de rm at tuxteam.de
Fri Nov 16 15:09:40 PST 2012

On Fri, Nov 16, 2012 at 01:06:37PM +0100, Stefano Bennati wrote:
> Hallo everyone,
> I write because I get a weird error while foreign-loading a C++ method that 
> uses OpenCV on OSX.
> Let's start from the beginning: I want to run from LISP a C++ library that 
> does some image processing.
> I created a small example that shows an image on screen, then I used SWIG 
> to create the wrapper and compiled it into a shared library.
> The weird thing is that the image is shown correctly in both Clozure and 
> SBCL on Linux, but on OSX it is shown only in SBCL... Clozure shows a white 
> rectangle instead.
> It is really important for me to let it run under Clozure for OSX! Any help 
> will be really appreciated!
> I attach a zip file with the example, there are two makefiles, one for 
> Linux and one for OSX (sed not working properly in the latter) and four 
> LISP loaders: two for SBCL, one for Linux and one for OSX and 2 for CCL, 
> one for Linux and one for OSX

Hi Stefano,

sorry, I don't think I can help you with your Mac problem (I've finally given up
on Mac ...) but after looking at your README.md I wonder whether you are
aware of cl-opencv? I haven't done any heavy testing, only some toying
arround, but I can load the library an the test code fine in both SBCL
and CCL. 

 Cheers Ralf Mattes

> -- 
> M.Sc. Stefano Bennati
> Centre for Cognitive Science
> Friedrichstr. 50
> D-79098 Freiburg, Germany

Another Common Lisper in Freiburg? That makes three of us ;-)

> Phone: +49 761 203-4947
> Fax:   +49 761 203-4938
> email: bennati at cognition.uni-freiburg.de
> web:   http://portal.uni.freiburg.de/cognition/members-de/bennati/

> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

More information about the Openmcl-devel mailing list