I am studying through image manipulation example in “OpenCL programming guide 978-0-321-74964-2”, had to a lot of code adjustment as the book itself appears to have focused on the very early version of opencl and many of the functions in the example simply might have deprecated.
I am coming across a 2D image manipulation example in it s p284 where it uses the FREE_IMAGE_FORMAT identifier and related other def-s which is causing build error. Before posting here, sniffed around internet a bit, and found that the book’s own full example does include following line:
The book itself does not mention about anything and has partial code not it does not tell how to setup for these additional definitions outside the opencl code.
It appears it is maintained by opensource freeimage org:
Not sure what repository (github etc.) I can use to properly setup though.