Closed astromme closed 12 years ago
Intresting... The directory structure might have changed. I'm expecting to have Arduino.app installed in /Applications. Within Arduino.app I'm looking for Contents/Resources/Java/ (thats where the Arduino SDK is located).
Hmm, that path definitely exists for me:
$ ls /Applications/Arduino.app/Contents/Resources/Java
__MACOSX libraries core.jar libquaqua64.jnilib revisions.txt
examples reference ecj.jar librxtxSerial.jnilib
hardware tools jna.jar pde.jar
lib RXTXcomm.jar libquaqua.jnilib quaqua.jar
The version seems to be correct.
$ cat /Applications/Arduino.app/Contents/Resources/Java/lib/version.txt
1.0%
(I think the % is zsh telling me that there is no newline at the end of the file)
I'm assuming that you have specified the toolchain file either in the main CMakeList.txt before the project()
command or on the command line.
I don't have Mac OS X on hand, so I cannot really reproduce your problem. Could you provide some additional information, such as the output, the main configuration file, and the CMakeCache.txt file...
Hmm, it appears to work now. I'm not sure if I updated some part of my system without realizing it or if I just was imaging it in the first place but I'm going to close this issue now. Thanks for your help!
After installing the stock Arduino 1.0 from the website arduino-cmake is unable to find it, giving the following error:
I see that cmake/modules/Platform/ArduinoPaths.cmake appends /Applications to the CMAKE_SYSTEM_PREFIX_PATH but that doesn't seem to be working.