I’ve been trying to build the sentinel 1 GUI from the source code available from GitHub but am getting compilation errors.
I’ve used the instructions given in
s1tbx/README.md
cd SNAP/snap-engine
mvn install
works fine, but
cd SNAP/snap-desktop
mvn install
results in a ‘BUILD FAILURE’ with the following errors
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project snap-rcp: Compilation failure: Compilation failure:
[ERROR] /home/mark/Desktop/SNAP/snap-desktop/snap-rcp/src/main/java/org/esa/snap/rcp/bandmaths/BandMathsDialog.java:[40,45] cannot find symbol
[ERROR] symbol: class GaussianUncertaintyPropagator
[ERROR] location: package org.esa.snap.framework.dataop.barithm
[ERROR] /home/mark/Desktop/SNAP/snap-desktop/snap-rcp/src/main/java/org/esa/snap/rcp/bandmaths/PropagateUncertaintyDialog.java:[19,45] cannot find symbol
[ERROR] symbol: class GaussianUncertaintyPropagator
[ERROR] location: package org.esa.snap.framework.dataop.barithm
I get the same problem installing without running the tests.
SYSTEM INFO.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
$ javac -version
javac 1.8.0_45
$ maven -version
Java version: 1.8.0_45, vendor: Oracle Corporation
Java home: /home/mark/jdk1.8.0_45/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: “linux”, version: “3.13.0-55-generic”, arch: “i386”, family: “unix”