AnsweredAssumed Answered

OpenCL 2.0 example compile problem

Question asked by merlion on Oct 28, 2014
Latest reply on Nov 14, 2014 by nan

I download the Binary Search using OpenCL 2.0 SVM( example and unzip it. Then I run "cmake ." and get wrong.

$ cmake .

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

Please set them or make sure they are set and tested correctly in the CMake files:


    linked by target "SVMBinaryTreeSearch" in directory SVMBinarySearchTree/SVMBinarySearchTree/samples/opencl/cl/SVMBinaryTreeSearch



-- Configuring incomplete, errors occurred!

See also "SVMBinarySearchTree/SVMBinarySearchTree/samples/opencl/cl/SVMBinaryTreeSearch/CMakeFiles/CMakeOutput.log".


I use Ubuntu14.04, I notice that in CMakeList.txt, it writes "../../../../lib/ ", but that dir only contains the win64/OpenCL.lib file. How should I change the cmake files so that I can compile it?


There is a /usr/lib/