Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHow to resolve Path to SOPC Builder directory is not found
hi,guys
I have been able to compile and run a design for few days. All command and enviroment is OK, but yesterday I want to invoke "aoc --list-boards" I got the error message : Code: 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?2 Replies
- Altera_Forum
Honored Contributor
I had the problem a few days ago, and I found out that the problem was with QUARTUS_ROOTDIR_OVERRIDE. Make sure it points to the path of your quartus installation. For me it was "C:\altera_lite\15.1\quartus", since I'm using Quartus lite edition. I think by default aoc tries to look for SOPC in something like "C:\altera\15.1\quartus".
- Altera_Forum
Honored Contributor
--- Quote Start --- I had the problem a few days ago, and I found out that the problem was with QUARTUS_ROOTDIR_OVERRIDE. Make sure it points to the path of your quartus installation. For me it was "C:\altera_lite\15.1\quartus", since I'm using Quartus lite edition. I think by default aoc tries to look for SOPC in something like "C:\altera\15.1\quartus". --- Quote End --- exactly, QUARTUS_ROOTDIR_OVERRIDE is error , it is changed as C:\altera\15.1\quartus\hld. It works after I modify. thanks for the help