Maker Pro
Maker Pro

programming AT89C51 atmel family microcontroller

nesrudin musa

May 3, 2012
1
Joined
May 3, 2012
Messages
1
hi im doing my final project on security system of ATM machine and im using keil microvision4 to develop c code but it gives the fallawing warning messages
fm.c(2): warning C318: can't open file 'lcd.h'
FM.C(77): warning C206: 'init_lcd': missing function-prototype
FM.C(78): warning C206: 'display_lcd': missing function-prototype
FM.C(78): error C267: 'display_lcd': requires ANSI-style prototype
Target not created
i dont know how to solve it .and i'm :confused: would you please help me.. thank you!:
 

timothy48342

Nov 28, 2011
218
Joined
Nov 28, 2011
Messages
218
well, the last 3 errors are because it didn't load a file called lcd.h
The first error is because it couldn't find the file. It could be that you don't have it or maybe the file is in the wrong folder.

Did you download this and was it part of a package?
Did it have good installation instructions to follow?
It might help to know if you even have that file. Look where all the files for this got downloaded and search the folder they are in and see if it is there.

It could be that you downloaded just one part of a larger package.

What is the overall program called and where did you get it? (I mean did it come from the AT89C51 manufacturer? or other hobbiests? etc.

--tim
 

GreenGiant

Feb 9, 2012
842
Joined
Feb 9, 2012
Messages
842
Whenever I have seen something like this it was when I moved to a different computer and didn't bring the library with it

Or i moved the library to a different location

I would say re-install the library and put it somewhere common so if you move it it will retarget successfully (like in a sobfolder of the program)
 
Top