What should I do to remove the compile error?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Dave_Long
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

Hi all:

    As the picture show bellow:

         pastedImage_0.png

      What should I do to remove the compile error?

0 Likes
1 Solution

Just select the default toolchain in Project management(Tools>Options>Project Management) as ARM GCC and in the build setting ( Project > Build Settings) as ARM GCC as shown in the image below,

comm5.pngcomm6.png

this should solve your problems.

Regards,

Yeshwanth

View solution in original post

0 Likes
3 Replies
Yeshwanth_KT
Employee
Employee
50 replies posted 25 replies posted 10 likes received

Hello,

This error occurs because you are trying to use MDK to build the project but have no specified the location for the MDK binaries.

Go to Tools>Options>Project Management and enter the MDK installation directory as shown below,

comm4.png

Replace Keil_v5 with the folder name you have for your installation.

Regards,

Yeshwanth

0 Likes

Hi yekt:

     The project is build by other.How should I change to use ARM GCC to build the project?Could you help me?

0 Likes

Just select the default toolchain in Project management(Tools>Options>Project Management) as ARM GCC and in the build setting ( Project > Build Settings) as ARM GCC as shown in the image below,

comm5.pngcomm6.png

this should solve your problems.

Regards,

Yeshwanth

0 Likes