AnsweredAssumed Answered

intrin.h: No such file or directory

Question asked by m.hassankhan90 on Sep 20, 2018
Latest reply on Sep 20, 2018 by elstaci

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

Outcomes