I am running CodeWarrior on Win& 64 bit through an Oracle VM virtualbox that is running WinXP. I have upgraded from using CodeWarrior 3.0 to running the latest stuff on this new computer. I am using CW IDE version 5.9.0 Build 5292 plugins 102. Whenever I try to make the project I get an Error : C5200: MC9S08AC16.h file not found. I have checked the standard settings and target access paths. The file does exist and everything is pointing to it. I even tried to make the file part of the project. I still get this error. What am I doing wrong?
解決済! 解決策の投稿を見る。
Thanks for the reply, that fixed the compile error, now I'm getting linker errors so at least its compiling now. Thanks! This is a totally new project written on a brand new computer with all new software. Not a migration of an old project into a new IDE. My old codewarrior version on my old computer was unstoppable, never had these errors, always worked great. Just upgraded to newer supported software and now getting a bunch of odd errors. One step forward, 3 steps backwards... I really appreciate the help!
Upgrading projects from one version to another has never worked, in any IDE for any compiler for any system, ever in history. Create a new project.
I suspect your problems may be related to newer CW versions using an include called <derivate.h>, which in turn points at a register map relevant to the CPU used in the current project. Try including this one instead.
If everything else fails, copy the MC9S08AC16.h to your local source directory, then include it with #include " MC9S08AC16.h" rather than #include <MC9S08AC16.h>.
Though of course the best option is to write your own register map, so you aren't stuck with Codewarriors crappy one, which doesn't even follow the C standard.
Thanks for the reply, that fixed the compile error, now I'm getting linker errors so at least its compiling now. Thanks! This is a totally new project written on a brand new computer with all new software. Not a migration of an old project into a new IDE. My old codewarrior version on my old computer was unstoppable, never had these errors, always worked great. Just upgraded to newer supported software and now getting a bunch of odd errors. One step forward, 3 steps backwards... I really appreciate the help!