Answers Database
PC environment variables, license: Environment variables are not set; eg Cannot find license file -1,73:2
Record #4765
Product Family: Software
Product Line: Merged Core
Product Part: general
Problem Title:
PC environment variables, license: Environment variables are not set; eg Cannot find license
file -1,73:2
Problem Description:
Urgency: Standard
General Description:
After setting an environment variable for xilinx tools, such as XILINX, XILINX_CD and restarting the
computer, the variable is not seen/used by the tools.
May see a licensing error:
Error: Cannot find license file (-1,73:2)
Solution 1:
This solution applies to W95. NT machines setup environment variables differently.
To verify that the environment variable is set correctly, at a dos prompt, type:
echo %environment_variable_name%
EX. echo %xilinx%
If the variable is set properly, you should see the value of the variable (eg a path). If it is not
set properly, you will see either the variable name or 'echo is on'
Examples:
correct setup:
echo %xilinx%
c:\xilinx
incorrect setup:
echo %xilinx%
xilinx
or
echo %xilinx%
echo is on
Note that the variable is not necessarily set if the 'set' command displays the correct value for th
e variable. Only when the 'echo' command displays the correct value, is the variable setup properly.
** In the autoexec.bat, variables should be defined w/o spaces.
This is often the problem.
Example:
correct:
set xilinx=c:\xilinx
incorrect:
set xilinx = c:\xilinx
End of Record #4765 - Last Modified: 10/26/98 16:53 |