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?
I have got exactly same projects in two different workspaces, one is working but the other is not working as described above.
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.