1 Reply Latest reply on Sep 20, 2018 8:13 PM by elstaci

    intrin.h: No such file or directory

    m.hassankhan90

      Hi everyone,

      I am new to OpenCL, trying to compile my first OpenCL code in a very basic C++ editor.

       

      #include <CL/cl.hpp>

      int main(int argc, char** argv)

      {

      cl::Platform platform;

      return 0;

      }

       

      When I compile this code, I get "intrin.h: No such file or directory" error. This code does compile on Visual Studio on my friends pc. Please help me. I am using Falcon C++ editor with MinGW compiler.

      Thanks

      Hassan Khan