Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Adding Arduino 1.8.5 SDK path ("Arduino.app/Contents/Java") #28

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

kigster
Copy link

@kigster kigster commented Dec 4, 2017

  • it appears that Arduino 1.8.5 on High Sierra had moved the SDK
    from inside the Resources folder one level up. With this change
    arduino-cmake finds ARDUINO_SDK_PATH automatically. But without
    it, throws an error.
~/sketches/arduino-cmake/example ❯ cmake ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Arduino SDK version 1.8.5: /Applications/Arduino.app/Contents/Java
-- Check for working C compiler: /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc
-- Check for working C compiler: /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++
-- Check for working CXX compiler: /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features

@kigster kigster changed the title Adding Arduino 1.8.5 SDK home Adding Arduino 1.8.5 SDK path ("Arduino.app/Contents/Java") Dec 4, 2017
@MrPointer MrPointer merged commit 266d816 into arduino-cmake:release/2.0.0 Dec 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants