Activity Forums Questions & Troubleshooting Setup & Installation Arduino IDE Beta 2 Beta 3

  • Arduino IDE Beta 2 Beta 3

     Friedl updated 3 years, 9 months ago 3 Members · 4 Posts
  • Friedl_AP

    Member
    March 2, 2021 at 3:27 pm

    Hi!

    I don’t seem to get the Controllino Board support working on Arduino IDE Beta 2 Beta 3.

    If I include <Controllino.h> I immediatelly get a compile error

    Compilation error: Error: 2 UNKNOWN: exit status 1

    Anybody got it working?

  • Friedl_AP

    Member
    March 2, 2021 at 6:03 pm

    The problem was “between keyboard and chair” 😉

    I forgot to install “Controllino” Libs, not just the board – silly me.

    Now I’ve got the following installed:

    • Boards: Arduino AVR Boards (1.8.3), Controllino (3.1.0)
    • Libs: Controllino (3.0.5)

    But now I do get the following error:

    Compilation error: Error: 2 UNKNOWN: exec: "/bin/avr-g++": file does not exist

    The compiler seems to live in the following directory:

    C:\Users\USERNAME\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin

    Which files to patch so I can get it to use this path?

    • This reply was modified 3 years, 9 months ago by  Friedl_AP. Reason: The Editor of this forum is buggy, there are stray < div > tags inserted
  • Lukas

    Member
    March 4, 2021 at 8:52 pm

    Hi!

    I have tried to test the Arduino 2 Beta 3 IDE and it seems to be full of various bugs. Finally I have reached more or less the same state like you, but with more details, as I have used the verbose compilation output. May I ask you to try it again with the verbose compiler and share the result with us? And in addition – which CONTROLLINO variant do you have? And do you have installed also some old Arduino IDE (as you can see I have Arduino 1.8.3)?

    Using board 'controllino_maxi' from platform in folder: C:\Users\Lukas\AppData\Local\Arduino15\packages\CONTROLLINO_Boards\hardware\avr\3.0.2

    Using core 'arduino' from platform in folder: C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3

    Detecting libraries used...

    "C:\\Users\\Lukas\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\Lukas\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Lukas\\AppData\\Local\\Arduino15\\packages\\CONTROLLINO_Boards\\hardware\\avr\\3.0.2\\variants\\Controllino_maxi" "C:\\Users\\Lukas\\AppData\\Local\\Temp\\arduino-sketch-104472CC981F3CAA4F5754123844E15F\\sketch\\sketch_mar4a.ino.cpp" -o nul

    Alternatives for CONTROLLINO.h: []

    ResolveLibrary(CONTROLLINO.h)

    -> candidates: []

    Compilation error: Error: 2 UNKNOWN: exit status 1

    Thanks,

    Lukas

    • Friedl

      Member
      March 4, 2021 at 9:43 pm

      I already thought that having both versiones installed could lead to problems and therefore I uninstalled all versions first and cleaned the “%localappdata” and “Documents/arduino” from all what remained from Arduino.

      Then and I reinstalled the Arduino 2 Beta 3 IDE again.

      At the moment I’ve given up, cleaned the system again and reinstalled the old version 1.8.3.

      There’s real work to be done right now.

      Can send you a photo of the setup in PM, if you’re interested.

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now