emWin Graphic Library + PSoC3 (ERROR L127: UNRESOLVED EXTERNAL SYMBOL)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi guys,

Maybe you can help me.

After including this library in my project on PSoC3, happend such error during the bilding.

In project i have only GraphicLCDIntf_1.

I made all steps discribed in user guide for this library.

But after bilding had:

   

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: GUI_X_Config
MODULE: ..\LinkLibrary\PSoC3\Keil_PK51\emWinnosnts.lib (GUI_CORE)
Program Size: data=11.0 xdata=1704 const=493 code=3317
The command 'LX51.exe' failed with exit code '2'.

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

It looks like you are missing a .h-file in your project. Start a search through all files for the missing external symbol to get a feeling where you missed something.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Thank you for answer.

   

But I have such structure like in user guide: http://www.cypress.com/go/comp_emWin

0 Likes
Anonymous
Not applicable

Solution - to add in project:

   

/*********************************************************************
*
* GUI_X_Config
*/
void GUI_X_Config(void) {
static U32 aMemory[GUI_NUMBYTES >> 2]; /* Memory block for emWin, 32bit aligned */
GUI_ALLOC_AssignMemory(aMemory, GUI_NUMBYTES & 0xFFFFFFFC); /* Assign it to emWin */
GUI_ALLOC_SetAvBlockSize(GUI_BLOCKSIZE); /* Set average memory block size */
}

0 Likes