<?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>MCUXpresso IDEのトピックRe: Linker Error: No linker script</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265360#M6898</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is written in powershell:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$WorkspaceDir = "$PSScriptRoot\..\..\Workspaces\BuildScriptWS"
$ProjectsDir = "$PSScriptRoot\..\..\Projects"
$MCUInstallBaseDir = "C:\nxp\MCUXpressoIDE_11.3.1_5262"

echo "Creating workspace at $WorkspaceDir"
cmd /c "$MCUInstallBaseDir\ide\mcuxpressoidec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data ""$WorkspaceDir"" -import ""$ProjectsDir\MyProj"" -import ""$ProjectsDir\MyProj_Library"" -import ""$ProjectsDir\MyProj_Bootloader"" -import ""$ProjectsDir\MyProj_bsp"" 2&amp;gt;&amp;amp;1"
if ($LASTEXITCODE -ne 0) { $(throw "Failed to create workspace" ) }

echo "Building $BuildConfiguration Application"
cmd /c "$MCUInstallBaseDir\ide\mcuxpressoidec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data ""$WorkspaceDir"" -build MyProj/$BuildConfiguration 2&amp;gt;&amp;amp;1"
if ($LASTEXITCODE -ne 0) { $(throw "Failed to build Application" ) }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 19:46:34 GMT</pubDate>
    <dc:creator>cjwood</dc:creator>
    <dc:date>2021-04-20T19:46:34Z</dc:date>
    <item>
      <title>Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/925927#M4189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project that I've imported, and I can build from the command line using our own build script (posted below), but I cannot build from within MCUXpresso.&amp;nbsp; The error I get is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal: No linker script for vendor=NXP proc=cortex-m0plus nature=0, project=&amp;lt;project name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The build script is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_10.3.1_2233\ide\tools\bin&lt;BR /&gt;SET IDE=C:\nxp\MCUXpressoIDE_10.3.1_2233\ide\mcuxpressoidec.exe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\workspace" -import %~dp0Working\&amp;lt;project folder&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\workspace" -cleanBuild &amp;lt;project folder&amp;gt;/Debug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 14:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/925927#M4189</guid>
      <dc:creator>curtis_hendrix</dc:creator>
      <dc:date>2019-08-14T14:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/925928#M4190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help on this would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2019 19:02:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/925928#M4190</guid>
      <dc:creator>curtis_hendrix</dc:creator>
      <dc:date>2019-08-15T19:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/925929#M4191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it work if you do it in 'interactive' mode (with the IDE GUI)?&lt;/P&gt;&lt;P&gt;And it would be helpful if you could share the files to reproduce this.&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 Aug 2019 03:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/925929#M4191</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2019-08-16T03:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/925930#M4192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you still need help? Is it possible to share the files to reproduce the issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Soledad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 20:50:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/925930#M4192</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-09-03T20:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265328#M6896</link>
      <description>&lt;P&gt;I see a similar problem, and the problem doesn't exist when doing it from an interactive account.&lt;/P&gt;&lt;P&gt;I see that when triggered from the command line, by our build system, under a non-interactive account, the workspace is created and projects are imported, the build is kicked off and makefiles are auto-generated, and at the end the build fails during linker stage with:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;../arm-none-eabi/bin/ld.exe: cannot open linker script file *projectname*_Debug.ld: No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another observation: The project references are also ignored - only the named project is built. This also works when run from an interactive account.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 18:18:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265328#M6896</guid>
      <dc:creator>cjwood</dc:creator>
      <dc:date>2021-04-20T18:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265344#M6897</link>
      <description>&lt;P&gt;What is your command line?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 19:03:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265344#M6897</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-04-20T19:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265360#M6898</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is written in powershell:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$WorkspaceDir = "$PSScriptRoot\..\..\Workspaces\BuildScriptWS"
$ProjectsDir = "$PSScriptRoot\..\..\Projects"
$MCUInstallBaseDir = "C:\nxp\MCUXpressoIDE_11.3.1_5262"

echo "Creating workspace at $WorkspaceDir"
cmd /c "$MCUInstallBaseDir\ide\mcuxpressoidec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data ""$WorkspaceDir"" -import ""$ProjectsDir\MyProj"" -import ""$ProjectsDir\MyProj_Library"" -import ""$ProjectsDir\MyProj_Bootloader"" -import ""$ProjectsDir\MyProj_bsp"" 2&amp;gt;&amp;amp;1"
if ($LASTEXITCODE -ne 0) { $(throw "Failed to create workspace" ) }

echo "Building $BuildConfiguration Application"
cmd /c "$MCUInstallBaseDir\ide\mcuxpressoidec.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data ""$WorkspaceDir"" -build MyProj/$BuildConfiguration 2&amp;gt;&amp;amp;1"
if ($LASTEXITCODE -ne 0) { $(throw "Failed to build Application" ) }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 19:46:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265360#M6898</guid>
      <dc:creator>cjwood</dc:creator>
      <dc:date>2021-04-20T19:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265406#M6899</link>
      <description>&lt;P&gt;What is BuildConfiguration?&lt;/P&gt;&lt;P&gt;have you tries -cleanBuild (instead of -build)?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 21:13:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265406#M6899</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-04-20T21:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265682#M6900</link>
      <description>&lt;P&gt;My Apologies,&amp;nbsp;$BuildConfiguration = "Debug"&lt;/P&gt;&lt;P&gt;I have now also tried with -cleanBuild. I have also written the equivalent in a batch script and I see the same result.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 07:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265682#M6900</guid>
      <dc:creator>cjwood</dc:creator>
      <dc:date>2021-04-21T07:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265694#M6902</link>
      <description>&lt;P&gt;Can you share the output from the command? At least the linker command and the error messages. Also look to see if a linker script has been generated (anywhere?). I know this works for me, but I am not on the latest and greatest version of MCUXpresso.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 08:14:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265694#M6902</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-04-21T08:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265844#M6905</link>
      <description>&lt;P&gt;The command and output are shown here. When run off the back of a TFS build agent I can see that the makefiles are generated but the linker script is not. When I run the same script locally I see the makefiles and linker scripts are generated as expected.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;arm-none-eabi-c++ -nostdlib -Xlinker -Map="MyProj.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -Xlinker --sort-section=alignment -Xlinker --cref -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -T MyProj_Debug.ld -o "MyProj.axf" ./xip/evkmimxrt1170_flexspi_nor_config.o ./xip/fsl_flexspi_nor_boot.o ./source/fpga.o ./source/main.o ./source/semihost_hardfault.o ./flexspi/flexspi_hyperbus_ops.o ./flexspi/flexspi_nor_flash_ops.o ./OpenRTOS/kernel_source/portable/MemMang/heap_2.o ./OpenRTOS/kernel_source/portable/GCC/ARM_CM4F/port.o ./OpenRTOS/kernel_source/croutine.o ./OpenRTOS/kernel_source/event_groups.o ./OpenRTOS/kernel_source/list.o ./OpenRTOS/kernel_source/queue.o ./OpenRTOS/kernel_source/stream_buffer.o ./OpenRTOS/kernel_source/tasks.o ./OpenRTOS/kernel_source/timers.o ./OpenRTOS/OpenRTOS_Trace/trcBase.o ./OpenRTOS/OpenRTOS_Trace/trcHardwarePort.o ./OpenRTOS/OpenRTOS_Trace/trcKernel.o ./OpenRTOS/OpenRTOS_Trace/trcKernelPort.o ./OpenRTOS/OpenRTOS_Trace/trcUser.o ./OpenRTOS/OpenRTOSAbstraction/CHookFunctions.o ./OpenRTOS/OpenRTOSAbstraction/CPPHookFunctions.o ./OpenRTOS/OpenRTOSAbstraction/VMutex.o ./OpenRTOS/OpenRTOSAbstraction/VRTOS.o ./OpenRTOS/OpenRTOSAbstraction/VSemaphore.o ./OpenRTOS/OpenRTOSAbstraction/VTask.o ./OpenRTOS/OpenRTOSAbstraction/VTick.o ./OpenRTOS/OpenRTOSAbstraction/vqueue.o ./HAL/FlashInterface.o ./HAL/HDLCHardware.o ./HAL/PowerSourceInterface.o ./HAL/Wdog.o ./HAL/WdogInterface.o ./HAL/codrv_can_flexcan.o ./HAL/codrv_canbittiming.o ./HAL/codrv_cpu.o ./HAL/codrv_error.o ./HAL/hal_exceptions.o ./HAL/hal_id.o ./HAL/hal_interrupts.o ./HAL/hal_led.o ./HAL/hal_timer.o ./HAL/hyperbus.o ./Builder/Coordinator.o ./Builder/ProdData.o -lMyProj_CANopen -lMyProj_bsp -lMyProj_Library
c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file MyProj_Debug.ld: No such file or directory&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 21 Apr 2021 12:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265844#M6905</guid>
      <dc:creator>cjwood</dc:creator>
      <dc:date>2021-04-21T12:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265891#M6906</link>
      <description>&lt;P&gt;If this problem only happens with TFS, then I suggest you look there for the problem. Maybe permissions? Maybe firewall? I don't know, just throwing out ideas.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 13:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265891#M6906</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-04-21T13:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265896#M6907</link>
      <description>&lt;P&gt;I appreciate the help so far. Another route I want to try is running the TFS build agent in interactive mode (an interactive Windows user account) rather than as a service. I suspect this issue is caused by running via a service. However, this is difficult to set up with our IT infrastructure so will take some time to achieve.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 14:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265896#M6907</guid>
      <dc:creator>cjwood</dc:creator>
      <dc:date>2021-04-21T14:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265949#M6908</link>
      <description>&lt;P&gt;If it helps, we use Jenkins (on Mac, Windows and Linux) and have no problems.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1265949#M6908</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-04-21T15:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Error: No linker script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1418558#M7852</link>
      <description>&lt;P&gt;Might this help? &lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/Trouble-with-headless-build-on-Jenkins-SDK-location-and-Linker/m-p/1021712/highlight/true#M5363" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/Trouble-with-headless-build-on-Jenkins-SDK-location-and-Linker/m-p/1021712/highlight/true#M5363&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 19:59:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linker-Error-No-linker-script/m-p/1418558#M7852</guid>
      <dc:creator>ileonov</dc:creator>
      <dc:date>2022-02-23T19:59:28Z</dc:date>
    </item>
  </channel>
</rss>

