Command line build

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Command line build

1,494件の閲覧回数
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,311件の閲覧回数
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,311件の閲覧回数
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 件の賞賛
返信