Hi
Unfortunately this is an error that I have never seen before.
There have been some difficulties with the new CW10.1 but these seem to have been solved up to now with the following 'tricks':
- make sure that the work space directories don't have names like "work space" - avoid white space - the following will be OK "work_space"
- press F5 in the file explorer window on the left of the IDE to update the (known) files in the workspace
- if files can't be found, try deleting the make file in the target directory to force the system to regenerate a make file suitable for the local PC (the project works with a managed make file and so the IDE will automatically regenerate new make files when content changes - however is seems as though some path names are not updated and so can be still pointing to invalid locations on a different PC.
Your problem doesn't look to be related to any of these known difficulties because the compiler seems to be invoked correctly and the file seems to be found.
The actual error seems to be due to a parameter passed to the compiler when compiling this file (note that it looks to have regenerated the dependency for the file just beforehand). This means that the IDE is creating a make rule for the file (which includes the compiler call parameters) and then the call to the compiler fails since these parameters are invalid (?). I don't see the option
-I but this is usually the include path to use when searching for header files.
I would have a look at the make file that it has created (in the target directory below the project) to see whether there is maybe something obviously wrong there (
like entries with invalid paths).
You could also ask at the Freescale CW forum:
http://forums.freescale.com/t5/CodeWarrior-General/bd-p/CWCOMM since this looks to be a CW issue.
In the meantime try using the GCC build (simply install the CodeSourcery ARM tool chain - the free light version) and run the bat file in the GCC project directory. The files generated can also be loaded with the FLASH loader in the CW10.1 so that at least things can run on the Tower Kit until the CW10.1 project problem can be solved.
Also ensure that you also try the VS based simulator (it also builds the GCC target if the target is set up for this option) and will allow you to test things without HW - the VS2010 special edition is adequate (and free from Microsoft) and is is a good solution for students who don't all have access to the HW.
Regards
Mark