Go Down

Topic: Source build from SVN is broken (Read 685 times) previous topic - next topic

doctorwho8

Hello!
I just tried building the Arduino code from SVN and there were a lot of complaints. This is on Cygwin-1.7 on Windows Seven:
------
GCL@CmdrSkywalker /usr/local/src/arduino/build/windows
$ ./make.sh
Building processing.core...
updating PApplet with PGraphics api changes
Building the PDE...
src\processing\app\syntax\JEditTextArea.java:27: package processing.app.syntax.i
m does not exist
import processing.app.syntax.im.InputMethodSupport;
                              ^
src\processing\app\syntax\JEditTextArea.java:136: cannot find symbol
symbol  : class InputMethodSupport
location: class processing.app.syntax.JEditTextArea
 private InputMethodSupport inputMethodSupport = null;
         ^
src\processing\app\syntax\TextAreaPainter.java:15: package processing.app.syntax
.im does not exist
import processing.app.syntax.im.CompositionTextPainter;
                              ^
src\processing\app\syntax\TextAreaPainter.java:38: cannot find symbol
symbol  : class CompositionTextPainter
location: class processing.app.syntax.TextAreaPainter
 protected CompositionTextPainter compositionTextPainter;
           ^
src\processing\app\syntax\TextAreaPainter.java:83: cannot find symbol
symbol  : class CompositionTextPainter
location: class processing.app.syntax.TextAreaPainter
  public CompositionTextPainter getCompositionTextpainter(){
         ^
src\processing\app\syntax\JEditTextArea.java:139: cannot find symbol
$
location: class processing.app.syntax.JEditTextArea
                       inputMethodSupport = new InputMethodSupport(this);
                                                ^
src\processing\app\syntax\TextAreaPainter.java:85: cannot find symbol
symbol  : class CompositionTextPainter
location: class processing.app.syntax.TextAreaPainter
      compositionTextPainter = new CompositionTextPainter(textArea);
                                   ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors

zip error: Nothing to do! (try: zip -rq ../lib/pde.jar . -i .)

Done.
-----
This also happened with the exact same problem on Slackware Linux-12.1.
--
/me

wayoda

The build system for the latest version (trunk) is now using ant instead of make.

http://code.google.com/p/arduino/wiki/BuildingArduino
Eberhard

doctorwho8

Hello!
But the site does not explain what to do to get a recent JDK installed. And then recognized by Cygwin so that the Ant tool can find the JDK and take it from there.
**********************
By contrast everything just works under Linux and then instructions for Linux are indeed complete. But that solution is reserved for a long-time project.
----
/me

wayoda

Quote

But the site does not explain what to do to get a recent JDK installed.

Download from http://java.sun.com/javase/downloads/index.jsp

Quote
And then recognized by Cygwin

Edit the PATH settings?

Quote

so that the Ant tool can find the JDK and take it from there.

http://ant.apache.org/manual/index.html
Ant has one of the best maintained online-manuals in the world of free software. There is a whole section on installing Ant and running checks to see if it works.

Eberhard

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy