uos / lvr2

Las Vegas Reconstruction 2.0
BSD 3-Clause "New" or "Revised" License
100 stars 20 forks source link

FindOpenCL error on Mac OS #6

Closed tlow92 closed 4 years ago

tlow92 commented 4 years ago

Hi, im trying to compile LVR2 on Mac OS (10.15 Catalina).

It seems that OpenCL can not be found, but im unsure why.

I am getting the following error, when trying to use "cmake .." from build folder.

-- Found TIFF library
-- Found GDAL
-- Found OpenCV: /usr/local/Cellar/opencv@3/3.4.9_1 (found suitable version "3.4.9", minimum required is "3")
-- Found FLANN
-- Header /usr/local/include LIB
-- Found the Lz4 library: /usr/local/lib/liblz4.dylib
-- Found LZ4 library: liblz4.dylib
-- Found GSL
-- Found Eigen3
-- Found MPI
CMake Error at CMakeModules/FindOpenCL.cmake:10 (find_package):
  Maximum recursion depth of 1000 exceeded
Call Stack (most recent call first):
  CMakeModules/FindOpenCL.cmake:10 (find_package)
  CMakeModules/FindOpenCL.cmake:10 (find_package)
[...]
CMakeModules/FindOpenCL.cmake:10 (find_package)

Any ideas, what I can try to debug this issue?

twiemann commented 4 years ago

Just pushed a new version that should fix this