I get the error mentioned in the subject when I compile my main program.
In my .c file where I have the main I make an include of a .h with the function header and, in principle from the project options I add the .c corresponding to the .h include.
When using a function of the .c I get this error when I try to compile.
If someone can help me I would be very grateful.
Thank you very much in advance.
me aparece el error comentado en el asunto cuando compilo mi programa principal.
En mi archivo .c donde tengo el main hago un include de un .h con la cabecera de la función y, en principio a partir de las opciones del proyecto añado el .c correspondiente al include del .h.
Al usar una función del .c me salta este error cuando intento compilar.
Si alguien puede ayudarme se lo agradecería bastante.
Muchas gracias de antemano.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Mar 25, 2021 10:24 pm
Which one of these IDE's are you using ?
- CCS IDE
- MPLAB X
- MPLAB vs. 8.92
Quote:
in principle from the project options I add the .c corresponding to the .h include
I don't know what this means. What do you mean by "in principle" ?
Quote:
Error 112: Function used but not defined
Tell us the name of the function that is not defined.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum