VS Arduino
Visual Micro >> Installation & Troubleshooting >> Re: New to VM. Deep Search fails to build
https://www.visualmicro.com/forums/YaBB.pl?num=1547152788

Message started by CliffA on Jan 10th, 2019 at 8:39pm

Title: Re: New to VM. Deep Search fails to build
Post by CliffA on Jan 10th, 2019 at 8:39pm
I'm getting something similar and a lot of missing file error messages like stdlib.h etc.

The board has been added using the board manager and is listed in the text as the Adafruit-Feather_M0 so I know the board and library are there.

The error I see is:

Deep search for libraries ...
"{runtime.tools.arm-none-eabi-gcc.path}\bin\arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC   -DF_CPU=48000000L -DARDUINO=10807 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_FEATHER_M0 -D__SAMD21G18A__ -DUSB_VID=0x239A -DUSB_PID=0x800B -DUSBCON -DUSB_MANUFACTURER="\"Adafruit\"" -DUSB_PRODUCT="\"Feather M0\"" "-I/CMSIS/Include/" "-I/CMSIS/Device/ATMEL/" -I"C:\Users\cliff\AppData\Local\arduino15\packages\adafruit\hardware\samd\1.2.8\cores\arduino" -I"C:\Users\cliff\AppData\Local\arduino15\packages\adafruit\hardware\samd\1.2.8\variants\feather_m0" "C:\Users\cliff\AppData\Local\Temp\VMBuilds\OpenBionics_Beetroot\adafruit_adafruit_feather_m0\Release\OpenBionics_Beetroot.cpp" -o "nul"
The system cannot find the file specified
     Preprocess: "{runtime.tools.arm-none-eabi-gcc.path}\bin\arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC   -DF_CPU=48000000L -DARDUINO=10807 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_FEATHER_M0 -D__SAMD21G18A__ -DUSB_VID=0x239A -DUSB_PID=0x800B -DUSBCON -DUSB_MANUFACTURER="\"Adafruit\"" -DUSB_PRODUCT="\"Feather M0\"" "-I/CMSIS/Include/" "-I/CMSIS/Device/ATMEL/" -I"C:\Users\cliff\AppData\Local\arduino15\packages\adafruit\hardware\samd\1.2.8\cores\arduino" -I"C:\Users\cliff\AppData\Local\arduino15\packages\adafruit\hardware\samd\1.2.8\variants\feather_m0" "C:\Users\cliff\AppData\Local\Temp\VMBuilds\OpenBionics_Beetroot\adafruit_adafruit_feather_m0\Release\OpenBionics_Beetroot.cpp" -o "nul"
   Object reference not set to an instance of an object



     An error was encountered during the 'Deep Search' library discovery process.


Thanks.


Title: Re: New to VM. Deep Search fails to build
Post by CliffA on Jan 10th, 2019 at 8:49pm
TO add to this the project builds in the Arduino IDE with no issue just won't build in VS17 with the vMicro build button.

Title: Re: New to VM. Deep Search fails to build
Post by Visual Micro on Jan 11th, 2019 at 5:33pm
Sorry for the delay, the M0 package will be retested during the next week.


Title: Re: New to VM. Deep Search fails to build
Post by CliffA on Jan 13th, 2019 at 1:04pm
Hi.

Just to further add in case it helps but I have added the Arduino Extension to VSCode and it builds fine in VSCode as well.

Thanks for looking into this though.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.