Post Go back to editing

cc1458: Fatal error: could not obtain license; VisualDsp 5.0

Category: Software
Product Number: MAX5971B
Software Version: 5.0


When build project from command line i got error message 

cc1458:  Fatal error: could not obtain license
1 catastrophic error detected in the compilation of  "***.c"
Compilation terminated.
When build project fromVisualDsp5.0(GUI)
build run and pass.
Why build failed when trying to build from Command Line?
Zion Adadi

Added VisualDsp to keywords
[edited by: MStokowski at 7:49 PM (GMT -5) on 19 Feb 2024]

Thread Notes

  • Hi Zion,

    Sorry about the delay. Somehow this question posted in the LTspice forum. We'll try to get you to the right group.



  • Hi,

    Please confirm once, whether you had selected Product Number "MAX5971B" instead of Blackfin/SHARC/TigerSharc.

    And this "cc1458: Fatal error: could not obtain license;" error is caused by the compiler and the compiler could not find a license.dat file.

    It appears that even though you are running the Windows service under a specific user that VisualDSP++ cannot find the license file. With Windows Vista and 7.0, Microsoft implemented a new policy, Virtual Stores where it prevents user specific files from being written to any folder under the Program Files directory. Instead, it stores files slated for the sub-folders of Program Files in sub-folders in the user's directory.

    The default installation of VisualDSP++ is in the Program Files directory. The license file is usually stored in the System folder of the VisualDSP++ install. Windows considers our license file a user file so instead of putting it in the System folder in the VisualDSP++ install it stores it under the user's directory.

    We suggest you copy the license.dat file in the user's folder (C:\Users\<user_name>\AppData\Local\VirtualStore\Program Files (x86)\Analog Devices\VisualDSP 5.x.x\System\) into the System folder of the VisualDSP++ install directory that resides in the Program Files directory(<Installation>\Analog Devices\VisualDSP++ 5.x.x\System\). Let us know if that works.

    Some folders may be hidden. It can be made visible by clicking the View button on the top left of the file Explorer Window and enabling 'Hidden Files' option.

    If you are still facing the same issue, please share us the below details through private support to assist you further.

    1. Screenshot of the manage license page (Windows start->All Programs -> Analog Devices ->VisualDSP++ <version number> -> Manage Licenses).
    2. Copy of the license.dat file.

    As the support we can offer may be limited here - Please contact private support through the link below:

    Or you can email to Processor Tools Support through:

    Please make sure to add the link of this Ezone thread while contacting private support.


  • Thanks 

    Now it's works after copy license.dat to user's folder (C:\Users\<user_name>\AppData\Local\VirtualStore\Program Files (x86)\Analog Devices\VisualDSP 5.x.x\System\)

  • Hi,

    Thank you for letting us know the issue got resolved.

    Best Regards,


Reply Children
No Data