I've just noticed that CodeWarrior 8.3 won't build my project which contains 2 .cpp files and MathLib.c file. All files are declared in the project and I use only one segment. In the main.cpp, I call "pow" and "sqrt" functions from the MathLib.c. Both MathLib.h and MathLib.c were added automatically when creating the project.
I got a "Link error : pow (sqrt) referenced from main.cpp is not defined". The second .cpp file, Tools.cpp, contains some shared functions. I do have to add "#include "Tools.cpp" in the Main.cpp so that the builder can find the functions' definitions, otherwise I will get the same error. I've tried to look in the samples which using multiple files, comparing the configuration, but I cannot find the difference. I can build successfully the samples. Does someone has any idea on what's wrong with my project ? Thanks before Agus -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
