PLC IDE can't find libraries imported by Arduino IDE? PLEASE HELP

TLDR: Can someone please post detailed, current instructions on getting the portenta_machinecontrol library to be recognized by/imported to the PLC IDE? I think the instructions online are not working, and it is not available to the PLC Library Manager tool for import as a zip, either.


I'm new to arduino but familiar to PLC's and I can't wait to get this working. However, no matter what I do I cannot get the <Arduino_PortentaMachineControl.h> library to show up in my project libraries and compile fails every time.
Again, simple sketch with the "#include <Arduino_PortentaMachineControl.h>" command DO work on the arudino IDE, but they fail to compile on PLC IDE with an error that the library is missing.

I have moved folders all over the place, followed every tutorial I can find, and even rebuilt windows twice to get this clean. I am really missing something and have wasted a week. Please help! thanks!

There must be a way and I am sure it's simple, so TIA!

I am still working on this. Here is the console output of the most basic 'bink' sketch succeeding in the arduino IDE and failing in the PLC IDE. It's clear the libraries are broken. I have tried all the moving and importing tricks I can find on here, and just end up borking windows and wasting more hours. Can someone at least just screenshot their library manager on PLC IDE and show me how to put this in here? Also the PLC IDE keeps calling for 'machine control' library, which is deprecated and I didn't install it so I don't get that either.

Anyone who helps me with this will have my eternal gratitude. I have wasted so. Much. Time. I just want to get the front door open.

Here is the success


FQBN: arduino:mbed_portenta:envie_m7
Using board 'envie_m7' from platform in folder: C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5
Using core 'arduino' from platform in folder: C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5

Detecting libraries used...
C:\Users\anders\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/defines.txt @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7 -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/../PORTENTA_H7_M7/includes.txt C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\sketch\Digital_output.ino.cpp -o nul
Alternatives for Arduino_PortentaMachineControl.h: [Arduino_PortentaMachineControl@1.0.1]
ResolveLibrary(Arduino_PortentaMachineControl.h)
  -> candidates: [Arduino_PortentaMachineControl@1.0.1]
C:\Users\anders\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/defines.txt @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7 -IC:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/../PORTENTA_H7_M7/includes.txt C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\sketch\Digital_output.ino.cpp -o nul
Alternatives for Wire.h: [Wire]
ResolveLibrary(Wire.h)
  -> candidates: [Wire]
C:\Users\anders\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/defines.txt @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7 -IC:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Wire -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/../PORTENTA_H7_M7/includes.txt C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\sketch\Digital_output.ino.cpp -o nul
Alternatives for SPI.h: [SPI]
ResolveLibrary(SPI.h)
  -> candidates: [SPI]
C:\Users\anders\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/defines.txt @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7 -IC:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Wire -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\SPI -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/../PORTENTA_H7_M7/includes.txt C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\sketch\Digital_output.ino.cpp -o nul
Alternatives for Arduino_CAN.h: [Arduino_CAN@1.0.0]
ResolveLibrary(Arduino_CAN.h)
  -> candidates: [Arduino_CAN@1.0.0]
C:\Users\anders\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/defines.txt @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7 -IC:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Wire -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\SPI -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Arduino_CAN\src -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/../PORTENTA_H7_M7/includes.txt C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\sketch\Digital_output.ino.cpp -o nul
Alternatives for ArduinoRS485.h: [ArduinoRS485@1.1.0]
ResolveLibrary(ArduinoRS485.h)
  -> candidates: [ArduinoRS485@1.1.0]
C:\Users\anders\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/defines.txt @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7 -IC:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Wire -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\SPI -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Arduino_CAN\src -IC:\Users\anders\Documents\Arduino\libraries\ArduinoRS485\src -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/../PORTENTA_H7_M7/includes.txt C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\sketch\Digital_output.ino.cpp -o nul
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\AnalogInClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\AnalogOutClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\CANCommClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\DigitalOutputsClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\EncoderClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\ProgrammableDINClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\ProgrammableDIOClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\RS485CommClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\RTDTempProbeClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\RtcControllerClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\TCTempProbeClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\USBClass.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\utility\MAX31865\MAX31865.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\utility\QEI\QEI.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\utility\RTC\PCF8563T.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\utility\THERMOCOUPLE\MAX31855.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\utility\ioexpander\ArduinoIOExpander.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\utility\ioexpander\I2Cdev.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src\utility\ioexpander\TCA6424A.cpp
Using cached library dependencies for file: C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Wire\Wire.cpp
Using cached library dependencies for file: C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\SPI\SPI.cpp
Using cached library dependencies for file: C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Arduino_CAN\src\Arduino_CAN.cpp
Using cached library dependencies for file: C:\Users\anders\Documents\Arduino\libraries\ArduinoRS485\src\RS485.cpp
Generating function prototypes...
C:\Users\anders\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/defines.txt @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7 -IC:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl\src -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Wire -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\SPI -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Arduino_CAN\src -IC:\Users\anders\Documents\Arduino\libraries\ArduinoRS485\src -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated -IC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\cores\arduino @C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\variants\PORTENTA_H7_M7/../PORTENTA_H7_M7/includes.txt C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\sketch\Digital_output.ino.cpp -o C:\Users\anders\AppData\Local\Temp\3973816531\sketch_merged.cpp
C:\Users\anders\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\anders\AppData\Local\Temp\3973816531\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\variants\\PORTENTA_H7_M7/cxxflags.txt" -MMD -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 "-IC:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\variants\\PORTENTA_H7_M7" "-IC:\\Users\\anders\\Documents\\Arduino\\libraries\\Arduino_PortentaMachineControl\\src" "-IC:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\libraries\\Wire" "-IC:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\libraries\\SPI" "-IC:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\libraries\\Arduino_CAN\\src" "-IC:\\Users\\anders\\Documents\\Arduino\\libraries\\ArduinoRS485\\src" -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 "-IC:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\variants\\PORTENTA_H7_M7/../PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\sketch\\Digital_output.ino.cpp" -o "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\sketch\\Digital_output.ino.cpp.o"
Compiling libraries...
Compiling library "Arduino_PortentaMachineControl"
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\utility\QEI\QEI.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\AnalogInClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\utility\RTC\PCF8563T.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\utility\THERMOCOUPLE\MAX31855.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\utility\MAX31865\MAX31865.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\AnalogOutClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\RTDTempProbeClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\EncoderClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\USBClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\ProgrammableDIOClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\RtcControllerClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\utility\ioexpander\ArduinoIOExpander.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\CANCommClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\TCTempProbeClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\utility\ioexpander\I2Cdev.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\utility\ioexpander\TCA6424A.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\ProgrammableDINClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\RS485CommClass.cpp.o
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_PortentaMachineControl\DigitalOutputsClass.cpp.o
Compiling library "Wire"
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Wire\Wire.cpp.o
Compiling library "SPI"
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\SPI\SPI.cpp.o
Compiling library "Arduino_CAN"
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\Arduino_CAN\Arduino_CAN.cpp.o
Compiling library "ArduinoRS485"
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\libraries\ArduinoRS485\RS485.cpp.o
Compiling core...
Using previously compiled file: C:\Users\anders\AppData\Local\Temp\arduino\sketches\8AFE05B6ABEB83396E194DF03D9C68D1\core\variant.cpp.o
Using precompiled core: C:\Users\anders\AppData\Local\Temp\arduino\cores\32b7f8e25d372aa5793d750fc02417a5\core.a
Linking everything together...
"C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -E -P -x c -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 "C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\variants\\PORTENTA_H7_M7/linker_script.ld" -o "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/linker_script.ld"
"C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" "-LC:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1" -Wl,--gc-sections -w -Wl,--as-needed -DCM4_BINARY_START=0x08100000 -DCM4_BINARY_END=0x08200000 "@C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\variants\\PORTENTA_H7_M7/ldflags.txt" "-TC:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/linker_script.ld" "-Wl,-Map,C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/Digital_output.ino.map" --specs=nosys.specs -o "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/Digital_output.ino.elf" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\sketch\\Digital_output.ino.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\AnalogInClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\AnalogOutClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\CANCommClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\DigitalOutputsClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\EncoderClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\ProgrammableDINClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\ProgrammableDIOClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\RS485CommClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\RTDTempProbeClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\RtcControllerClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\TCTempProbeClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\USBClass.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\utility\\MAX31865\\MAX31865.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\utility\\QEI\\QEI.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\utility\\RTC\\PCF8563T.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\utility\\THERMOCOUPLE\\MAX31855.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\utility\\ioexpander\\ArduinoIOExpander.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\utility\\ioexpander\\I2Cdev.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_PortentaMachineControl\\utility\\ioexpander\\TCA6424A.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\Arduino_CAN\\Arduino_CAN.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\libraries\\ArduinoRS485\\RS485.cpp.o" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1\\core\\variant.cpp.o" -Wl,--whole-archive "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/..\\..\\cores\\32b7f8e25d372aa5793d750fc02417a5\\core.a" "C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_portenta\\4.1.5\\variants\\PORTENTA_H7_M7/libs/libmbed.a" -Wl,--no-whole-archive -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group
"C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O binary "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/Digital_output.ino.elf" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/Digital_output.ino.bin"
"C:\\Users\\anders\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/Digital_output.ino.elf" "C:\\Users\\anders\\AppData\\Local\\Temp\\arduino\\sketches\\8AFE05B6ABEB83396E194DF03D9C68D1/Digital_output.ino.hex"

Using library Arduino_PortentaMachineControl at version 1.0.1 in folder: C:\Users\anders\Documents\Arduino\libraries\Arduino_PortentaMachineControl 
Using library Wire in folder: C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Wire (legacy)
Using library SPI in folder: C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\SPI (legacy)
Using library Arduino_CAN at version 1.0.0 in folder: C:\Users\anders\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\4.1.5\libraries\Arduino_CAN 
Using library ArduinoRS485 at version 1.1.0 in folder: C:\Users\anders\Documents\Arduino\libraries\ArduinoRS485 

and here is the failure


FQBN: arduino:mbed_portenta:envie_m7:split=100_0
Using board 'envie_m7' from platform in folder: C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f
Using core 'arduino' from platform in folder: C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f

Detecting libraries used...
"C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/cxxflags.txt" -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7" -DCM4_BINARY_START=0x60000000 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\Documents\\genesis_Terra\\LLSketch_build\\sketch\\LLSketch.ino.cpp" -o nul
Alternatives for AlPlc_PMC.h: [AlPlc_PMC@1.0.6]
ResolveLibrary(AlPlc_PMC.h)
  -> candidates: [AlPlc_PMC@1.0.6]
"C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/cxxflags.txt" -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\AlPlc_PMC_1.0.6_762ba494a9a1f033\\AlPlc_PMC\\src" -DCM4_BINARY_START=0x60000000 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\Documents\\genesis_Terra\\LLSketch_build\\sketch\\LLSketch.ino.cpp" -o nul
Alternatives for Arduino_MachineControl.h: [Arduino_MachineControl@1.1.1]
ResolveLibrary(Arduino_MachineControl.h)
  -> candidates: [Arduino_MachineControl@1.1.1]
"C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/cxxflags.txt" -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\AlPlc_PMC_1.0.6_762ba494a9a1f033\\AlPlc_PMC\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\Arduino_MachineControl_1.1.1_0b68abd64cd04e7b\\Arduino_MachineControl\\src" -DCM4_BINARY_START=0x60000000 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\Documents\\genesis_Terra\\LLSketch_build\\sketch\\LLSketch.ino.cpp" -o nul
Alternatives for SPI.h: [SPI]
ResolveLibrary(SPI.h)
  -> candidates: [SPI]
"C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/cxxflags.txt" -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\AlPlc_PMC_1.0.6_762ba494a9a1f033\\AlPlc_PMC\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\Arduino_MachineControl_1.1.1_0b68abd64cd04e7b\\Arduino_MachineControl\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\SPI" -DCM4_BINARY_START=0x60000000 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\Documents\\genesis_Terra\\LLSketch_build\\sketch\\LLSketch.ino.cpp" -o nul
Alternatives for ArduinoRS485.h: [ArduinoRS485@1.0.5]
ResolveLibrary(ArduinoRS485.h)
  -> candidates: [ArduinoRS485@1.0.5]
"C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/cxxflags.txt" -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\AlPlc_PMC_1.0.6_762ba494a9a1f033\\AlPlc_PMC\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\Arduino_MachineControl_1.1.1_0b68abd64cd04e7b\\Arduino_MachineControl\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\SPI" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\ArduinoRS485_1.0.5_a61cd3c6d72c41a3\\ArduinoRS485\\src" -DCM4_BINARY_START=0x60000000 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\Documents\\genesis_Terra\\LLSketch_build\\sketch\\LLSketch.ino.cpp" -o nul
Alternatives for Wire.h: [Wire]
ResolveLibrary(Wire.h)
  -> candidates: [Wire]
"C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/cxxflags.txt" -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\AlPlc_PMC_1.0.6_762ba494a9a1f033\\AlPlc_PMC\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\Arduino_MachineControl_1.1.1_0b68abd64cd04e7b\\Arduino_MachineControl\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\SPI" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\ArduinoRS485_1.0.5_a61cd3c6d72c41a3\\ArduinoRS485\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\Wire" -DCM4_BINARY_START=0x60000000 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\Documents\\genesis_Terra\\LLSketch_build\\sketch\\LLSketch.ino.cpp" -o nul
Alternatives for PortentaEthernet.h: [Ethernet@1.0.0]
ResolveLibrary(PortentaEthernet.h)
  -> candidates: [Ethernet@1.0.0]
"C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/cxxflags.txt" -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\AlPlc_PMC_1.0.6_762ba494a9a1f033\\AlPlc_PMC\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\Arduino_MachineControl_1.1.1_0b68abd64cd04e7b\\Arduino_MachineControl\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\SPI" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\ArduinoRS485_1.0.5_a61cd3c6d72c41a3\\ArduinoRS485\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\Wire" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\Ethernet\\src" -DCM4_BINARY_START=0x60000000 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\Documents\\genesis_Terra\\LLSketch_build\\sketch\\LLSketch.ino.cpp" -o nul
Alternatives for SocketHelpers.h: [SocketWrapper@1.0]
ResolveLibrary(SocketHelpers.h)
  -> candidates: [SocketWrapper@1.0]
"C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -c -w -g3 -nostdlib "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/defines.txt" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/cxxflags.txt" -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_PORTENTA_H7_M7 -DARDUINO_ARCH_MBED_PORTENTA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\AlPlc_PMC_1.0.6_762ba494a9a1f033\\AlPlc_PMC\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\Arduino_MachineControl_1.1.1_0b68abd64cd04e7b\\Arduino_MachineControl\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\SPI" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\ArduinoRS485_1.0.5_a61cd3c6d72c41a3\\ArduinoRS485\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\Wire" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\Ethernet\\src" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\libraries\\SocketWrapper\\src" -DCM4_BINARY_START=0x60000000 "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated" "-IC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\cores\\arduino" "@C:\\Users\\anders\\AppData\\Local\\T\\A\\internal\\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\\variants\\PORTENTA_H7_M7/includes.txt" "C:\\Users\\anders\\Documents\\genesis_Terra\\LLSketch_build\\sketch\\LLSketch.ino.cpp" -o nul
Alternatives for Arduino_PortentaMachineControl.h: []
ResolveLibrary(Arduino_PortentaMachineControl.h)
  -> candidates: []
C:\Users\anders\Documents\genesis_Terra\LLSketch\LLSketch.ino:20:10: fatal error: Arduino_PortentaMachineControl.h: No such file or directory
 #include <Arduino_PortentaMachineControl.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Using library AlPlc_PMC at version 1.0.6 in folder: C:\Users\anders\AppData\Local\T\A\internal\AlPlc_PMC_1.0.6_762ba494a9a1f033\AlPlc_PMC 
Using library Arduino_MachineControl at version 1.1.1 in folder: C:\Users\anders\AppData\Local\T\A\internal\Arduino_MachineControl_1.1.1_0b68abd64cd04e7b\Arduino_MachineControl 
Using library SPI in folder: C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\libraries\SPI (legacy)
Using library ArduinoRS485 at version 1.0.5 in folder: C:\Users\anders\AppData\Local\T\A\internal\ArduinoRS485_1.0.5_a61cd3c6d72c41a3\ArduinoRS485 
Using library Wire in folder: C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\libraries\Wire (legacy)
Using library Ethernet at version 1.0.0 in folder: C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\libraries\Ethernet 
Using library SocketWrapper at version 1.0 in folder: C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\libraries\SocketWrapper 

Used library           Version Path                                                                                                           
AlPlc_PMC              1.0.6   C:\Users\anders\AppData\Local\T\A\internal\AlPlc_PMC_1.0.6_762ba494a9a1f033\AlPlc_PMC                          
Arduino_MachineControl 1.1.1   C:\Users\anders\AppData\Local\T\A\internal\Arduino_MachineControl_1.1.1_0b68abd64cd04e7b\Arduino_MachineControl
SPI                            C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\libraries\SPI          
ArduinoRS485           1.0.5   C:\Users\anders\AppData\Local\T\A\internal\ArduinoRS485_1.0.5_a61cd3c6d72c41a3\ArduinoRS485                    
Wire                           C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\libraries\Wire         
Ethernet               1.0.0   C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\libraries\Ethernet     
SocketWrapper          1.0     C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f\libraries\SocketWrapper

Used platform         Version Path                                                                                   
arduino:mbed_portenta 3.5.4   C:\Users\anders\AppData\Local\T\A\internal\arduino_mbed_portenta_3.5.4_6b52e2f35dd4808f
Error during build: exit status 1

So, I just encountered and resolved a similar issue using the Opta. The Arduino PLC IDE I am using is 1.0.7.0 on Windows 11, and this specific issue caused any project, even a new project file without any modifications to fail during compilation. The error, as you will see below is:

"cannot find Inc\Desktop________\Demo\LLSketch_build/LLSketch.ino.map: No such file or directory"

I have censored a few items below for my privacy using _____, so please ignore that as it is not the actual file path.

"C:\\Users\\________\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" -E -P -x c -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 "C:\\Users\\________\\AppData\\Local\\T\\A\\internal\\arduino_mbed_opta_4.1.6_6bd5cf0253f43b1d\\variants\\OPTA/linker_script.ld" -o "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build/linker_script.ld"
"C:\\Users\\________\\AppData\\Local\\T\\A\\internal\\arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/arm-none-eabi-g++" "-LC:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build" -Wl,--gc-sections -w -Wl,--as-needed -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 "@C:\\Users\\________\\AppData\\Local\\T\\A\\internal\\arduino_mbed_opta_4.1.6_6bd5cf0253f43b1d\\variants\\OPTA/ldflags.txt" "-TC:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build/linker_script.ld" "-Wl,-Map,C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build/LLSketch.ino.map" --specs=nosys.specs -o "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build/LLSketch.ino.elf" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\sketch\\LLSketch.ino.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\ArduinoRS485\\RS485.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Ethernet\\Ethernet.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Ethernet\\EthernetServer.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\SocketWrapper\\AClient.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\SocketWrapper\\MbedClient.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\SocketWrapper\\MbedSSLClient.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\SocketWrapper\\MbedServer.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\SocketWrapper\\MbedUdp.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\SocketWrapper\\SocketHelpers.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\SocketWrapper\\utility\\http_parser\\http_parser.c.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\AnalogExpansion.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\DigitalExpansion.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\DigitalMechExpansion.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\DigitalStSolidExpansion.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\OptaAnalog.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\OptaBlueModule.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\OptaController.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\OptaCrc.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\OptaDigital.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\OptaExpansion.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\OptaMsgCommon.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_Opta_Blueprint\\utility\\BossaOpta.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\Applet.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\BossaArduino.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\BossaDevice.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\D2xNvmFlash.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\D5xNvmFlash.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\EefcFlash.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\EfcFlash.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\Flash.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\Flasher.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\NullFlash.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\Samba.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\WordCopyApplet.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_SerialUpdater\\WordCopyArm.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\libraries\\Arduino_DebugUtils\\Arduino_DebugUtils.cpp.o" "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build\\core\\variant.cpp.o" -Wl,--whole-archive "C:\\Users\\________\\OneDrive - ________\\Desktop\\________\\Demo\\LLSketch_build/core\\core.a" "C:\\Users\\________\\AppData\\Local\\T\\A\\internal\\arduino_mbed_opta_4.1.6_6bd5cf0253f43b1d\\variants\\OPTA/libs/libmbed.a" -Wl,--no-whole-archive -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys "-LC:\\Users\\________\\AppData\\Local\\T\\A\\internal\\AlPlc_Opta_1.2.0_6f942e4889808e7a\\AlPlc_Opta\\src\\cortex-m7" -lAlPlc -lAlPlcRuntimeCoreLib -lAlIOPlugin -lAlModbusRTUPlugin -lAlModbusTCPMasterPlugin -lAlSoftScopePlugin -lAlIOPlugin -lAlModbusRTUPlugin -lAlModbusTCPMasterPlugin -lAlPlc -lAlPlcRuntimeCoreLib -lAlSoftScopePlugin -Wl,--end-group
c:/users/________/appdata/local/t/a/internal/arduino_arm-none-eabi-gcc_7-2017q4_7b7be9f526b2cb64/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot find  Inc\Desktop\________\Demo\LLSketch_build/LLSketch.ino.map: No such file or directory
collect2.exe: error: ld returned 1 exit status

The issue in this case seemed to be that my PC was saving files placed on my local desktop to OneDrive directly as you'll see above. And, after re-saving this file locally the project would compile without error.

the problem, in my case was due to Windows 11 saving files within OneDrive automatically. After I used File > Save As to move this to a local directory the issue was resolved!

  • I hope this helps someone