Warning: Default Location Not Found on Xilinx Compilation Tools

Updated Dec 23, 2023

Reported In


  • FPGA Xilinx Compilation Tools
  • LabVIEW FPGA Module

Issue Details

I'm trying to compile an FPGA bitfile, but my compilations always fail even using an example bitfile.
The Xilinx log has the warning:  Default location for XILINX_VIVADO_HLS not found. How can I fix this?



This message could be shown on some versions of  Xilinx Compilation Tool for Vivado as indicated in  AR# 64639 2015.1 Vivado - When I start Vivado from a shell, I see: WARNING: Default location for XILINX_VIVADO_HLS not found: You can safely ignore this warning.

If you cannot ignore the message because the compilation fails, you can follow Xilinx's workaround to stop the message from appearing. The workaround is to create an environmental variable called XILINX_VIVADO_HLS and set it to any value.

To create an environmental variable, follow these steps:
  1. Open the file explorer of your Windows 10 machine.
  2. Right-click the icon named This PC.
  3. Click on Properties.
  4. On the left side of the System window that popped up, click on System protection.
  5. On the new window that popped up, click on the Advanced tab.
  6. Click on Environmental Variables...
  7. Under the System variables section, click on New...
  8. Set the variable name and value.
  9. Click OK on the opened windows to save the changes.
If the above steps do not help, please contact NI Technical Support for further assistance.

Additional Information

Consult this document to find the correct Xilinx versions for your hardware and LabVIEW version.