Ma tu hai indicato al compilatore tutti i file sorgenti (tutti i .cpp)?