Go Down

Topic: building arduino IDE trunk (Read 461 times) previous topic - next topic

liamstask

Hiya - I've just tried building the Arduino IDE from the current trunk in SVN (as well as the 0010 tag) and, following the howto.txt instructions, ran into some trouble.  Running the make.sh script results in a handful of "file not found" errors...

Setting up directories to build under Mac OS X
Copying Arduino.app...
cp: dist/Arduino.app: No such file or directory
chmod: work/Arduino.app/Contents/MacOS/JavaApplicationStub: No such file or directory
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file
      cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory
Copying tools (this may take a minute)...
cp: dist/tools.zip: No such file or directory
unzip:  cannot find or open tools.zip, tools.zip.zip or tools.zip.ZIP.
rm: tools.zip: No such file or directory
Copying jikes...
Copying shared files...
Copying targets...
cp: ../../targets: No such file or directory
Copying dist files...
./make.sh: line 76: cd: bootloader: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
cp: ATmegaBOOT.hex: No such file or directory
./make.sh: line 88: cd: app: No such file or directory
./make.sh: line 96: cd: preproc: No such file or directory
Building antlr grammar code...
Exception in thread "main" java.lang.NoClassDefFoundError: antlr/Tool
Exception in thread "main" java.lang.NoClassDefFoundError: antlr/Tool
Exception in thread "main" java.lang.NoClassDefFoundError: antlr/Tool
Exception in thread "main" java.lang.NoClassDefFoundError: antlr/Tool
Building the PDE...
./make.sh: line 115: ../build/macosx/work/jikes: No such file or directory
./make.sh: line 117: cd: ../build/macosx/work/classes: No such file or directory
zip I/O error: No such file or directory

zip error: Could not create output file (../lib/pde.jar)
cp: work/lib/*.jar: No such file or directory

Done.


Any ideas?  I'm on my OS X 10.5.1 PPC laptop.  The very simple instructions tend to make me thing I haven't missed something, but maybe I've just overlooked something silly?  Thanks for any help!

Liam

mellis

Yea, sorry, on the Mac you want to use the Xcode project, not the make.sh script.

Go Up