You’ll want to provide a more literal transcript, including a literal transcript of the error. A summary of a message you don’t quite understand is unlikely to result in a clear diagnosis.
Are these the documents you are following?
```
cut and paste the EXACT ERRORS you are seeing
in between two lines that contain exactly only
three single back quote characters each
```
This way we see them without interpretation and without formatting.
Yeah a copy and paste of the error codes, or a screenshot or whatever would be helpful. Also if we’re really running to problems post up your Marlin folder and I can download it and try and compile and see if I run into the same errors. If I don’t get errors compiling then it’s probably dependencies that are installed. If I do get errors then it’s probably in the syntax somewhere.
I have resolved most of the errors now (your correct response - missing dependencies), but I don’t yet understand this last one, not sure what I am missing, I don’t know the entry to point to a specific disk? I am assuming it is looking for the SD card, which I have in a usb port, or is it looking for my BTT oard and it’s usb port?
Error:
Building in release mode
Unable to find destination disk (Autodetect Error)
Please select it in platformio.ini using the upload_port keyword (Upload options — PlatformIO 5.2.0a4 documentation) or copy the firmware (.pio/build/LPC1769/firmware.bin) manually to the appropriate disk
I use the terminal instead of the platformio gui, so I’m using platformio run to build Marlin. I don’t have the board connected when I build. What have you set default_envs to in your platformio.ini file?
At least on Linux using platformio run on the command line, it built fine from your zip file.
... platformio run
Processing LPC1769 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip; board: nxp_lpc1769; framework: arduino)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1769.html
PLATFORM: NXP Arduino LPC176x 0.1.1 > NXP LPC1769
HARDWARE: LPC1769 120MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:
- framework-arduino-lpc176x 0.2.4
- toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ strict
LibraryManager: Installing U8glib-HAL
Downloading...
U8glib-HAL @ 0.4.1 has been successfully installed!
Looking for TMCStepper library in registry
Found: https://platformio.org/lib/show/5513/TMCStepper
LibraryManager: Installing id=5513 @ >=0.6.1,<1.0.0
...
Unpacking [##################################--] 94%
Unpacking [##################################--] 95%
Unpacking [##################################--] 96%
Unpacking [##################################--] 97%
Unpacking [###################################-] 97%
Unpacking [###################################-] 98%
Unpacking [###################################-] 99%
Unpacking [####################################] 100%
TMCStepper @ 0.7.1 has been successfully installed!
LibraryManager: Installing Adafruit NeoPixel
Downloading...
Adafruit NeoPixel @ 1.3.0 has been successfully installed!
LibraryManager: Installing SailfishLCD
...
SailfishLCD @ 0.0.0 has been successfully installed!
Found 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <Servo> 1.0.0
|-- <LiquidCrystal> 1.0.0
|-- <U8glib-HAL> 0.4.1
|-- <TMCStepper> 0.7.1
|-- <Adafruit NeoPixel> 1.3.0
|-- <SailfishLCD>
Building in release mode
Unable to find destination disk ([Errno 2] No such file or directory: '...')
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/LPC1769/firmware.bin) manually to the appropriate disk
Compiling .pio/build/LPC1769/src/src/HAL/LPC1768/DebugMonitor.cpp.o
...
...
...
Building .pio/build/LPC1769/firmware.bin
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [=== ] 25.5% (used 8364 bytes from 32736 bytes)
Flash: [== ] 22.2% (used 105388 bytes from 475136 bytes)
========================= [SUCCESS] Took 80.89 seconds =========================
...
LPC1769 SUCCESS 00:01:20.891
...
Therefore, this line from your build log looks like it is relevant:
*** [Marlin\src\HAL\LPC1768\DebugMonitor.cpp] D:\Downloads\Marlin-2.0.vs\Marlin-2.0.x\.pio\build\LPC1769\.sconsign37.db.dblite: No such file or directory
@Eclsnowman want to try on Windows and see whether you can reproduce this problem?
I see No such file or directory in your build log so it surprises me that you found an old file by that name. I wonder if you could just delete the whole .pio directory and try again?
What I’ll do later today once I get some free time is try and set up a clean Marlin that I can get to compile. Would you be able to confirm all the hardware you have: steppers, drivers, LCD, travel limits from before, etc:
That way I can go through and confirm your config against one I’ve set up in the past for my skr v1.3 Eustathios and just make the changes for your setup.
I have most of the details in the configuration.h file in the zip. I transferred the setting from my smoothie config file. I am really trying to learn the environment of visual studio code and the marlin at the same time, probably not a great combination. But my thought was to get a solid compile and then add additional features in…Once I get a successful compile, I have a bltouch to add, and I wanted to go without the X and y End stops.
Okay, . I cleaned out all the marlin, platform io and Visual Studio code files from my computer.
I reloaded everything and did a simple compile for the mega. Successful.
I followed the marlin page on identifying and updating configuration.h for the BTT SKR 1.4 Turbo board. Made the change to platformio.ini to reflect the board. Successful.
I am going back to make the customization for my Herculien. Looks like I just did not get a clean install in the beginning.
Thanks to you both for looking at this. I’ll hopefully report back a successful build after church today.