Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

opencl compile error

Hi, I'm a student who has the problem with compiling openCL.

my Quartus and Altera OpenCL SDK version is 16.0

What the problem is that if i try to compile such as

: aoc device/boardtest.cl --sw-dimm-partition -o bin/device boardtest.aocx

the Error message shows like that

Error: aoc: Executable C:/altera/16.0/hld/windows64/bin/aocl-clang exists but is not working!

The cause of failure cannot be determined. Run executable manually and watch for error message.

I set the User Environment variable, License, and reinstalled the application. but I have the same error message.

Is there anyone else who have the same problem like me?

https://alteraforum.com/forum/attachment.php?attachmentid=14421&stc=1

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    could you check the user permission and access right?

    If you try to compile a normal Hello world. is that works?

    Regards,

    CloseCL

    (This message was posted on behalf of Intel Corporation)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I already checked the user permission and access right.

    also, I use command prompt(Administrator), but it doesn't work..

    I don't know what the problem is