2
/ usr / bin / ld : -lOpenCL을 찾을 수 없습니다
현재에서의 OpenCL에 주어진 간단한 프로그램을 컴파일하려고 이 웹 사이트를. 필요한 DeviceInfo것이 필요합니다. 단순히를 호출 한 후 make아래 오류가 발생합니다. sharan@sharan-X550CC:~/opencl-ex/Ex1$ make g++ DeviceInfo.cpp -I ../../Cpp_common -lOpenCL -o DeviceInfo /usr/bin/ld: cannot find -lOpenCL collect2: error: ld returned 1 exit status Makefile:23: recipe for target 'DeviceInfo' failed make: *** [DeviceInfo] Error 1 …