queezythegreat/arduino-cmake — Issue #17: Mac issue specifing board for library
Author: treaves
Created: 2012-01-19 22:53:47+00:00
State: open

This is really odd. This same project runs cmake just fine on a Linux box, but, on my Mac fails. What is odd is that the stated failure is that an unsupported board was specified, but, that same board is listed. This fails as it is configuring the first library.

[~/Development/BrewTroller/bt_cmake/builds/unix ] cmake -DARDUINO_SDK_PATH=/Applications/Arduino0023.app/Contents/Resources/Java/ ../..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /Applications/Arduino0023.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc
-- Check for working C compiler: /Applications/Arduino0023.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /Applications/Arduino0023.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++
-- Check for working CXX compiler: /Applications/Arduino0023.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Arduino: /Applications/Arduino0023.app/Contents/Resources/Java (found suitable version "23", required is "0023")
-- Supported Arduino Boards:
-- atmega644: Sanguino W/ ATmega644P
-- atmega12848m: Sanguino W/ ATmega1284p 8mhz
-- atmega1284: Sanguino W/ ATmega1284p 16mhz
--
-- Supported Programmers:
-- avrisp: AVR ISP
-- avrispmkii: AVRISP mkII
-- usbtinyisp: USBtinyISP
-- parallel: Parallel Programmer
-- arduinoisp: Arduino as ISP
--
-- Generating DS2482_BT
CMake Error at cmake/modules/FindArduino.cmake:254 (message):
Invalid Arduino board ID (atmega1284), aborting.
Call Stack (most recent call first):
cmake/modules/FindArduino.cmake:133 (setup_arduino_compiler)
libraries/CMakeLists.txt:16 (generate_arduino_library)

-- Configuring incomplete, errors occurred!