Welcome! Log In Create A New Profile

Advanced

compile error with all Bugfix2.x

Posted by sthgardner120 
compile error with all Bugfix2.x
December 03, 2019 11:50AM
I am trying to upgrade to the SKR 1.3 but any version or preconfig 2.0 fails.
This is a preconfig I just tried. Same errors with the latest download version 2.xbugfix or any other. Alsoon 2 different laptops.


> Executing task in folder Marlin2-SKR13-Ender3-E3Dv6-BLTouch-master: C:\Users\sthga\.platformio\penv\Scripts\platformio.exe run <

Warning! `env_default` configuration option in section [platformio] is deprecated and will be removed in the next release! Please use `default_envs` instead
Can not remove temporary directory `c:\Users\sthga\Downloads\Marlin2-SKR13-Ender3-E3Dv6-BLTouch-master\Marlin2-SKR13-Ender3-E3Dv6-BLTouch-master\.pioenvs`. Please remove it manually to avoid build issues
Processing LPC1768 (platform: [github.com]; framework: arduino; board: nxp_lpc1768)
--------------------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: [docs.platformio.org]
PLATFORM: NXP Arduino LPC176x 0.1.0 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES: toolchain-gccarmnoneeabi 1.80201.190214 (8.2.1), framework-arduino-lpc176x 0.2.2
Converting Marlin.ino
LDF: Library Dependency Finder -> [bit.ly]
LDF Modes: Finder ~ off, Compatibility ~ strict
Found 5 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.0.0
|-- 1.0.0
|-- 0.4
|-- 0.6.1
|-- 1.2.4
Building in release mode
File "C:\Users\sthga\Downloads\Marlin2-SKR13-Ender3-E3Dv6-BLTouch-master\Marlin2-SKR13-Ender3-E3Dv6-BLTouch-master\Marlin\src\HAL\HAL_LPC1768\upload_extra_script.py", line 16

print '\nUnable to find destination disk (' + e + ')\n' \

^

SyntaxError: invalid syntax

=========================================================== [FAILED] Took 7.58 seconds ===========================================================

Environment Status Duration
-------------------- -------- ------------
megaatmega2560 IGNORED
megaatmega1280 IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 FAILED 00:00:07.584
LPC1769 IGNORED
melzi IGNORED
melzi_optiboot IGNORED
rambo IGNORED
sanguino_atmega644p IGNORED
sanguino_atmega1284p IGNORED
STM32F1 IGNORED
STM32F4 IGNORED
ARMED IGNORED
mks_robin IGNORED
black_stm32f407ve IGNORED
teensy35 IGNORED
malyanm200 IGNORED
esp32 IGNORED
fysetc_f6_13 IGNORED
linux_native IGNORED
Re: compile error with all Bugfix2.x
December 03, 2019 05:25PM
Not surprising... you shouldn't use 3rd party Marlin's as marlin has been rapidly changing on the LPC1768 and anyone who hasn't updated their code in the last few days will fail.

The version your trying to compile hasn't been updated in 7 months!

Grab the official current marlin [github.com] and edit the Configuration.h

Edited 1 time(s). Last edit at 12/03/2019 05:30PM by Dust.
Re: compile error with all Bugfix2.x
December 05, 2019 10:44PM
Everything a fresh install. Downloaded Marlin just now after deleting all others. Still the same error. Also got it when changing nothing. Same error but at megaatmega2560. Really getting annoying. Fresh Git and LLVM also. Any help would be appreciated. Almost ready to try Klipper or any other firmware.

> Executing task: C:\Users\sthga\.platformio\penv\Scripts\platformio.exe run <

Processing LPC1768 (platform: [github.com]; board: nxp_lpc1768; framework: arduino)
--------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: [docs.platformio.org]
PLATFORM: NXP Arduino LPC176x 0.1.1 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES: toolchain-gccarmnoneeabi 1.80201.190214 (8.2.1), framework-arduino-lpc176x 0.2.2
Converting Marlin.ino
LDF: Library Dependency Finder -> [bit.ly]
LDF Modes: Finder ~ off, Compatibility ~ strict
Found 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.0.0
|-- 1.0.0
|-- 0.4.1
|-- 0.6.1
|-- 1.3.0
|--
Building in release mode

Unable to find destination disk (Autodetect Error)
Please select it in platformio.ini using the upload_port keyword (https://docs.platformio.org/en/latest/projectconf/section_env_upload.html) or copy the firmware (.pio/build/LPC1768/firmware.bin) manually to the appropriate disk

Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\DebugMonitor.cpp.o
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL.cpp.o
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\DebugMonitor.cpp: Permission denied
compilation terminated.
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\HAL.cpp: Permission denied
compilation terminated.
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL_SPI.cpp.o
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\MarlinSerial.cpp.o
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\fast_pwm.cpp.o
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\HAL_SPI.cpp: Permission denied
compilation terminated.
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\MarlinSerial.cpp: Permission denied
compilation terminated.
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\fast_pwm.cpp: Permission denied
compilation terminated.
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\main.cpp.o
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_flash.cpp.o
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\main.cpp: Permission denied
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp.o
compilation terminated.
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\DebugMonitor.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL_SPI.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\MarlinSerial.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\fast_pwm.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\main.cpp.o] Error 1
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\persistent_store_flash.cpp: Permission denied
compilation terminated.
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_flash.cpp.o] Error 1
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp: Permission denied
compilation terminated.
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp.o] Error 1
============================================ [FAILED] Took 6.76 seconds ============================================

Environment Status Duration
---------------------------- -------- ------------
megaatmega2560 IGNORED
megaatmega1280 IGNORED
rambo IGNORED
FYSETC_F6_13 IGNORED
sanguino_atmega644p IGNORED
sanguino_atmega1284p IGNORED
melzi IGNORED
melzi_optiboot IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 FAILED 00:00:06.755
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_bigtree IGNORED
STM32F103RC_bigtree_USB IGNORED
STM32F103RC_bigtree_512K IGNORED
STM32F103RC_bigtree_512K_USB IGNORED
STM32F103RE IGNORED
STM32F103RE_bigtree IGNORED
STM32F103RE_bigtree_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_longer IGNORED
mks_robin IGNORED
mks_robin_lite IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
chitu_f103 IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
esp32 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
include_tree IGNORED
====================================== 1 failed, 0 succeeded in 00:00:06.755 ======================================
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.
Re: compile error with all Bugfix2.x
December 06, 2019 02:35AM
Permission denied is your Operating system doing something weird

Do you have an overly aggressive virus checker perhaps?
Sorry, only registered users may post in this forum.

Click here to login