<?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>Kinetis Design Studio中的主题 Re: Command line build error</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348478#M1263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich, yes, that's the article.&amp;nbsp; Digging a little further into it, it appears that if I do a clean operation from within the KDS environment, exit, and then run the command line build, it does indeed compile and build everything despite the errors about Processor Expert.&amp;nbsp; If I try the -cleanBuild option though, it does not appear to do the same thing.&amp;nbsp; If I use this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\freescale\KDS_2.0.0\eclipse\eclipsec -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data c:\users\dsherman\kds2 -cleanBuild "C3Main/Debug"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears to issue "make clean" and shows a large list of object files to be deleted, but fails on the .elf file because the path is incomplete.&amp;nbsp; If I then try to build, it doesn't recompile, it just links and creates the .elf.&amp;nbsp; Not sure why it's prepending pathnames to the object files correctly, but not for the .elf.&amp;nbsp; Interestingly, if I use the -cleanBuild command line option after doing a "clean" from within KDS, it builds all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's as though not all the settings from KDS are carrying over correctly, because a "clean" from KDS does delete all the object files and the .elf, but not when I use the command line.&amp;nbsp; I've tried using it from the workspace directory, the project directory within the workspace, and the target directory within the project, but it doesn't seem to make much difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 14:20:53 GMT</pubDate>
    <dc:creator>davidsherman</dc:creator>
    <dc:date>2015-01-16T14:20:53Z</dc:date>
    <item>
      <title>Command line build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348475#M1260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found Erich Styger's article on invoking command line builds for KDS, which was very helpful.&amp;nbsp; Trouble is, I'm using MQX-Lite, which unfortunately requires Processor Novice (oops, Processor Expert), and that seems to be throwing a wrench into it.&amp;nbsp; I'm getting an error that says:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Managed Build system manifest file error:&amp;nbsp; Unable to resolve the superClass identifier com.processorexpert.cdt.gcc.toolchain.builder in the bulder com.processorexpert.cdt.gcc.toolchain.debug.builder.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've turned off code generation in Processor Expert, but it didn't make a difference.&amp;nbsp; I've tried running the eclipsec command line from both the workspace and the eclipse directory, but it worked the same.&amp;nbsp; Is it just a path issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 17:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348475#M1260</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2015-01-15T17:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Command line build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348476#M1261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell us the version of KDS, and the chips you use .&lt;/P&gt;&lt;P&gt;Attachment your project screenshot&amp;nbsp; and tell me how to reproduce your error step by step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 01:31:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348476#M1261</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-01-16T01:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Command line build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348477#M1262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;this one (&lt;A href="http://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/" title="http://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/"&gt;Building Projects with Eclipse from the Command Line | MCU on Eclipse&lt;/A&gt;)?&lt;/P&gt;&lt;P&gt;Triggering code generation from the command line was subject of a post KDS v2.0.0 release.&lt;/P&gt;&lt;P&gt;But if the code already has been generated, it should build, and you can ignore the errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\tmp&amp;gt;c:\Freescale\KDS_2.0.0\eclipse\eclipsec.exe -nosplash -application org.ec&lt;/P&gt;&lt;P&gt;lipse.cdt.managedbuilder.core.headlessbuild -data c:\tmp\wsp_kds -build test3&lt;/P&gt;&lt;P&gt;Managed Build system manifest file error: Unable to resolve the superClass ident&lt;/P&gt;&lt;P&gt;ifier com.processorexpert.cdt.gcc.toolchain.builder in the builder com.processor&lt;/P&gt;&lt;P&gt;expert.cdt.gcc.toolchain.debug.builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Managed Build system manifest file error: Unable to resolve the superClass ident&lt;/P&gt;&lt;P&gt;ifier com.processorexpert.cdt.gcc.toolchain.builder in the builder com.processor&lt;/P&gt;&lt;P&gt;expert.cdt.gcc.toolchain.release.builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;09:57:03 **** Build of configuration Debug for project test3 ****&lt;/P&gt;&lt;P&gt;make all&lt;/P&gt;&lt;P&gt;'Building file: ../Sources/main.c'&lt;/P&gt;&lt;P&gt;'Invoking: Cross ARM C Compiler'&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-ch&lt;/P&gt;&lt;P&gt;ar -ffunction-sections -fdata-sections&amp;nbsp; -g3 -I"C:\Freescale\KDS_2.0.0\eclipse\Pr&lt;/P&gt;&lt;P&gt;ocessorExpert/lib/Kinetis/pdd/inc" -I"C:\Freescale\KDS_2.0.0\eclipse\ProcessorEx&lt;/P&gt;&lt;P&gt;pert/lib/Kinetis/iofiles" -I"C:/tmp/wsp_kds/test3/Sources" -I"C:/tmp/wsp_kds/tes&lt;/P&gt;&lt;P&gt;t3/Generated_Code" -std=c99 -MMD -MP -MF"Sources/main.d" -MT"Sources/main.o" -c&lt;/P&gt;&lt;P&gt;-o "Sources/main.o" "../Sources/main.c"&lt;/P&gt;&lt;P&gt;'Finished building: ../Sources/main.c'&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;'Building target: test3.elf'&lt;/P&gt;&lt;P&gt;'Invoking: Cross ARM C++ Linker'&lt;/P&gt;&lt;P&gt;arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-ch&lt;/P&gt;&lt;P&gt;ar -ffunction-sections -fdata-sections&amp;nbsp; -g3 -T "C:/tmp/wsp_kds/test3/Project_Set&lt;/P&gt;&lt;P&gt;tings/Linker_Files/ProcessorExpert.ld" -Xlinker --gc-sections -L"C:/tmp/wsp_kds/&lt;/P&gt;&lt;P&gt;test3/Project_Settings/Linker_Files" -Wl,-Map,"test3.map" -nanolibc -o "test3.el&lt;/P&gt;&lt;P&gt;f"&amp;nbsp; ./Sources/Events.o ./Sources/main.o&amp;nbsp; ./Project_Settings/Startup_Code/startup&lt;/P&gt;&lt;P&gt;.o&amp;nbsp; ./Generated_Code/Cpu.o ./Generated_Code/PE_LDD.o ./Generated_Code/Vectors.o&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Finished building target: test3.elf'&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;09:57:04 Build Finished (took 858ms)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 08:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348477#M1262</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-01-16T08:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Command line build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348478#M1263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich, yes, that's the article.&amp;nbsp; Digging a little further into it, it appears that if I do a clean operation from within the KDS environment, exit, and then run the command line build, it does indeed compile and build everything despite the errors about Processor Expert.&amp;nbsp; If I try the -cleanBuild option though, it does not appear to do the same thing.&amp;nbsp; If I use this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\freescale\KDS_2.0.0\eclipse\eclipsec -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data c:\users\dsherman\kds2 -cleanBuild "C3Main/Debug"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears to issue "make clean" and shows a large list of object files to be deleted, but fails on the .elf file because the path is incomplete.&amp;nbsp; If I then try to build, it doesn't recompile, it just links and creates the .elf.&amp;nbsp; Not sure why it's prepending pathnames to the object files correctly, but not for the .elf.&amp;nbsp; Interestingly, if I use the -cleanBuild command line option after doing a "clean" from within KDS, it builds all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's as though not all the settings from KDS are carrying over correctly, because a "clean" from KDS does delete all the object files and the .elf, but not when I use the command line.&amp;nbsp; I've tried using it from the workspace directory, the project directory within the workspace, and the target directory within the project, but it doesn't seem to make much difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348478#M1263</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2015-01-16T14:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Command line build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348479#M1264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;as you are running the build from the command line anyway, you might delete the object files/.elf from the command line too, instead of using the clean option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 18:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348479#M1264</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-01-16T18:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Command line build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348480#M1265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich, that may be what I have to do.&amp;nbsp; If I put del /s *.o and del ./Debug/C3Main.elf in the batch file I've made that starts the command line, that seems to delete all the object files and force a clean rebuild.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, if I delete the C3Main.elf from the "clean" rule of the makefile, the output in the KDS console window shows it deletes everything except C3Main.elf if I select the "clean" option from the build window.&amp;nbsp; You would think that the console build would do the same thing, however, something is regenerating the makefile when I start the command line build and that reappears in the "clean" rule.&amp;nbsp; Weird.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 19:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348480#M1265</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2015-01-16T19:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Command line build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348481#M1266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;re-reading that problem here, I belive it could be related to long command lines on windows. You might try the GNU ARM Eclipse build tools (see &lt;A href="http://mcuoneclipse.com/2015/03/29/solving-the-8192-character-command-line-limit-on-windows/" title="http://mcuoneclipse.com/2015/03/29/solving-the-8192-character-command-line-limit-on-windows/"&gt;Solving the 8192 Character Command Line Limit on Windows | MCU on Eclipse&lt;/A&gt;), at least this solved my linker problems.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 17:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Command-line-build-error/m-p/348481#M1266</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-03-29T17:29:13Z</dc:date>
    </item>
  </channel>
</rss>

