- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The path for my OpenCL libraries is:
/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/6.3/lib/x86
Accordingly, the line in my Makefile is:
LIBS=-L/cygdrive/c/"Program Files (x86)"/Intel/"OpenCL SDK"/6.3/lib/x86
However, I get the following link error:
$ make Programs.v.4
c++ Programs.v.4.o functions.o -L/cygdrive/c/"Program Files (x86)"/Intel/"OpenCL SDK"/6.3/lib/x86 -lOpenCL -o Programs.v.4
/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/6.3/lib/x86/OpenCL.lib when searching for -lOpenCL
What am I doing wrong?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>...LIBS=-L/cygdrive/c/"Program Files (x86)"/Intel/"OpenCL SDK"/6.3/lib/x86
You have too many "" ( three ) in the path and it should be "Program Files (x86)/Intel/OpenCL SDK/6.3/lib/x86"

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page