Page 1 of 1

Error compilation when adding header file

Posted: Wed Jun 24, 2015 2:27 pm
by Droneman
Hello, i added a new header file to the project that contain new function, but when i tried to compile i get this error
"undefined reference to 'commande_drone_initilaze'
please can anyone help me

Re: Error compilation when adding header file

Posted: Thu Jun 25, 2015 7:45 am
by tobias
Did you implement the function of it (in the source file)?

You need to add new source files in the Makefile to have them compiled.

Re: Error compilation when adding header file

Posted: Fri Jun 26, 2015 12:09 pm
by Droneman
yes thanks