← Back to team overview

sikuli-driver team mailing list archive

[Question #697865]: Issue with PSC in Observer.java trying to build SikuliX1-2.0.5-final

 

New question #697865 on SikuliX:
https://answers.launchpad.net/sikuli/+question/697865

I am not 100% sure I am building correctly, but I was running "mvn compile" from the SikuliX1-2.0.5-final directory. It results in:

rfb@rfb:~/projects/SikuliX1-2.0.5-final$ mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] SikuliX API                                                        [jar]
[INFO] SikuliX IDE                                                        [jar]
[INFO] sikulix                                                            [pom]
[INFO] 
[INFO] -----------------------< com.sikulix:sikulixapi >-----------------------
[INFO] Building SikuliX API 2.0.5                                         [1/3]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sikulixapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 76 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ sikulixapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 211 source files to /home/rfb/projects/SikuliX1-2.0.5-final/API/target/classes
[INFO] /home/rfb/projects/SikuliX1-2.0.5-final/API/src/main/java/org/sikuli/script/Env.java: Some input files use or override a deprecated API.
[INFO] /home/rfb/projects/SikuliX1-2.0.5-final/API/src/main/java/org/sikuli/script/Env.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/rfb/projects/SikuliX1-2.0.5-final/API/src/main/java/org/sikuli/script/Region.java: Some input files use unchecked or unsafe operations.
[INFO] /home/rfb/projects/SikuliX1-2.0.5-final/API/src/main/java/org/sikuli/script/Region.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/rfb/projects/SikuliX1-2.0.5-final/API/src/main/java/org/sikuli/script/support/Observer.java:[125,26] incompatible types: PSC cannot be converted to int
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for sikulix 2.0.5:
[INFO] 
[INFO] SikuliX API ........................................ FAILURE [  3.602 s]
[INFO] SikuliX IDE ........................................ SKIPPED
[INFO] sikulix ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.736 s
[INFO] Finished at: 2021-07-05T18:44:56-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sikulixapi: Compilation failure
[ERROR] /home/rfb/projects/SikuliX1-2.0.5-final/API/src/main/java/org/sikuli/script/support/Observer.java:[125,26] incompatible types: PSC cannot be converted to int
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Perhaps I missed some initial setup, but I cannot find instructions for the source build.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.