Fixes for OpenCL issues reported on Apple Mac. Still get -54 on Apple...

94 views
Skip to first unread message

zdenko podobny

unread,
Aug 24, 2015, 9:13:18 AM8/24/15
to tesser...@googlegroups.com
Hello Mac user/developers,

We got fix for some issues reported on Apple Mac...
Patch is committed in current github rmaster repository. Can you please check it (including build systems)?


Zdenko

Tom Morris

unread,
Aug 24, 2015, 3:41:23 PM8/24/15
to tesser...@googlegroups.com
Build instructions are here:

It should basically just be

./autogen.sh
./configure --enable-opencl
make
sudo make install

For me, it doesn't build out of the box.  Some of the things I had to change:

- add to configure.ac:
AM_CONDITIONAL(OPENMP, false)
(This appears unrelated to OpenCL, but instead a recent unrelated change)

- autogen check for OpenCL lib fails even though it's present (not an AC expert, so I just disabled it as a workaround in configure.ac)

have_opencl_lib=true
#AC_CHECK_LIB(OpenCL, clGetPlatformIDs, have_opencl_lib=true, have_opencl_lib=false)

- Leptonica headers not being found (for Macports):

-  LIBLEPT_HEADERSDIR="/usr/local/include /usr/include"
+  LIBLEPT_HEADERSDIR="/usr/local/include /usr/include /opt/local/include/leptonica"

That gets it as far as compiling, but now there are compilation errors.  They don't look to serious, but I don't have time right now to look into them.

Tom



--
You received this message because you are subscribed to the Google Groups "tesseract-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-de...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-dev/CAJbzG8ym%3DXZWCc1w1L7Y5B7GPHWRQJGiaPJtVZPqd%2BLktaHQWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

zdenko podobny

unread,
Aug 25, 2015, 3:38:33 PM8/25/15
to tesser...@googlegroups.com
Thanks for testing and report. Build issue should be fixed in repository...



Zdenko

Reply all
Reply to author
Forward
0 new messages