![]() |
Printf symbol undefined? Help
I can't get the code to compile uless i comment out all the printf statements. Can someone tell me how to fix this?
MPLINK 3.40, Linker Copyright (c) 2003 Microchip Technology Inc. Error - could not find definition of symbol 'printf' in file 'D:\Codes\Versions\1.0.4 (In Progress)\user_routines.o'. Errors : 1 |
Re: Printf symbol undefined? Help
you probably have not included "stdio.h"
Code:
#include <stdio.h> |
Re: Printf symbol undefined? Help
I do have that included, however, idon't have the file itself.
|
Re: Printf symbol undefined? Help
I suggest you reinstall the compiler then, as these are standard libraries included with the compiler.
We ran into a problem with a module we were writing that was similar. Make sure that file is included in every file you plan to use printf. It was late last night... |
| All times are GMT -5. The time now is 14:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi