ModusToolBox can't compile the example project correctly without any change

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

cross mob
GuoXiangH_21
Employee
Employee
25 sign-ins 10 questions asked 10 sign-ins

Dears:

     customer OS is Win10 64bit (simplified chinese version) & MTB1.1 (ModusToolbox_1.1.0.234-windows-install & PSoC_6_SDK_1.1.1.53.cysdk)

         

      in ModusToolBox 1.1 new Application--> select CY8CPROTO-062-4343W --> TFTemWin  ,and compile it ,and error happens

      and we try new Application--> select CY8CPROTO-062-4343W --> CapSenseSlider ,the same error happens

      customer did not modify any thing

     please help !!

微信图片_20190714094412.png

微信图片_20190714094428.png

     P6 ver.pngp6 SDK.png

0 Likes
1 Solution

Grant,

Please try below steps then check if this issue goes away.

1. check if customer has an environment variable set - JAVA_HOME. If so, remove it and check if this issue still there.

2. if issue still there, set that environmrnt variable JAVA_HOME=C:\[your path here]\ModusToolbox_1.1\tools\jre-1.0 fix the issue?

View solution in original post

0 Likes
7 Replies
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

I tried out the two demo codes you mentioned on Win10 64bit platform, and both compile finely without any problem in Modus Toolbox.

Form your attached error log,  the path "C:\123\..." looks pretty strange. Can you suggest customer to open and compile the project under the default folder (called 'mtw') for Modus?

If that does not make sense, it might be resolved by reinstalling the Modus IDE with dowmloading a fresh one - https://www.cypress.com/products/modustoolbox-software-environment

0 Likes

we try it on destop folder and C disk  folder ,and default folder (called 'mtw') ,the same error happen

customer use ModusToolbox_1.1.0.234-windows-install.exe ,the same version as you provided https://www.cypress.com/products/modustoolbox-software-environment

0 Likes

Just re-install it again with cleaning all original code and files if customer has not done that.

As this issue can not be re-produced on other platform, it might be the lowest-cost method for customer but with most gains.

0 Likes

we also try to reinstall it ,and the same error also exist

0 Likes

This issue has been reported and escalated internally. I will get back to you when any solution profided.

0 Likes

Grant,

Please try below steps then check if this issue goes away.

1. check if customer has an environment variable set - JAVA_HOME. If so, remove it and check if this issue still there.

2. if issue still there, set that environmrnt variable JAVA_HOME=C:\[your path here]\ModusToolbox_1.1\tools\jre-1.0 fix the issue?

0 Likes

remove the JAVA_HOME enviroment variable is OK

TKS

0 Likes