Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Printf symbol undefined? Help (http://www.chiefdelphi.com/forums/showthread.php?t=34205)

schenkin 08-02-2005 15:40

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

AIBob 08-02-2005 15:55

Re: Printf symbol undefined? Help
 
you probably have not included "stdio.h"

Code:

#include <stdio.h>

schenkin 08-02-2005 16:10

Re: Printf symbol undefined? Help
 
I do have that included, however, idon't have the file itself.

Ssbfalcon 08-02-2005 16:14

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