Compilation Errors II

classic Classic list List threaded Threaded
5 messages Options
Amanda Osvaldo Amanda Osvaldo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Compilation Errors II

Hi everbody.
I need compile SciLAB to implement object orientation, however I am facing many problems for something that is meant to be simple.

Somebody can help-me to interpret this problem ?

[ .... ]

graphic_export:
 [taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found.

init:

compile:
   [javac] Compiling 7 source files to /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/build/classes
   [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java
   [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportBitmap.java
   [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportParams.java
   [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/FileExporter.java
   [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Utils.java
   [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/ImageEncod
er.java
   [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder
.java
   [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:862: error:
method does not override or implement a method from a supertype
   [javac]                     @Override
   [javac]                     ^

    [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:886: error:
method processShape in class PSGraphics2D cannot be applied to given types;
   [javac]                                     return super.processShape(s, b);
   [javac]                                                 ^
   [javac]   required: Shape
   [javac]   found: Shape,boolean
   [javac]   reason: actual and formal argument lists differ in length

[....]

BUILD FAILED
/media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava/build.xml:53: The following error occurred while executing this line:
/media/src/scilab-6.0.0/scilab_master/scilab/build.incl.xml:110: Compile failed; see the compiler error output for details.
Total time: 2 seconds
Makefile:753: recipe for target 'java' failed
make[2]: *** [java] Error 1
make[2]: Leaving directory '/media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava'
Makefile:838: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/src/scilab-6.0.0/scilab_master/scilab/modules'
Makefile:1588: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Is everyone suffering from problems with compilation or it's just me?

-- Amanda Osvaldo

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
paul paul
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compilation Errors II


Hello Amanda,

Are you up to date with master branch?
Run "git reset --hard origin/master" to make sure you don't have local
changes.
What does "javac -version" return? It should be 1.8.0_XXX.

Regards,
Paul

On 2017-02-28 21:01, Amanda Osvaldo wrote:

> Hi everbody.
> I need compile SciLAB to implement object orientation, however I am
> facing many problems for something that is meant to be simple.
>
> SOMEBODY CAN HELP-ME TO INTERPRET THIS PROBLEM ?
>
> [ .... ]
>
> graphic_export:
>  [taskdef] Could not load definitions from resource
> checkstyletask.properties. It could not be found.
>
> init:
>
> compile:
>  [javac] Compiling 7 source files to
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/build/classes
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportBitmap.java
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportParams.java
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/FileExporter.java
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Utils.java
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/ImageEncod
> er.java
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder
> .java
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:862:
> error:
>  method does not override or implement a method from a supertype
>  [javac] @Override
>  [javac] ^
>
>  [javac]
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:886:
> error:
>  method processShape in class PSGraphics2D cannot be applied to given
> types;
>  [javac] return super.processShape(s, b);
>  [javac] ^
>  [javac] required: Shape
>  [javac] found: Shape,boolean
>  [javac] reason: actual and formal argument lists differ in length
>
> [....]
>
> BUILD FAILED
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava/build.xml:53:
> The following error occurred while executing this line:
> /media/src/scilab-6.0.0/scilab_master/scilab/build.incl.xml:110:
> Compile failed; see the compiler error output for details.
> Total time: 2 seconds
> Makefile:753: recipe for target 'java' failed
> make[2]: *** [java] Error 1
> make[2]: Leaving directory
> '/media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava'
> Makefile:838: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> '/media/src/scilab-6.0.0/scilab_master/scilab/modules'
> Makefile:1588: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
>  Is everyone suffering from problems with compilation or it's just me?
>
> -- Amanda Osvaldo
>
> _______________________________________________
> dev mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Amanda Osvaldo Amanda Osvaldo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compilation Errors II

Thanks for the answer Paul.
However, we still need something else.

The source is syncronized with git repository.
Java and JavaC are both 1.8.0_121.
I even tried to change from Oracle JDK to OpenJDK and "recompiled" the Batik dependence, and the result it's the same.

Can I ask about your development environment ?
Perhaps I should try to reproduce one instead to create one.

If can help in something. Here have the configure script output for Java section.


Java Configuration:
 JAVA_HOME ........... = /usr/java/jdk1.8.0_121
 JAVAC ............... = /usr/java/jdk1.8.0_121/bin/javac
 JAVA_CLASSPATH ...... =  
 JAVA_VERSION ........ = 1.8
 JAVAC_FLAGS ......... = -g
 JAVA_JNI_INCLUDE .... = -I/usr/java/jdk1.8.0_121/include -I/usr/java/jdk1.8.0_121/include/linux
 JAVA_JNI_LIBS ....... = -L/usr/java/jdk1.8.0_121/jre/lib/amd64 -ljava -lverify -L/usr/java/jdk1.8.0_121/jre/lib/amd64/server -ljvm
 JAVA_JNI_LIBS_PRELOAD =  
 JAVA ................ = /usr/java/jdk1.8.0_121/bin/java
 JAVADOC ............. = /usr/java/jdk1.8.0_121/bin/javadoc
 JAR ................. = /usr/java/jdk1.8.0_121/bin/jar
 ANT ................. = /usr/bin/ant

Java dependencies:
 Flexdock ............ = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/flexdock-1.2.4.jar
 JOGL 2............... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jogl2.jar
 JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL
 Gluegen 2 ........... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/gluegen2-rt.jar
 Gluegen 2 LIBS (JNI)  = -lgluegen2-rt
 Jeuclid (MathML) .... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jeuclid-core-3.1.9.jar
 Jhall  .............. = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jhall-2.0.05.ds1.jar
 Jrosetta (API) ...... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-API.jar
 Jrosetta (Engine) ... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-engine-1.0.4.jar
 Commons Logging ..... = /usr/share/java/commons-logging.jar
 JGraph X ............ = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jgraphx-2.1.0.7.jar
 SciRenderer ......... = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
 JLaTeXMath .......... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-1.0.3.jar
 ECJ ................. = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/ecj.jar

Documentation, graphic export:
 JAVA_HOME ........... = /usr/java/jdk1.8.0_121
 JAVAC ............... = /usr/java/jdk1.8.0_121/bin/javac
 JAVA_CLASSPATH ...... =  
 JAVA_VERSION ........ = 1.8
 JAVAC_FLAGS ......... = -g
 JAVA_JNI_INCLUDE .... = -I/usr/java/jdk1.8.0_121/include -I/usr/java/jdk1.8.0_121/include/linux
 JAVA_JNI_LIBS ....... = -L/usr/java/jdk1.8.0_121/jre/lib/amd64 -ljava -lverify -L/usr/java/jdk1.8.0_121/jre/lib/amd64/server -ljvm
 JAVA_JNI_LIBS_PRELOAD =  
 JAVA ................ = /usr/java/jdk1.8.0_121/bin/java
 JAVADOC ............. = /usr/java/jdk1.8.0_121/bin/javadoc
 JAR ................. = /usr/java/jdk1.8.0_121/bin/jar
 ANT ................. = /usr/bin/ant

Java dependencies:
 Flexdock ............ = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/flexdock-1.2.4.jar
 JOGL 2............... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jogl2.jar
 JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL
 Gluegen 2 ........... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/gluegen2-rt.jar
 Gluegen 2 LIBS (JNI)  = -lgluegen2-rt
 Jeuclid (MathML) .... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jeuclid-core-3.1.9.jar
 Jhall  .............. = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jhall-2.0.05.ds1.jar
 Jrosetta (API) ...... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-API.jar
 Jrosetta (Engine) ... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-engine-1.0.4.jar
 Commons Logging ..... = /usr/share/java/commons-logging.jar
 JGraph X ............ = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jgraphx-2.1.0.7.jar
 SciRenderer ......... = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
 JLaTeXMath .......... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-1.0.3.jar
 ECJ ................. = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/ecj.jar

Documentation, graphic export:

 FOP (XML => PDF) .... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/fop-1.0.jar
 JLaTeXMath Fop ...... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-fop-1.0.3.jar
 Batik (SVG) ......... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/batik-all-1.8.jar
 Avalon Framework .... = /usr/share/java/avalon-framework.jar
 Commons I/O ......... = /usr/share/java/commons-io.jar
 XML graphics commons  = /usr/share/java/xmlgraphics-commons.jar

-- Amanda Osvaldo


On Wed, 2017-03-01 at 09:22 +0100, [hidden email] wrote:
Hello Amanda,

Are you up to date with master branch?
Run "git reset --hard origin/master" to make sure you don't have local 
changes.
What does "javac -version" return? It should be 1.8.0_XXX.

Regards,
Paul

On 2017-02-28 21:01, Amanda Osvaldo wrote:
Hi everbody. I need compile SciLAB to implement object orientation, however I am facing many problems for something that is meant to be simple. SOMEBODY CAN HELP-ME TO INTERPRET THIS PROBLEM ? [ .... ] graphic_export: [taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found. init: compile: [javac] Compiling 7 source files to /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/build/classes [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportBitmap.java [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportParams.java [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/FileExporter.java [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Utils.java [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/ImageEncod er.java [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder .java [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:862: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:886: error: method processShape in class PSGraphics2D cannot be applied to given types; [javac] return super.processShape(s, b); [javac] ^ [javac] required: Shape [javac] found: Shape,boolean [javac] reason: actual and formal argument lists differ in length [....] BUILD FAILED /media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava/build.xml:53: The following error occurred while executing this line: /media/src/scilab-6.0.0/scilab_master/scilab/build.incl.xml:110: Compile failed; see the compiler error output for details. Total time: 2 seconds Makefile:753: recipe for target 'java' failed make[2]: *** [java] Error 1 make[2]: Leaving directory '/media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava' Makefile:838: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/media/src/scilab-6.0.0/scilab_master/scilab/modules' Makefile:1588: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Is everyone suffering from problems with compilation or it's just me? -- Amanda Osvaldo _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
paul paul
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compilation Errors II


The method comes from xmlgraphics, and you're visibly using your own
(/usr/share/java/xmlgraphics-commons.jar), could you please either
delete it or use the thirdparties' one
(thirdparty/xmlgraphics-commons.jar)?

On 2017-03-01 12:09, Amanda Osvaldo wrote:

> Thanks for the answer Paul.
> However, we still need something else.
>
> The source is syncronized with git repository.
> Java and JavaC are both 1.8.0_121.
> I even tried to change from Oracle JDK to OpenJDK and "recompiled" the
> Batik dependence, and THE RESULT IT'S THE SAME.
>
> Can I ask about your development environment ?
> PERHAPS I SHOULD TRY TO REPRODUCE ONE INSTEAD TO CREATE ONE.
>
> If can help in something. Here have the configure script output for
> Java section.
>
> Java Configuration:
>  JAVA_HOME ........... = /usr/java/jdk1.8.0_121
>  JAVAC ............... = /usr/java/jdk1.8.0_121/bin/javac
>  JAVA_CLASSPATH ...... =
>  JAVA_VERSION ........ = 1.8
>  JAVAC_FLAGS ......... = -g
>  JAVA_JNI_INCLUDE .... = -I/usr/java/jdk1.8.0_121/include
> -I/usr/java/jdk1.8.0_121/include/linux
>  JAVA_JNI_LIBS ....... = -L/usr/java/jdk1.8.0_121/jre/lib/amd64 -ljava
> -lverify -L/usr/java/jdk1.8.0_121/jre/lib/amd64/server -ljvm
>  JAVA_JNI_LIBS_PRELOAD =
>  JAVA ................ = /usr/java/jdk1.8.0_121/bin/java
>  JAVADOC ............. = /usr/java/jdk1.8.0_121/bin/javadoc
>  JAR ................. = /usr/java/jdk1.8.0_121/bin/jar
>  ANT ................. = /usr/bin/ant
>
> Java dependencies:
>  Flexdock ............ =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/flexdock-1.2.4.jar
>  JOGL 2............... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jogl2.jar
>  JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL
>  Gluegen 2 ........... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/gluegen2-rt.jar
>  Gluegen 2 LIBS (JNI) = -lgluegen2-rt
>  Jeuclid (MathML) .... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jeuclid-core-3.1.9.jar
>  Jhall .............. =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jhall-2.0.05.ds1.jar
>  Jrosetta (API) ...... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-API.jar
>  Jrosetta (Engine) ... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-engine-1.0.4.jar
>  Commons Logging ..... = /usr/share/java/commons-logging.jar
>  JGraph X ............ =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jgraphx-2.1.0.7.jar
>  SciRenderer ......... =
> ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
>  JLaTeXMath .......... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-1.0.3.jar
>  ECJ ................. =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/ecj.jar
>
> Documentation, graphic export:
>  JAVA_HOME ........... = /usr/java/jdk1.8.0_121
>  JAVAC ............... = /usr/java/jdk1.8.0_121/bin/javac
>  JAVA_CLASSPATH ...... =
>  JAVA_VERSION ........ = 1.8
>  JAVAC_FLAGS ......... = -g
>  JAVA_JNI_INCLUDE .... = -I/usr/java/jdk1.8.0_121/include
> -I/usr/java/jdk1.8.0_121/include/linux
>  JAVA_JNI_LIBS ....... = -L/usr/java/jdk1.8.0_121/jre/lib/amd64 -ljava
> -lverify -L/usr/java/jdk1.8.0_121/jre/lib/amd64/server -ljvm
>  JAVA_JNI_LIBS_PRELOAD =
>  JAVA ................ = /usr/java/jdk1.8.0_121/bin/java
>  JAVADOC ............. = /usr/java/jdk1.8.0_121/bin/javadoc
>  JAR ................. = /usr/java/jdk1.8.0_121/bin/jar
>  ANT ................. = /usr/bin/ant
>
> Java dependencies:
>  Flexdock ............ =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/flexdock-1.2.4.jar
>  JOGL 2............... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jogl2.jar
>  JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL
>  Gluegen 2 ........... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/gluegen2-rt.jar
>  Gluegen 2 LIBS (JNI) = -lgluegen2-rt
>  Jeuclid (MathML) .... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jeuclid-core-3.1.9.jar
>  Jhall .............. =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jhall-2.0.05.ds1.jar
>  Jrosetta (API) ...... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-API.jar
>  Jrosetta (Engine) ... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-engine-1.0.4.jar
>  Commons Logging ..... = /usr/share/java/commons-logging.jar
>  JGraph X ............ =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jgraphx-2.1.0.7.jar
>  SciRenderer ......... =
> ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
>  JLaTeXMath .......... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-1.0.3.jar
>  ECJ ................. =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/ecj.jar
>
> Documentation, graphic export:
>
>  FOP (XML => PDF) .... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/fop-1.0.jar
>  JLaTeXMath Fop ...... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-fop-1.0.3.jar
>  Batik (SVG) ......... =
> /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/batik-all-1.8.jar
>  Avalon Framework .... = /usr/share/java/avalon-framework.jar
>  Commons I/O ......... = /usr/share/java/commons-io.jar
>  XML graphics commons = /usr/share/java/xmlgraphics-commons.jar
>
> -- Amanda Osvaldo
>
> On Wed, 2017-03-01 at 09:22 +0100, [hidden email]
> wrote:
>
>> Hello Amanda,
>>
>> Are you up to date with master branch?
>> Run "git reset --hard origin/master" to make sure you don't have
>> local
>> changes.
>> What does "javac -version" return? It should be 1.8.0_XXX.
>>
>> Regards,
>> Paul
>>
>> On 2017-02-28 21:01, Amanda Osvaldo wrote:
>>> Hi everbody. I need compile SciLAB to implement object
>>> orientation, however I am facing many problems for something that
>>> is meant to be simple. SOMEBODY CAN HELP-ME TO INTERPRET THIS
>>> PROBLEM ? [ .... ] graphic_export: [taskdef] Could not load
>>> definitions from resource checkstyletask.properties. It could not
>>> be found. init: compile: [javac] Compiling 7 source files to
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/build/classes
>>> [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java
>>> [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportBitmap.java
>>> [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportParams.java
>>> [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/FileExporter.java
>>> [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Utils.java
>>> [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/ImageEncod
>>> er.java [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder
>>> .java [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:862:
>>> error: method does not override or implement a method from a
>>> supertype [javac] @Override [javac] ^ [javac]
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:886:
>>> error: method processShape in class PSGraphics2D cannot be applied
>>> to given types; [javac] return super.processShape(s, b); [javac] ^
>>> [javac] required: Shape [javac] found: Shape,boolean [javac]
>>> reason: actual and formal argument lists differ in length [....]
>>> BUILD FAILED
>>>
>>
> /media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava/build.xml:53:
>>> The following error occurred while executing this line:
>>> /media/src/scilab-6.0.0/scilab_master/scilab/build.incl.xml:110:
>>> Compile failed; see the compiler error output for details. Total
>>> time: 2 seconds Makefile:753: recipe for target 'java' failed
>>> make[2]: *** [java] Error 1 make[2]: Leaving directory
>>>
>> '/media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava'
>>> Makefile:838: recipe for target 'all-recursive' failed make[1]:
>>> *** [all-recursive] Error 1 make[1]: Leaving directory
>>> '/media/src/scilab-6.0.0/scilab_master/scilab/modules'
>>> Makefile:1588: recipe for target 'all-recursive' failed make: ***
>>> [all-recursive] Error 1 Is everyone suffering from problems with
>>> compilation or it's just me? -- Amanda Osvaldo
>>> _______________________________________________ dev mailing list
>>> [hidden email] http://lists.scilab.org/mailman/listinfo/dev
>>> [1]
>> _______________________________________________ dev mailing list
>> [hidden email] http://lists.scilab.org/mailman/listinfo/dev
>> [1]
>
>
> Links:
> ------
> [1] http://lists.scilab.org/mailman/listinfo/dev
>
> _______________________________________________
> dev mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Amanda Osvaldo Amanda Osvaldo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compilation Errors II

Hi Paul.

The same happens :-(

Can I ask a huge favor?

Can you tell me about some compile environment?
I will try to reproduce the same compile environment instead to create one.
I like to know about the operation system, packages installed and the files in the third-party directory.

I followed each step in the SciLAB compile documentation in a Linux Debian, fixed two errors in the documentation but still I'm unable to compile it.

-- Amanda

On Wed, 2017-03-01 at 12:56 +0100, [hidden email] wrote:
The method comes from xmlgraphics, and you're visibly using your own 
(/usr/share/java/xmlgraphics-commons.jar), could you please either 
delete it or use the thirdparties' one 
(thirdparty/xmlgraphics-commons.jar)?

On 2017-03-01 12:09, Amanda Osvaldo wrote:
Thanks for the answer Paul. However, we still need something else. The source is syncronized with git repository. Java and JavaC are both 1.8.0_121. I even tried to change from Oracle JDK to OpenJDK and "recompiled" the Batik dependence, and THE RESULT IT'S THE SAME. Can I ask about your development environment ? PERHAPS I SHOULD TRY TO REPRODUCE ONE INSTEAD TO CREATE ONE. If can help in something. Here have the configure script output for Java section. Java Configuration: JAVA_HOME ........... = /usr/java/jdk1.8.0_121 JAVAC ............... = /usr/java/jdk1.8.0_121/bin/javac JAVA_CLASSPATH ...... = JAVA_VERSION ........ = 1.8 JAVAC_FLAGS ......... = -g JAVA_JNI_INCLUDE .... = -I/usr/java/jdk1.8.0_121/include -I/usr/java/jdk1.8.0_121/include/linux JAVA_JNI_LIBS ....... = -L/usr/java/jdk1.8.0_121/jre/lib/amd64 -ljava -lverify -L/usr/java/jdk1.8.0_121/jre/lib/amd64/server -ljvm JAVA_JNI_LIBS_PRELOAD = JAVA ................ = /usr/java/jdk1.8.0_121/bin/java JAVADOC ............. = /usr/java/jdk1.8.0_121/bin/javadoc JAR ................. = /usr/java/jdk1.8.0_121/bin/jar ANT ................. = /usr/bin/ant Java dependencies: Flexdock ............ = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/flexdock-1.2.4.jar JOGL 2............... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jogl2.jar JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL Gluegen 2 ........... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/gluegen2-rt.jar Gluegen 2 LIBS (JNI) = -lgluegen2-rt Jeuclid (MathML) .... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jeuclid-core-3.1.9.jar Jhall .............. = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jhall-2.0.05.ds1.jar Jrosetta (API) ...... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-API.jar Jrosetta (Engine) ... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-engine-1.0.4.jar Commons Logging ..... = /usr/share/java/commons-logging.jar JGraph X ............ = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jgraphx-2.1.0.7.jar SciRenderer ......... = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar JLaTeXMath .......... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-1.0.3.jar ECJ ................. = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/ecj.jar Documentation, graphic export: JAVA_HOME ........... = /usr/java/jdk1.8.0_121 JAVAC ............... = /usr/java/jdk1.8.0_121/bin/javac JAVA_CLASSPATH ...... = JAVA_VERSION ........ = 1.8 JAVAC_FLAGS ......... = -g JAVA_JNI_INCLUDE .... = -I/usr/java/jdk1.8.0_121/include -I/usr/java/jdk1.8.0_121/include/linux JAVA_JNI_LIBS ....... = -L/usr/java/jdk1.8.0_121/jre/lib/amd64 -ljava -lverify -L/usr/java/jdk1.8.0_121/jre/lib/amd64/server -ljvm JAVA_JNI_LIBS_PRELOAD = JAVA ................ = /usr/java/jdk1.8.0_121/bin/java JAVADOC ............. = /usr/java/jdk1.8.0_121/bin/javadoc JAR ................. = /usr/java/jdk1.8.0_121/bin/jar ANT ................. = /usr/bin/ant Java dependencies: Flexdock ............ = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/flexdock-1.2.4.jar JOGL 2............... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jogl2.jar JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL Gluegen 2 ........... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/gluegen2-rt.jar Gluegen 2 LIBS (JNI) = -lgluegen2-rt Jeuclid (MathML) .... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jeuclid-core-3.1.9.jar Jhall .............. = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jhall-2.0.05.ds1.jar Jrosetta (API) ...... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-API.jar Jrosetta (Engine) ... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jrosetta-engine-1.0.4.jar Commons Logging ..... = /usr/share/java/commons-logging.jar JGraph X ............ = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jgraphx-2.1.0.7.jar SciRenderer ......... = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar JLaTeXMath .......... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-1.0.3.jar ECJ ................. = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/ecj.jar Documentation, graphic export: FOP (XML => PDF) .... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/fop-1.0.jar JLaTeXMath Fop ...... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/jlatexmath-fop-1.0.3.jar Batik (SVG) ......... = /media/src/scilab-6.0.0/scilab_master/scilab/thirdparty/batik-all-1.8.jar Avalon Framework .... = /usr/share/java/avalon-framework.jar Commons I/O ......... = /usr/share/java/commons-io.jar XML graphics commons = /usr/share/java/xmlgraphics-commons.jar -- Amanda Osvaldo On Wed, 2017-03-01 at 09:22 +0100, [hidden email] wrote:
Hello Amanda, Are you up to date with master branch? Run "git reset --hard origin/master" to make sure you don't have local changes. What does "javac -version" return? It should be 1.8.0_XXX. Regards, Paul On 2017-02-28 21:01, Amanda Osvaldo wrote:
Hi everbody. I need compile SciLAB to implement object orientation, however I am facing many problems for something that is meant to be simple. SOMEBODY CAN HELP-ME TO INTERPRET THIS PROBLEM ? [ .... ] graphic_export: [taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found. init: compile: [javac] Compiling 7 source files to
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/build/classes
[javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java
[javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportBitmap.java
[javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportParams.java
[javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/FileExporter.java
[javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Utils.java
[javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/ImageEncod
er.java [javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder
.java [javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:862:
error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac]
/media/src/scilab-6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java:886:
error: method processShape in class PSGraphics2D cannot be applied to given types; [javac] return super.processShape(s, b); [javac] ^ [javac] required: Shape [javac] found: Shape,boolean [javac] reason: actual and formal argument lists differ in length [....] BUILD FAILED
/media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava/build.xml:53:
The following error occurred while executing this line: /media/src/scilab-6.0.0/scilab_master/scilab/build.incl.xml:110: Compile failed; see the compiler error output for details. Total time: 2 seconds Makefile:753: recipe for target 'java' failed make[2]: *** [java] Error 1 make[2]: Leaving directory
'/media/src/scilab-6.0.0/scilab_master/scilab/modules/prebuildjava'
Makefile:838: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/media/src/scilab-6.0.0/scilab_master/scilab/modules' Makefile:1588: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Is everyone suffering from problems with compilation or it's just me? -- Amanda Osvaldo _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev [1]
_______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev [1]
Links: ------ [1] http://lists.scilab.org/mailman/listinfo/dev _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Loading...