Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 13 Apr 2011 14:09:23 -0400
From: Erik Winkler <ewinkler@...ls.com>
To: john-dev@...ts.openwall.com
Subject: Re: updated OpenCL patch


On Apr 13, 2011, at 11:38 AM, Dhiru Kholia wrote:

> On Wed, Apr 13, 2011 at 8:32 AM, Erik Winkler <ewinkler@...ls.com> wrote:
>> Not working on MacOS X.  Needed to change #include <CL/cl.h> to #include <OPENCL/cl.h> in common-opencl.h to get it to compile.

You can add the following to the common-opencl.h file to solve the header file issue:

#ifdef __APPLE__
#include <OpenCL/opencl.h>
#else
#include <CL/cl.h>
#endif

Erik

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ