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

mesage of error from aoc: Error: Can't change into dir:

Altera_Forum
Honored Contributor II
2,621 Views

Hi: 

I'm starting using this tool from quartus II 13.0 (SDK)... I've instaled the software just like the "getting started" said... and when I wrote "where aoc" it answer me the right "path".... here is my problem: When i wrote "aoc -c moving_average.cl" its give me "Error: Can't change into dir:"...  

 

I think the problem is it can't generate the directory for the quartus projet?? but why? 

 

Thanks!!
0 Kudos
12 Replies
Altera_Forum
Honored Contributor II
1,261 Views

Ensure that the project directory name does not contain spaces or other special characters in the path and also ensure the directory is writable.

0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

 

--- Quote Start ---  

Ensure that the project directory name does not contain spaces or other special characters in the path and also ensure the directory is writable. 

--- Quote End ---  

 

 

I'm sure... here have a picture
0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

Try passing in the '-v' flag when you call aoc to see if you get more debug messaging back. The message you are seeing seems to be caused by the working directory not being set but I'm not sure why that is happening in your case. I ran a similar test on my E: drive and didn't see this issue.

0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

 

--- Quote Start ---  

Try passing in the '-v' flag when you call aoc to see if you get more debug messaging back. The message you are seeing seems to be caused by the working directory not being set but I'm not sure why that is happening in your case. I ran a similar test on my E: drive and didn't see this issue. 

--- Quote End ---  

 

 

I try but is the same....
0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

I wonder if this might be some language localization setting. The language seen in the screenshot seems to be Spanish, and I know there have been issues before with non-English language settings.

0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

Hi... 

I changed my keyboard configuration to english and the problem continues.....
0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

If the directory permissions look fine then I would open a service request to have Altera's support team take a look at the issue. You can open the service request here: http://www.altera.com/mysupport

0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

Hi, like SWIZZLE said, the problem was the language configuration. I installed window 7 in english in a virtual machine and it works. However there is no a time to trial the software like quartus has, so i can't make the lab practice.... Thanks for your help!

0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

Which localization setting were you using that caused this issue? I assume Spanish (Argentina)

0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

 

--- Quote Start ---  

Which localization setting were you using that caused this issue? I assume Spanish (Argentina) 

--- Quote End ---  

 

 

Yes, i'm using spanish (Argentina).
0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

 

--- Quote Start ---  

Which localization setting were you using that caused this issue? I assume Spanish (Argentina) 

--- Quote End ---  

 

 

I have exactly the same problem (Erro : can't change into dir") when invoking file.cl. I am working with version 13.1 of Quartus and SDK, and using the Terasic DE5net board. All the Terasic "tests" example work fine when using the aocx files that are provided. But it is impossible to compile new version of the .cl files. I have tried all the suggestions that were indicated in the previous threads about this issue, without any effect. By the way, the aocl --list-boards command doesn't recognize the board, while the board can be corrected programmed by the Quartus programmers and the matrixMult projects work fine. Thanks for your help.
0 Kudos
Altera_Forum
Honored Contributor II
1,261 Views

I suspect you may be running into the same issue fernandor85 was seeing which should be fixed in the next version of the tools. So if you are using a non-english language setting on your workstation I would try switching it to english to see if that works around the issue. If you are already using english settings the next thing to check is whether you have any special characters in the install directory name. 

 

In order for aocl --list-boards to list the board ensure your AOCL_BOARD_PACKAGE_ROOT environment variable is pointing to the .xml file for the DE5 board. This is the file that the command is looking for when it lists out the boards that are being used. 

 

I caution against using the Quartus II programmer to configure the board. If that board is already enumerated by the BIOS and you configure the FPGA using the Quartus II programmer you run the risk of crashing the computer because you'll end up wiping out all the PCIe enumeration data when you configure the new FPGA image. Instead use aocl program which will restore the enumeration data. The usual flow is that you don't manually configure the FPGA but rather rely on the OpenCL runtime to do this at execution time.
0 Kudos
Reply