ESP8266 Arduino Mac OS 编译

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(概述)
(概述)
 
(未显示1个用户的1个中间版本)
第52行: 第52行:
  
 
$ brew cask install java
 
$ brew cask install java
 +
==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
 +
==> We'll set permissions properly so we won't need sudo in the future
 +
Password:
 +
==> Caveats
 +
This Cask makes minor modifications to the JRE to prevent issues with
 +
packaged applications, as discussed here:
 +
 +
  https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361
 +
 +
If your Java application still asks for JRE installation, you might need
 +
to reboot or logout/login.
 +
 +
Installing this Cask means you have AGREED to the Oracle Binary Code
 +
License Agreement for Java SE at
 +
 +
  http://www.oracle.com/technetwork/java/javase/terms/license/index.html
 +
 +
==> Downloading http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-macosx-x64.dmg
 +
##############################################                            64.8%
 +
##############################################                            64.8%
 +
######################################################################## 100.0%
 +
==> Running installer for java; your password may be necessary.
 +
==> Package installers may write to any location; options such as --appdir are ignored.
 +
Password:
 +
Password:
 +
==> installer: Package name is JDK 8 Update 66
 +
==> installer: Installing at base path /
 +
==> installer: The install was successful.
 +
🍺  java staged at '/opt/homebrew-cask/Caskroom/java/1.8.0_66-b17' (2 files, 227M)
  
 
$ cd noduino/build
 
$ cd noduino/build
第57行: 第86行:
 
</source>
 
</source>
  
<br><br><br><br>
+
<br><br>
 +
 
 +
== 参考 ==
 +
 
 +
HOW TO BUILD ARDUINO:
 +
 
 +
* https://github.com/arduino/Arduino/wiki/Building-Arduino
 +
 
 +
<br><br>
 
<br><br><br><br>
 
<br><br><br><br>
 
<br><br><br><br>
 
<br><br><br><br>

2015年11月4日 (三) 15:39的最后版本

[编辑] 1 概述

On Mac OS X (using Homebrew, first brew update), install:

  • Apple's Developer Tools
  • git (brew install git)
  • JDK 8
$ git clone git://github.com/icamgo/Noduino.git noduino

$ brew install ant

$ brew tap caskroom/cask
==> Tapping caskroom/cask
Cloning into '/usr/local/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3252, done.
remote: Compressing objects: 100% (3174/3174), done.
remote: Total 3252 (delta 84), reused 728 (delta 61), pack-reused 0
Receiving objects: 100% (3252/3252), 5.82 MiB | 448.00 KiB/s, done.
Resolving deltas: 100% (84/84), done.
Checking connectivity... done.
Tapped 1 formula (3231 files, 24M)

$ ls /usr/local/Library/Taps/
caskroom	homebrew

$ brew install brew-cask
==> Installing brew-cask from caskroom/homebrew-cask
==> Cloning https://github.com/caskroom/homebrew-cask.git
Cloning into '/Library/Caches/Homebrew/brew-cask--git'...
remote: Counting objects: 3248, done.
remote: Compressing objects: 100% (3170/3170), done.
remote: Total 3248 (delta 84), reused 730 (delta 61), pack-reused 0
Receiving objects: 100% (3248/3248), 5.82 MiB | 258.00 KiB/s, done.
Resolving deltas: 100% (84/84), done.
Checking connectivity... done.
Note: checking out 'd39c95942f4226fb6c0e1a56c11008695ddeeade'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

Checking out files: 100% (3204/3204), done.
==> Checking out tag v0.59.0
🍺  /usr/local/Cellar/brew-cask/0.59.0: 2976 files, 12M, built in 52 seconds

$ brew cask install java
==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
Password:
==> Caveats
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:

  https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361

If your Java application still asks for JRE installation, you might need
to reboot or logout/login.

Installing this Cask means you have AGREED to the Oracle Binary Code
License Agreement for Java SE at

  http://www.oracle.com/technetwork/java/javase/terms/license/index.html

==> Downloading http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-macosx-x64.dmg
##############################################                            64.8%
##############################################                            64.8%
######################################################################## 100.0%
==> Running installer for java; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
Password:
==> installer: Package name is JDK 8 Update 66
==> installer: Installing at base path /
==> installer: The install was successful.
🍺  java staged at '/opt/homebrew-cask/Caskroom/java/1.8.0_66-b17' (2 files, 227M)

$ cd noduino/build
$ ant dist



[编辑] 2 参考

HOW TO BUILD ARDUINO:























个人工具
名字空间

变换
操作
导航
工具箱