Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > emWin Graphic Library + PSoC3 (ERROR L127: UNRESOLVED EXTERNAL SYMBOL)

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



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

Post Reply
Follow this topic



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

faf posted on 18 Nov 2012 12:21 PM PST
Member
3 Forum Posts

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'.

 




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

Bob Marlowe posted on 19 Nov 2012 02:22 AM PST
Top Contributor
1768 Forum Posts

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



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

faf posted on 19 Nov 2012 02:49 AM PST
Member
3 Forum Posts

Thank you for answer.

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

 



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

faf posted on 19 Nov 2012 04:47 AM PST
Member
3 Forum Posts

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 */
}






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20