← Back to team overview

sikuli-driver team mailing list archive

[Question #236383]: How do I compile now?

 

New question #236383 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236383

Sorry, I don't know much about maven.  I am trying to compile sikuli from the sources in github.

To compile I'm using(as mentioned in the README)...

mvn -f pom_make_sikuli-script-jar.xml clean package assembly:single 

But I get this error...

[ERROR] Failed to execute goal on project SikuliX-API: Could not resolve dependencies for project org.sikuli:SikuliX-API:jar:1.1.0: The following artifacts could not be resolved: org.sikuli:SikuliX-Basics:jar:1.1.0, org.sikuli:SikuliX-Jython:jar:1.1.0: Could not find artifact org.sikuli:SikuliX-Basics:jar:1.1.0 in uni-due.de (http://mvn.is.inf.uni-due.de:8081/nexus/content/repositories/atunes-dependencies/


Warnings before that error....

Downloading: http://mvn.is.inf.uni-due.de:8081/nexus/content/repositories/atunes-dependencies/org/sikuli/SikuliX-Basics/1.1.0/SikuliX-Basics-1.1.0.pom
Downloading: http://repo.maven.apache.org/maven2/org/sikuli/SikuliX-Basics/1.1.0/SikuliX-Basics-1.1.0.pom
[WARNING] The POM for org.sikuli:SikuliX-Basics:jar:1.1.0 is missing, no dependency information available
Downloading: http://mvn.is.inf.uni-due.de:8081/nexus/content/repositories/atunes-dependencies/org/sikuli/SikuliX-Jython/1.1.0/SikuliX-Jython-1.1.0.pom
Downloading: http://repo.maven.apache.org/maven2/org/sikuli/SikuliX-Jython/1.1.0/SikuliX-Jython-1.1.0.pom
[WARNING] The POM for org.sikuli:SikuliX-Jython:jar:1.1.0 is missing, no dependency information available



And if I try to compile the jar manually and add the jar...

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project SikuliX-API: Compilation failure: Compilation failure:
[ERROR] /home/hankin/Downloads/sikuli_src/SikuliX-API/src/main/java/org/sikuli/script/Region.java:[1578,19] cannot find symbol
[ERROR] symbol:   method getImageFromCache(java.lang.String)
[ERROR] location: class org.sikuli.basics.Image
[ERROR] /home/hankin/Downloads/sikuli_src/SikuliX-API/src/main/java/org/sikuli/script/Region.java:[1839,20] cannot find symbol
[ERROR] symbol:   method createImage(java.lang.String)
[ERROR] location: class org.sikuli.basics.Image
[ERROR] /home/hankin/Downloads/sikuli_src/SikuliX-API/src/main/java/org/sikuli/script/Region.java:[1892,20] cannot find symbol
[ERROR] symbol:   method createImage(java.lang.String)
[ERROR] location: class org.sikuli.basics.Image
[ERROR] /home/hankin/Downloads/sikuli_src/SikuliX-API/src/main/java/org/sikuli/script/SikuliEventManager.java:[126,26] cannot find symbol


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.