cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Davix
Contributor
Contributor
352 Views
Registered: ‎11-18-2020

Unable to launch Vivado on Ubuntu 18.04.4

Jump to solution

I'm using Vitis 2020.2 on Ubuntu 18.04.4 and when i try to launch vivado using terminal the follow error appears:

wrong # args: should be "source ?-encoding name? filename".

How can i fix it?

Below i attached an image of the error.

Cattura.PNG
0 Kudos
Reply
1 Solution

Accepted Solutions
chinmays
Xilinx Employee
Xilinx Employee
313 Views
Registered: ‎06-27-2018

Hi @Davix,

Instead of invoking Vivado from bin folder Can you try invoking from an external directory ? From external directory, source settings64.sh then invoke Vivado. For ex:-

source /tools/Xilinx/Vivado/2020.2/settings64.sh

vivado

~Chinmay

View solution in original post

0 Kudos
Reply
2 Replies
chinmays
Xilinx Employee
Xilinx Employee
314 Views
Registered: ‎06-27-2018

Hi @Davix,

Instead of invoking Vivado from bin folder Can you try invoking from an external directory ? From external directory, source settings64.sh then invoke Vivado. For ex:-

source /tools/Xilinx/Vivado/2020.2/settings64.sh

vivado

~Chinmay

View solution in original post

0 Kudos
Reply
Davix
Contributor
Contributor
273 Views
Registered: ‎11-18-2020

When i installed Vitis 2020.2 there was no file settings64.sh so i manually updated the environment variable (PATH) but only for the bin folders of Vitis and not for Vivado. Now i uninstalled Vitis 2020.2 and installed Vitis 2020.1 which contains the settings64.sh file and now i don't have any problems in compiling and linkin kernels. Hence i think the problem was that the environment variables for Vivado were unset.

Thanks for your help.

0 Kudos
Reply