<?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 MicrocontrollersのトピックRe: Compiling error of uTasker with Visual Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compiling-error-of-uTasker-with-Visual-Studio/m-p/747217#M45503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the bat file called as post-build step when the target "uTasker Kinetis plus GNU build" is selected. It uses the bat file to additionally cross-compile for the HW target. If you choose the "uTasker Kinetis" target you will purely build in the VS environment and not have a problem with the post-build step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases the simulator still works (just the cross-compile for HW may fail).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To correct the problem and build also for the HW target you probably need to edit the file &lt;STRONG&gt;GNU_kinetis/Build_Kinetis.bat&lt;/STRONG&gt; to put in your path to your GCC compiler installation. If using KDS or MCUXpresso you can set the path to its directory (eg. SET PATH=%PATH%;C:\Freescale\KDS_v3\Toolchain\bin or wherever yours is) so that it can build with its compiler.&lt;/P&gt;&lt;P&gt;Note the following too since the make file in these tool chains may not operate: &lt;BR /&gt;&lt;SPAN&gt;"GNU Make Issue when using Post-build GCC step" &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fforum%2Findex.php%3Ftopic%3D1988.0" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/index.php?topic=1988.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)&lt;BR /&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2018 16:51:30 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2018-05-14T16:51:30Z</dc:date>
    <item>
      <title>Compiling error of uTasker with Visual Studio</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compiling-error-of-uTasker-with-Visual-Studio/m-p/747216#M45502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I'm trying to compile uTasker with VS 2017 for the Kinetis KL03.&lt;/P&gt;&lt;P&gt;But I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Severity Code Description Project File Line Suppression State&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Error MSB3073 The command "cd ..\GNU_Kinetis&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Build_Kinetis.bat&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;:VCEnd" exited with code 1. uTaskerKinetis C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 133&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to launch&amp;nbsp;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Build_Kinetis.bat&amp;nbsp;&lt;/SPAN&gt;manually and I get the error: &lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;MSVCR100D.dll&lt;/SPAN&gt; not found.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I gave a look on the internet and the&amp;nbsp;&lt;SPAN&gt;MSVCR100D.dll&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is a debug library, and I apparently: "&lt;A href="https://stackoverflow.com/questions/10406807/visual-c-executable-and-missing-msvcr100d-dll"&gt;You definitely should not need the debug version of the CRT if you're compiling in "release" mode."&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, at the end the simulation works fine, but I can't create the FLASH version because I get the same error.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2018 03:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compiling-error-of-uTasker-with-Visual-Studio/m-p/747216#M45502</guid>
      <dc:creator>raff5184</dc:creator>
      <dc:date>2018-05-12T03:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling error of uTasker with Visual Studio</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compiling-error-of-uTasker-with-Visual-Studio/m-p/747217#M45503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the bat file called as post-build step when the target "uTasker Kinetis plus GNU build" is selected. It uses the bat file to additionally cross-compile for the HW target. If you choose the "uTasker Kinetis" target you will purely build in the VS environment and not have a problem with the post-build step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases the simulator still works (just the cross-compile for HW may fail).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To correct the problem and build also for the HW target you probably need to edit the file &lt;STRONG&gt;GNU_kinetis/Build_Kinetis.bat&lt;/STRONG&gt; to put in your path to your GCC compiler installation. If using KDS or MCUXpresso you can set the path to its directory (eg. SET PATH=%PATH%;C:\Freescale\KDS_v3\Toolchain\bin or wherever yours is) so that it can build with its compiler.&lt;/P&gt;&lt;P&gt;Note the following too since the make file in these tool chains may not operate: &lt;BR /&gt;&lt;SPAN&gt;"GNU Make Issue when using Post-build GCC step" &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fforum%2Findex.php%3Ftopic%3D1988.0" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/index.php?topic=1988.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)&lt;BR /&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 16:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compiling-error-of-uTasker-with-Visual-Studio/m-p/747217#M45503</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-05-14T16:51:30Z</dc:date>
    </item>
  </channel>
</rss>

