Project not building correctly after changes
Hi,
I’ve been seeing some strange problems with System Workbench.
When I make a change to a header file, if I just build the project, the changes are not seen.
Sometimes I get compile errors, when a variable isn’t found that I had defined, yet I can navigate right to it from the project, so there is clearly a link. I’ve also seen where If I just update a variable, rebuild, the debugging process will still have the old value.
The header file is in the project, and in the include path.
The only way I can get it to work is to go to Project Properties/C/C++ Build/Settings/Include, and delete the include path for the directory that holds my changed header file. I then add this same include path right back in and “Apply”.
It seems that the build is not recompiling the changed file otherwise, and so does not recognize the changed file otherwise.
I’ve tried changing build settings.
Build on resource save (Auto build) is checked and set to all,
Build (Incremental build) checked and set to all, but I’ve tried unchecking this as well.
Clean is also checked.
I’ve got to have something set incorrectly though, any ideas?
Thanks