Post Go back to editing

Compiler Change for old project

Category: Software
Software Version: 5.1.2

Hello, i am quite new to the Analog Devices Environment.

After getting a software licence to work for me my task is to debug an old firmware. I could VisualDSP 5.1.2 to install on my Windows 10 machine. The original project was done on Visual DSP 5.0. Visual DSP 5.0 seems to be a no go for me to install. Installation always errors out with an error on registering msxml4.dll. All possibilities in FAQ (manual registering them, admin mode, nothing works).

So if i try now to compile the project it says to me "#error The compiler version does not match the version of the builtins.h include" So i guess the 5.1.2 version has a newer compiler and the project demands a certain version of the compiler. Which is fine for me. But i cant to find the option on how to install an  older version of the compiler. It seems every VDSP++ comes with its own distinguished compiler which i cant change.

from the buildins.h i get the version number needed is 0x08010a05

So how can i get my VDSP++ to use this compiler? the compiler seems to be one exe (cc21k.exe ?) in the software directory itself with a higher number.

I am used to that the IDE itself is independent from the toolchain for the build of a firmware (like any Eclipse derivative).



  • Hi,

    Could you please also carry out the two steps below to solve the installation error in VisualDSP++ 5.0:

    Step 1
    1. Open a DOS box and CD to "C:\Windows\sysWOW64\".
    2. Type: regsvr32.exe msxml4.dll
    3. If everything is ok with the file, you should get a popup saying that registration of this file was a success after each file.

    Step 2
    If that fails, try the following:
    1. As before, double check if there exists an msxml4.dll file C:\windows\sysWOW64\ (also check "c:\windows\system32\") on your system.
    2. If yes, please rename it to msxml4.dll_
    3. Re-run the VisualDSP++ installation
    With the files renamed, VisualDSP++ will check for msxml3.dll and msxml4.dll and will be unable to find them. This will cause VisualDSP++ to try and load these files onto the system and if successful VisualDSP++ will complete the Touch with no further problems.

    Regarding VisualDSP++ 5.1.2, Actually, in our installation, the compiler version is "" and __VERSIONNUM__ defined in the header is 0x08010b01.

    Could you please let us know whether you are using builtins.h file from the old 5.0 installation in your project. If so, please use the builtins.h from the below VisualDSP++ 5.1.2 path.
    "C:\Analog Devices\VisualDSP++ 5.1.2\<Your processor family>\include\builtins.h"

    If this doesn't helps you to solve the issue, please share with us the project which replicates this issue. This will help us to assist you further.