Cannot compile any nrf52840 examples in vs2017 community with visualgdb

Sysprogs forums Forums VisualGDB Cannot compile any nrf52840 examples in vs2017 community with visualgdb

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23118
    jake.d
    Participant

    I don’t know a lot about makefiles and linkers here is the output from failed compile with all basic settings

     

    1>—— Build started: Project: EmbeddedProject4, Configuration: Debug Win32 ——

    1>VisualGDB: Run “C:\SysGCC\arm-eabi\bin\make.exe  CONFIG=Debug -j8” in directory “C:\Users\Jake\source\repos\EmbeddedProject4\EmbeddedProject4” on local computer

    1>make: *** No rule to make target C:\Users\Jacob\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF5x/modules/nrfx/mdk/gcc_startup_nrf52840.S’, needed by Debug/gcc_startup_nrf52840.o’.  Stop.

     

    1>————————————————————-

    1>Command exited with code 2

    1>Executable: C:\SysGCC\arm-eabi\bin\make.exe

    1>Arguments:  CONFIG=Debug -j8

    1>Directory: C:\Users\Jake\source\repos\EmbeddedProject4\EmbeddedProject4

    1>VisualGDB : error : Command-line action failed

    1>VisualGDB : error : Build has failed. See the Output window for more details.

    1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “”C:\Program Files (x86)\Sysprogs\VisualGDB\\VisualGDB.exe” /build “C:\Users\Jake\source\repos\EmbeddedProject4\EmbeddedProject4\EmbeddedProject4.vcxproj” “/solution:C:\Users\Jake\source\repos\EmbeddedProject4\EmbeddedProject4.sln”  “/config:Debug” “/platform:Win32″” exited with code 1.

    1>Done building project “EmbeddedProject4.vcxproj” — FAILED.

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    • This topic was modified 6 years, 6 months ago by jake.d.
    • This topic was modified 6 years, 6 months ago by jake.d.
    #23134
    support
    Keymaster

    Hi,

    It looks like your Nordic BSP (located in %LOCALAPPDATA%) got corrupt – the gcc_startup_nrf52840.S file should normally be present. Please try reinstalling it via Tools->Options->Manage VisualGDB Packages.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.