This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armcc.exe returning a Windows error 0xc0000142

I'm using Arm Development Studio 2019.1 on Windows 10.

From within ARM Development Studio I select "Build Project" for my project.  It starts executing but I get a Windows pop-up error for armcc.exe that says:

Application was unable to start correctly. (0xc0000142)

The make is invoking Arm C Compiler 5.

I have tried running Arm Development Studio both as a user and as an administrator but I get the same error in either case.

This error occurs on the first file to be compiled for the project.

I've done some searching and found that this error is raised when a DLL is not able to be initialized.

Has anyone else seen this error?

Parents
  • Hi Doug,

    Sorry to hear you are having these problems - suffice to say I run the tool daily on my Win10 machine without issue.

    As a first pass, can you check if you can run the compiler from the command line - easiest check is to open the Arm DS Command prompt, use the select_toolchain utility to ensure Compiler 5 is selected, and then run the compiler (armcc -vsn should suffice).

    Is it only armcc that is affected? Try also with armasm, armlink, and also Arm Compiler 6, armclang (run the select_toolchain utility again).

Reply
  • Hi Doug,

    Sorry to hear you are having these problems - suffice to say I run the tool daily on my Win10 machine without issue.

    As a first pass, can you check if you can run the compiler from the command line - easiest check is to open the Arm DS Command prompt, use the select_toolchain utility to ensure Compiler 5 is selected, and then run the compiler (armcc -vsn should suffice).

    Is it only armcc that is affected? Try also with armasm, armlink, and also Arm Compiler 6, armclang (run the select_toolchain utility again).

Children