AnsweredAssumed Answered

Regenerating .o files

Question asked by Tom Carney on Dec 4, 2017
Latest reply on Dec 5, 2017 by Bob Paddock

I have a project which has a large number of precompiled .o files.  I also have the source code to generate these files but they are not currently a part of the project. I want to change the project so that every time I rebuild, the .o files are generated from scratch from the .c and .h files so that I can debug the code, but I can't figure out how to do this.


If I clean the project, the .o files remain, and if I just drop the source files into the project I get compile errors from multiple definition of the functions in the source files. If I just delete the .o files and try to rebuild I immediately get a dialog-box error message to the tune that :


"  'build project' has encountered a problem. Errors occurred during the build. "


I am assuming that there is some project setting which stipulates that the .o files are all there, precompiled and ready to use, but I cannot find it. Could anyone point me in the right direction?