Hi
The error that you are getting is when trying to compile
stack/SNMP/SNMPV2/snmpagent.c. The files in SNMP/SNMPV1 and SNMPV2 are however not parts of the uTasker demo project (these are described here:
http://www.utasker.com/forum/index.php?topic=866.0).
So the question is why CW10.1 is trying to compile them...?
There are, as are directories associated with the simulator, excluded from the build (or at least should be) so you can probably correct it by selecting the SNMP directory and excluding its contents by right-clicking the mouse and commanding "
Exclude from build...", then selecting all targets.
Note: I also found that I had the same problem with my latest version - this exclude had obviously disappeared - after excluding the project was OK again.I'll not make any secret of the fact that I don't like working with CW10 (CW7 is fine for me though) or any other Eclipse based IDEs. They tend to be a nuisance - so slow, and difficult to control by a beginner. Another problem that often happens is that the managed make file that it uses is not always updated to match the local PC - in which case deleting the sub-directories
\Applications\uTaskerV1.4\KinetisCodeWarrior\MK60N512VMD100_INTERNAL_FLASH etc. tends to force the make file to be regenerated, which solves this. I would love to work with external make files, which is possible, but after almost 3 years of fighting with Eclipse I still never got it working....
The second problem is more simple. The VS project has two targets, one simply for simulation and one for simulation plus GCC post build. If you select the pure simulation target the error will go away because it will then not try to build with GCC, which needs the GCC compiler for the processor to be installed. The GNU compiler can be obtained from
www.CodeSourcery.com (lite version is OK when no debugging is required) and then the path in
\Applications\uTaskerV1.4\GNU_Kinetis\Build_Kinetis.bat can be adjusted to match (if necessary).
CW10.1 contains a Flash programmer which can be used to load pre-built files. This can be started from the symbol which looks like a bolt of lightening (light blue) - using "
Flash File to Target"
Regards
Mark