Pumpkin, Inc.

Pumpkin User Forums

problem when building myown project

For issues specific to the 8051 family, including compilers (e.g. Keil C51) and IDEs (e.g. uVision2).

problem when building myown project

Postby sharaf_embedded » Wed Jan 05, 2005 1:07 am

Hii

I began with Salvo just a few days ago. I am able to build the project given in the tutorial, but when I build one on myown with same files specified in the tutorial2, I get a lot of errors, beginning with Can't open file main.h and Can't open file Salvo.h. Any help will be appreciated.

sharaf_embedded
 
Posts: 5
Joined: Tue Jan 04, 2005 12:00 am
Location: Malappuram, Kerala, India

Re: problem when building myown project

Postby aek » Wed Jan 05, 2005 6:27 am

Hello Sharaf.

Problems with main.h and salvo.h are due to the project not having the required include paths.

Normally, all you need for your own project is to add c:salvo to your include paths (in the project options).

Review the compiler-specific Salvo App Note, and also any of the Salvo tutorial projects, to see which additional Project Options must be set by the user to ensure a successful build.

Regards,

------------------

-------
aek
aek
 
Posts: 1887
Joined: Sat Aug 26, 2000 11:00 pm

Re: problem when building myown project

Postby sharaf_embedded » Sun Jan 09, 2005 11:10 am

Hii
I tried your suggestion to include the paths, and it worked. Thanks a lot.

Regards,
Sharaf

sharaf_embedded
 
Posts: 5
Joined: Tue Jan 04, 2005 12:00 am
Location: Malappuram, Kerala, India


Return to 8051 family

Who is online

Users browsing this forum: No registered users and 1 guest

cron