Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17254 Discussions

How to resolve Path to SOPC Builder directory is not found

Altera_Forum
Honored Contributor II
2,567 Views

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?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
1,751 Views

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 II
1,751 Views

 

--- 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
0 Kudos
Reply