MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.34k stars 19.26k forks source link

[BUG] Cannot compile Marlin 2 for anycubic Kossel plus and SKR 1.3 board (32 bit) #13538

Closed Arthedian closed 5 years ago

Arthedian commented 5 years ago

Description

I had install Atom and successfully compiled Marlin2 for Ender 3 and SKR 1.1 board. I am trying to compile it for Anycubic Kossel plus and SKR 1.3, but it throws me and error with the library (looks like C/C++ compatibility error). Is this normal/known?

Steps to Reproduce

  1. Compile attached Marlin2

Expected behavior:

successful compilation

Actual behavior:

from Marlin/src/HAL/HAL_LPC1768/include/digipot_mcp4451_I2C_routines.c:28: /home/arthedian/.platformio/packages/framework-arduino-lpc176x/cores/arduino/Print.h:34:1: error: unknown type name 'class' class Print {

Arthedian commented 5 years ago

Marlin-bugfix-2.0.x (1).zip

Arthedian commented 5 years ago

If I comment first two lines, than it is working

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.