[Scilab-users] Compiling Scilab for macOS
Chin Luh Tan
chinluh.tan at bytecode-asia.com
Fri Apr 17 15:38:54 CEST 2020
Hi Stéphane, Arvid,
Do count me in, 2.5 of us compiling this now, as I am not so familiar with MacOS actually so just count me as 0.5.
I did the compilation using the third parties installed with brew, including the adoptopenjdk 8 with brew cask install.
I pass the configure without modelica, tk, and build localization, and build process stuck as the same place as Arvid.
I tried to apply the code Change 21438 , 4904f0a9.diff, then the error shown :
[javac]
symbol: class GL2
[javac]
location: class GLShortCuts
[javac]
/Users/kennethkoh/scilab_master/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/utils/GLShortCuts.java:94:
error: cannot find symbol
[javac]
public static void useColor(GL2 gl, Color color) {
[javac]
^
[javac]
symbol: class GL2
[javac]
location: class GLShortCuts
[javac]
/Users/kennethkoh/scilab_master/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/utils/GLShortCuts.java:106:
error: cannot find symbol
[javac]
public static void setEnable(GL2 gl, int option, boolean status)
{
[javac]
^
[javac]
symbol: class GL2
[javac]
location: class GLShortCuts
[javac]
84 errors
[javac]
2 warnings
Any advice?
Thanks.
Regards,
Chin Luh
---- On Tue, 14 Apr 2020 23:55:31 +0800 Arvid Rosén <arvid at softube.com> wrote ----
Sorry for top-posting, but here are a few of the errors I get:
Something missing with:
import javax.activation.MimetypesFileTypeMap;
A bunch of these:
compile:
[javac] Compiling 1 source file to /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/graphic_objects/build/classes
[javac] /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/xmlloader/CSSParser.java
[javac] warning: Supported source version 'RELEASE_6' from annotation processor 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source '8'
[javac] /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/xmlloader/CSSParser.java:17: error: package javax.annotation does not exist
[javac] @javax.annotation.Generated("JFlex")
[javac] ^
[javac] 1 error
[javac] 1 warning
And also this one:
compile:
[javac] Compiling 5 source files to /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/javasci/build/classes/v2
[javac] /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/javasci/src/java/org/scilab/modules/javasci/Call_Scilab.java
[javac] /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/javasci/src/java/org/scilab/modules/javasci/Call_ScilabJNI.java
[javac] /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/javasci/src/java/org/scilab/modules/javasci/JavasciException.java
[javac] /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/javasci/src/java/org/scilab/modules/javasci/Scilab.java
[javac] /Users/arvid/everything/scilab/src/scilab/scilab-6.1.1/scilab/modules/javasci/src/java/org/scilab/modules/javasci/ScilabVariablesJavasci.java
[javac] warning: [options] bootstrap class path not set in conjunction with -source 6
[javac] error: Source option 6 is no longer supported. Use 7 or later.
[javac] error: Target option 6 is no longer supported. Use 7 or later.
Cheers,
Arvid
From: Scilab Users List <mailto:users-bounces at lists.scilab.org> on behalf of Stéphane Mottelet <mailto:stephane.mottelet at utc.fr>
Reply to: Users mailing list for Scilab <mailto:users at lists.scilab.org>
Date: Tuesday, 14 April 2020 at 17:00
To: "mailto:users at lists.scilab.org" <mailto:users at lists.scilab.org>
Subject: Re: [Scilab-users] Compiling Scilab for macOS
Hello,
Le 14/04/2020 à 16:51, Arvid Rosén a écrit :
Hi,
I still can’t find any Scilab 6.1 builds for macOS (despite the info text here: https://www.scilab.org) , so I’m trying to compile one myself.
Great, at least we will be two now...
However, I get a bunch of Java errors during compilation.
Which kind ?
I’m currently using a JDK from AdoptOpenJDK (Java 8). Is this correct,
Yes.
S.
or should I try using some other version or provider for compiling Scilab on macOS Catalina?
Cheers,
Arvid
_______________________________________________
users mailing list
mailto:users at lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet
_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200417/a374d7fc/attachment.htm>
More information about the users
mailing list