Forum Discussion

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

How to resolve Path to SOPC Builder directory is not found

I am just starting with Altera OpenCL. I have been able to compile and run some of the example designs. Yesterday I tried using the emulator. After some missing environment variables I got it working. Today I tried some more emulations but whenever I want to compile, either for emulator or for chip I get the message:

aoc: Unable to determine the execution envoronment of the Altera SDK for OpenCL
aoc: Detailed error: Internal error: Path to SOPC Builder directory us not found!

I assume I have an enviroment variable wrong, but which one, and how do I find out which it is. I could run checks on all variables but that takes a lot of time. Could you point me to the right variable?

Or, if it has another couse, correct me and point me to the correct problem.

12 Replies

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

    --- Quote Start ---

    I am just starting with Altera OpenCL. I have been able to compile and run some of the example designs. Yesterday I tried using the emulator. After some missing environment variables I got it working. Today I tried some more emulations but whenever I want to compile, either for emulator or for chip I get the message:
    aoc: Unable to determine the execution envoronment of the Altera SDK for OpenCL
    aoc: Detailed error: Internal error: Path to SOPC Builder directory us not found!

    I assume I have an enviroment variable wrong, but which one, and how do I find out which it is. I could run checks on all variables but that takes a lot of time. Could you point me to the right variable?

    Or, if it has another couse, correct me and point me to the correct problem.

    --- Quote End ---

    Do you solve this problem ?I found the same problem lately?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Well, if you read through the thread you see how I solved it, or do you have problems after that?