Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build under MAC #100

Open
albandaft opened this issue Jul 6, 2017 · 1 comment
Open

Build under MAC #100

albandaft opened this issue Jul 6, 2017 · 1 comment

Comments

@albandaft
Copy link

I am trying to build this under MAc IOS but no luck:

gcc -O2 -std=gnu99 -pedantic -Wextra -Wall -Wno-deprecated-declarations -Wno-overlength-strings -I"/System/Library/Frameworks/OpenCL.framework/Versions/Current/Headers/"  -c -o main.o main.c
In file included from main.c:23:
./_kernel.h:1:25: warning: missing terminating '"' character [-Winvalid-pp-token]
const char *ocl_code = R"_mrb_(
                        ^
./_kernel.h:1:24: error: use of undeclared identifier 'R'
const char *ocl_code = R"_mrb_(
                       ^
./_kernel.h:1:25: error: expected ';' after top level declarator
const char *ocl_code = R"_mrb_(
                        ^
                        ;
input.cl:3:9: warning: unknown pragma ignored [-Wunknown-pragmas]
#pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics : enable
        ^

Any idea if this can be done?

@axelsimon
Copy link

Basically a duplicate of issue #30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants