AnsweredAssumed Answered

SEGGER EMWIN LATEST RELEASE PROBLEM

Question asked by Jan Borge on Oct 3, 2016
Latest reply on Oct 24, 2016 by Jan Borge

I am using the LPC1788 with EMWIN, and use VidualStudio to prototype some of the GUI code.  Moving from the 522 EMWIN library to 536 is giving some compiler problems In Microsoft Visual Studio 10.

 

To troubleshoot I downloaded the last complete lpc1788 BSP project version 522 from NXP.  

emWin Graphics Library|NXP 

I compiled and ran the EMWIN demo with no changes.  All works well as expected.

 

I then downloaded version  536 from NXP which supplied the file emwin_x86.lib.  No project, just the library.   I replaced the   GUIx86.lib (522) with emwin_x86.lib (536).   

 

When compiling I get the following errors:

1>emWin_x86.lib(FRAMEWIN_Get.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUIDEV_32.OBJ) : error LNK2019: unresolved external symbol _emWin_memcpy referenced in function __DrawBitLine1BPP
1>emWin_x86.lib(GUI_SetAlpha.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUI_Realloc.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUI_ALLOC_AllocInit.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(WM_UserData.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUI__SetText.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUIDEV_8.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUIDEV_16.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GRAPH_DATA_XY.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUI_Alloc.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUIDEV_StaticDevices.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>emWin_x86.lib(GUI_ARRAY.OBJ) : error LNK2001: unresolved external symbol _emWin_memcpy
1>.\Output\WIN32_MSVC60\Debug/Simulation.exe : fatal error LNK1120: 1 unresolved externals

 

I also updated header files and copied over the config folder.  No change.

 

 

 

I then worked backwards downloading older versions.

I tested 524 and it works

I tested 530 and it works

 

The new 536 version that came after 530 is looking for the external "emWin_memcpy".

 

Please let me know what has to be done to make 536 compile.

 

Thank you.

Outcomes