Skip to content

Build Instructions for Windows Troubleshooting

Charles Determan edited this page Apr 5, 2016 · 3 revisions

Troubleshoot Windows Installation

Compiler Errors

fatal error: CL/cl.h: No such file or directory

Your OPENCL_INC variable is likely not pointing to the correct location. Check the directory you have it set to and make sure the CL directory is within it.

cannot find -lOpenCL collect2: ld returned 1 exit status

Your OPENCL_LIB64 and/or OPENCL_LIB32 variables are likely not pointing to the OpenCL libraries. You are looking for the OpenCL.lib file, NOT THE .dll FILE. Check the directory you are pointing towards and verify you can find the OpenCL.lib file.

Typical places for this include:

  1. AMD - C:\Program Files (x86)\AMD APP SDK\3.0\lib\x86
  2. NVIDIA - C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64