AnsweredAssumed Answered

Newly added C++ files ignored in project

Question asked by Rich Wooley on May 22, 2013
Latest reply on May 22, 2013 by Erich Styger

I'm using CodeWarrior 10.3 (on Windows) for a kinetis processor on the FreeScale cube.  I started with a simple C project that would exercise the color LCD and touchscreen interface.  Everything compiles and works just fine.

 

Today, I added some third-party C++ source to the project.  I did this my simply copying a hierarchy of folders into the project's "Sources" folder.  After refreshing the project, all of the new folders, and the c++ source contained within them appears in the project.  Each new c++ file has a green checkmark to the right of it, and I can expand each source file to see the definitions and object methods provided within each file.  That was easy!

 

The problem comes when I try to do a clean rebuild of the project.  Everything compiles and I receive no errors, but the new files are not compiled and I see no object or listing files for them in the FLASH output directory.  In the project options, under C/C++ General->Paths and Symbols->Includes, I've added all the relevant folders containing source files.  Similarly, I also modified the C/C++ Build->Settings->Arm Ltd Windows GCC C Compiler->Directories to include paths where ANY header file might live, but the source still doesn't get built.

 

I'm very new to CodeWarrior and I suspect there is a simple solution somewhere in the project settings, but I'm clueless at this point.  Any help you can provide will be greatly appreciated.

 

Cheers,

 

Rich

Outcomes