Good morning, I can't compile the code and I don't have the slightest idea how to solve it.
Hello, I can't see any code in the link. Only the error mesages.
Please post your errors here using code tags. If it's too big, attach it here. People are, in general, reluctant to go away from the forum.
@liaifat85 , I doubt that the code is relevant as OP's problem is that the compiler is not accessible.
FQBN: arduino:samd:mkrwifi1010
Utilizzo della scheda 'mkrwifi1010' dalla piattaforma nella cartella: C:\Users\nicola\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.14
Utilizzo del core 'arduino' dalla piattaforma nella cartella: C:\Users\nicola\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.14
Rilevamento delle librerie utilizzate in corso...
C:\Users\nicola\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/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=10607 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON -DUSB_MANUFACTURER="Arduino LLC" -DUSB_PRODUCT="Arduino MKR WiFi 1010" -DUSE_BQ24195L_PMIC -IC:\Users\nicola\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/ -IC:\Users\nicola\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/ -IC:\Users\nicola\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.14\cores\arduino/api/deprecated -IC:\Users\nicola\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.14\cores\arduino/api/deprecated-avr-comp -IC:\Users\nicola\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.14\cores\arduino -IC:\Users\nicola\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.14\variants\mkrwifi1010 C:\Users\nicola\AppData\Local\Temp\arduino\sketches\D2A95D25F4E281F81031AB2A18A98406\sketch\ReadSensors.ino.cpp -o nul
fork/exec C:\Users\nicola\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++.exe: Access is denied.
Compilation error: fork/exec C:\Users\nicola\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++.exe: Access is denied.
Could you compile for that board in the past? If yes, what changed?
Does the file arm-none-eabi-g++.exe exist? Note that the directory might be hidden and you will have to enable the functionality to view hidden/system files in Windows Explorer.
You will have to find out why the access is denied. One thing can be due to a virus scanner blocking access. If you have an AV installed, check the logs and if needed add an exception for the Arduino15 directory.
Can you compile for other boards like an Uno? You don't need to have the board or have it connected; just don't test with something that uses the same toolchain.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.