cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor

I am having trouble with the GraphLCDIntrf and the emFile components.  I created a project with the LCD interface and got it working.  I then added the emFile component and added all the necessary links to the additional directories.  Then when I build the project I get a build error "prj.M0120:Build error: unknown type name 'PTR_ADDR' ".  I've created another project using the last version of the GraphLCDIntrf with the emFile component and didn't have this trouble.  I don't know where to look or what to do in order to fix this build error.  Attached is the project I'm working on so that you can see what's happening.  It's not pretty because I was just testing different functions of emWin.

Thanks,

Matt

0 Likes
Reply
1 Solution
Valued Contributor II

I can not explain it, but it seems necessary to make the inclusion of the Global.h file mandatory.

comment out the first and last lines in this file:

//#ifndef GLOBAL_H            // Guard against multiple inclusion

.................

//#endif                      // Avoid multiple inclusion

View solution in original post

0 Likes
Reply
3 Replies
Valued Contributor II

I can not explain it, but it seems necessary to make the inclusion of the Global.h file mandatory.

comment out the first and last lines in this file:

//#ifndef GLOBAL_H            // Guard against multiple inclusion

.................

//#endif                      // Avoid multiple inclusion

View solution in original post

0 Likes
Reply
New Contributor

Should I be in the office tomorrow I'll give it a shot.

Thanks,

0 Likes
Reply
New Contributor

Thanks for the help.  I tested it out this morning and it appears to be working just fine

0 Likes
Reply