<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC Microcontrollers中的主题 Re: Problems linking with emwin</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-linking-with-emwin/m-p/562514#M16506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Mon Aug 24 07:00:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi andres,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have GUI_Conf.c/.h&amp;nbsp; and GUI_X.c in your project?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:47:38 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:47:38Z</dc:date>
    <item>
      <title>Problems linking with emwin</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-linking-with-emwin/m-p/562513#M16505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by andres.cass on Wed Aug 19 12:43:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi. I'm trying to start with a graphical interface in a 4.3" LCD display using emWin library with an element4 (Embest) LPC4357-EVB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I copy a simple HelloWorld example form emwin manual but it is not linking. I add the emWin headers and precompiled libraries in the directories ti says and add the libraries to my project:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In MCU C Compiler/includes I add: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/emWin/emWin_header}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/emWin/emWin_Config}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in MCU Linker/Libraries I add:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/emWin/emWin_library/LPCXpresso}" to the paths&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;emWin_M4&amp;nbsp; to the libraries following the instructions in &lt;/SPAN&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;https://www.lpcware.com/content/forum/how-link-emwin-library&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is quite simple, I just include GUI.h , initilize the LCD peripherial of the microcontroller and execute GUI_Init() and GUI_DispString("Hello world!")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am on Windows 7 with LPCXpresso v7.5.0 [Build 254] [2014-10-31].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I try tu builkd the project I receive this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
Building target: emHello.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"C:\Users\Cassagnes Andres\Documents\LPCXpresso_7.5.0_254\workspace4357\lpc_chip_43xx\Debug" -L"C:\Users\Cassagnes Andres\Documents\LPCXpresso_7.5.0_254\workspace4357\emWin\emWin_Config" -L"C:\Users\Cassagnes Andres\Documents\LPCXpresso_7.5.0_254\workspace4357\emWin\emWin_library\LPCXpresso" -Xlinker -Map="emHello.map" -Xlinker --gc-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -T "emHello_Debug.ld" -o "emHello.axf"&amp;nbsp; ./src/cr_startup_lpc43xx.o ./src/crp.o ./src/emHello.o ./src/sysinit.o&amp;nbsp;&amp;nbsp; -llpc_chip_43xx -lemWin_M4
C:\Users\Cassagnes Andres\Documents\LPCXpresso_7.5.0_254\workspace4357\emWin\emWin_library\LPCXpresso\libemWin_M4.a(GUI_Core.o): In function `GUI__Config':
GUI_Core.c:(.text.GUI__Config+0xc): undefined reference to `GUI_X_Config'
GUI_Core.c:(.text.GUI__Config+0x14): undefined reference to `LCD_X_Config'
C:\Users\Cassagnes Andres\Documents\LPCXpresso_7.5.0_254\workspace4357\emWin\emWin_library\LPCXpresso\libemWin_M4.a(GUI_Core.o): In function `GUI_Init':
GUI_Core.c:(.text.GUI_Init+0x10): undefined reference to `GUI_X_Init'
C:\Users\Cassagnes Andres\Documents\LPCXpresso_7.5.0_254\workspace4357\emWin\emWin_library\LPCXpresso\libemWin_M4.a(GUI_Task.o): In function `GUI_Unlock':
GUI_Task.c:(.text.GUI_Unlock+0xa): undefined reference to `GUI_X_Unlock'
C:\Users\Cassagnes Andres\Documents\LPCXpresso_7.5.0_254\workspace4357\emWin\emWin_library\LPCXpresso\libemWin_M4.a(GUI_Task.o): In function `GUI_Lock':
GUI_Task.c:(.text.GUI_Lock+0xe): undefined reference to `GUI_X_GetTaskId'
GUI_Task.c:(.text.GUI_Lock+0x16): undefined reference to `GUI_X_Lock'
GUI_Task.c:(.text.GUI_Lock+0x1a): undefined reference to `GUI_X_GetTaskId'
GUI_Task.c:(.text.GUI_Lock+0x34): undefined reference to `GUI_X_GetTaskId'
C:\Users\Cassagnes Andres\Documents\LPCXpresso_7.5.0_254\workspace4357\emWin\emWin_library\LPCXpresso\libemWin_M4.a(GUI_Task.o): In function `GUITASK_Init':
GUI_Task.c:(.text.GUITASK_Init+0x32): undefined reference to `GUI_X_InitOS'
collect2.exe: error: ld returned 1 exit status
make: *** [emHello.axf] Error 1

16:19:07 Build Finished (took 1s.668ms)&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-linking-with-emwin/m-p/562513#M16505</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with emwin</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-linking-with-emwin/m-p/562514#M16506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Mon Aug 24 07:00:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi andres,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have GUI_Conf.c/.h&amp;nbsp; and GUI_X.c in your project?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:47:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-linking-with-emwin/m-p/562514#M16506</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems linking with emwin</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-linking-with-emwin/m-p/562515#M16507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by andres.cass on Mon Aug 24 10:44:38 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi. I didn't, but then I realize that and put them in the project. Now I am having another problems. The project compiles well but I can't see anything in the display. Later I will make a complete question about it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-linking-with-emwin/m-p/562515#M16507</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:47:39Z</dc:date>
    </item>
  </channel>
</rss>

