Command line build

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Command line build

1,495 次查看
davidyun
Contributor II

I have been running the following batch file script to build a project through command line.

SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_10.2.1_795\ide\tools\bin
SET IDE=C:\nxp\MCUXpressoIDE_10.2.1_795\ide\mcuxpressoidec.exe


"%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import "./LpcLibs\lpc_board_nxp_lpcxpresso_11u68" -import "./LpcLibs\lpc_chip_11u6x" -import "./Adti200Firmware" -cleanBuild Adti200Firmware/Debug

Then it doesn't compile the Debug configuration and display the following error:

Project: lpc_board_nxp_lpcxpresso_11u68 already exists in the workspace!

So, what I have tried is

- Deleted .metadata and ran the batch file: Got same result as above. 

- Open MCUXpresso IDE and deleted projects without deleting contents: Got same result as above.

Anyone have experienced the same issue above?

标记 (1)
0 项奖励
回复
2 回复数

1,312 次查看
davidyun
Contributor II

I have got exactly same projects in two different workspaces, one is working but the other is not working as described above. 

0 项奖励
回复

1,312 次查看
converse
Senior Contributor V

This is telling you that the project lp_board_nxp_lpcxpresso_11u68 already exists in the directory into which you are trying to import the project. Either delete the existing project, or try a new (empty) workspace. Alternatively, if you are justtrying to build a project that already exists, don't use -import.

0 项奖励
回复