Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

problem with #include kiel newbie

Status
Not open for further replies.

evilheart

Member level 3
Joined
Sep 3, 2009
Messages
67
Helped
3
Reputation
8
Reaction score
2
Trophy points
1,288
Location
egypt
Activity points
1,955
that is my first keil program and i had a strange problem

i am using C to use it on 8051 , and i wrote the program already

but on building the project the first error was that it can't open file AT89X52

#include <AT89x52.H>
#include <string.h>
#include <reg52.h>


that is a this libraries i used

i don't know what is the problem , so i want any help please. \]
 

Hi evilheart,

I think the problem is you had included 2 same library file.
#include <AT89x52.H>
...
#include <reg52.h>

AT89x52.H and reg52.h library will do. So, you just choose either one enough already.

Bst Rgds,..
 

Check whether the file at89x52.h is available on the include directory. If missing reinstall keil.

Nandhu
 

thx Rgds , Nandhu

i already checked AT89X52.H in INC folder ,
and i will see about the ur answer Rgds.

thx again
 

error was that it can't open file AT89X52 ????????


see ur include folder. AT89X52 must be there with some diff name.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top