<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi Stephane,<br></div><div><br></div><div>I tried the patch 21221 but I still get the same linker error:<br></div><div><br></div><p class="p1"><span class="s1">./scilab-adv-cli<span class="Apple-converted-space"> </span></span><br></p><p class="p1"><span class="s1">Scilab startup function detected that the function proposed to the engine is the wrong one. Usually, it comes from a linker problem in your distribution/OS.</span><br></p><p class="p1"><span class="s1">Here, Scilab should have 'libscijvm' defined but gets 'libscijvm-disable' instead.</span><br></p><p class="p1"><span class="s1">If you do not know what it means, please report a bug on <a href="http://bugzilla.scilab.org/" target="_blank">http://bugzilla.scilab.org/</a>. If you do, you probably know that you should change the link order in SCI/modules/Makefile.am</span><br></p><p class="p1"><br></p><div>I hv also patch the jogamp files as suggested by your previous email. <br></div><div><br></div><div>Please advice what I might have miss out.<br></div><div><br></div><div>Thanks again.<br></div><div><br></div><div>Regards,<br></div><div>Chin Luh</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div class="zmail_extra" style="" data-zbluepencil-ignore="true"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Mon, 20 Apr 2020 21:06:52 +0800 <b>Chin Luh Tan <chinluh.tan@bytecode-asia.com></b> wrote ----<br></div><div><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div class=" zm_38510694493151076_parse_-3961232960533536885"><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>Hi Stephane,<br></div><div><br></div><div>I am just about to reply you to update the current status. <br></div><div><br></div><div>Before I add the other files as mentioned by you in this email (i just replace the 2 files mentioned previously), the build still successful (with quite some warnings)<br></div><div><br></div><div>scilab-cli run fine, but the scilab and scilab-adv-cli gives following error:<br></div><div><br></div><div><br></div><p class="x_-615035796p1"><span class="x_-615035796s1">./scilab-adv-cli<span class="x_-615035796Apple-converted-space"> </span></span><br></p><p class="x_-615035796p1"><span class="x_-615035796s1">Scilab startup function detected that the function proposed to the engine is the wrong one. Usually, it comes from a linker problem in your distribution/OS.</span><br></p><p class="x_-615035796p1"><span class="x_-615035796s1">Here, Scilab should have 'libscijvm' defined but gets 'libscijvm-disable' instead.</span><br></p><p class="x_-615035796p1"><span class="x_-615035796s1">If you do not know what it means, please report a bug on <a href="http://bugzilla.scilab.org/" target="_blank">http://bugzilla.scilab.org/</a>. If you do, you probably know that you should change the link order in SCI/modules/Makefile.am</span><br></p><div><br></div><div>I am yet to you your suggestion below:<br></div><div><br></div><div><span class="highlight" style="background-color:rgb(255, 255, 255)"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Verdana, Arial, Helvetica, sans-serif"><span class="size" style="font-size: 13.3333px; font-style: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; float: none;">If you manage to obtain a successful build, then you will encounter the link ordre problem. That's where I am stuck now. However, using<span> </span></span></span></span></span><a href="https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/codereview.scilab.org/#/c/21211/" target="_blank" style="color: rgb(89,143,222);cursor: pointer;font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 13.3333px;font-style: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0.0px;text-transform: none;white-space: normal;widows: 2;word-spacing: 0.0px;background-color: rgb(255,255,255);">https://codereview.scilab.org/#/c/21211/</a><span class="highlight" style="background-color:rgb(255, 255, 255)"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Verdana, Arial, Helvetica, sans-serif"><span class="size" style="font-size: 13.3333px; font-style: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; float: none;"><span> </span>will allow you to use Scilab in -nw mode without any problem. But in the full GUI mode, clc, tohome, prompt are broken (no crash, just the message "This feature has not been implemented in this mode").</span></span></span></span><br></div><div><br></div><div class="x_-615035796zmail_extra"><div>Thanks again.<br></div><div><br></div><div>Regards,<br></div><div>Chin Luh<br></div><div><br></div><div><br></div><div><br></div><div>---- On Mon, 20 Apr 2020 20:58:52 +0800 <b>Stéphane Mottelet <<a href="mailto:stephane.mottelet@utc.fr" target="_blank">stephane.mottelet@utc.fr</a>></b> wrote ----<br></div><div><br></div><div><br></div></div><div><br></div><style>div.zm_38510694493151076_parse_-3961232960533536885 p.x_-615035796p1 { margin: 0px 0px 0px 0px; font: 11px Menlo; color: rgb(0, 0, 0) }
div.zm_38510694493151076_parse_-3961232960533536885 span.x_-615035796s1 { }
div.zm_38510694493151076_parse_-3961232960533536885 * { }
div.zm_38510694493151076_parse_-3961232960533536885 ltbr > * { }<br><br></style><div><br></div></div><div><br></div></div><div>_______________________________________________ <br></div><div>dev mailing list <br></div><div>dev@lists.scilab.org <br></div><div>http://lists.scilab.org/mailman/listinfo/dev <br></div><blockquote style="border-left: 1.0px solid rgb(204,204,204);padding-left: 6.0px;margin: 0.0px 0.0px 0.0px 5.0px;"><div class=" zm_-7588884847907679920_parse_-9166506646931452944"><p>Hello,<br></p><div class="x_995457894moz-cite-prefix">Le 19/04/2020 à 13:09, Chin Luh Tan a
      écrit :<br></div><blockquote><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>As I had start with brew, so I just tried to cont using the
          brew before I switch to fink if no success, and in fact, I get
          the similar error:<br></div><div><br></div><p class="x_995457894p1"><br></p><p class="x_995457894p1"><span class="x_995457894s1">[javac]
/Users/kennethkoh/scilab-6.1/scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/xmlloader/CSSParser.java:17:
            error: package javax.annotation does not exist</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">    </span>[javac]
            @javax.annotation.Generated("JFlex")</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">    </span>[javac]<span class="x_995457894Apple-converted-space">                  </span>^</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">    </span>[javac]
/Users/kennethkoh/scilab-6.1/scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/CallGraphicController.java:68:
            warning: [deprecation] Double(double) in Double has been
            deprecated</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">...</span></span><br></p><div><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">...</span></span><br></div><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">    </span>[javac] Note:
            Some input files use unchecked or unsafe operations.</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">    </span>[javac] Note:
            Recompile with -Xlint:unchecked for details.</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">    </span>[javac] 1 error</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">    </span>[javac] 12
            warnings</span><br></p><div><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">     
                </span>^</span><br></div><div><br></div><div>Do correct me If I did anything wrong, my steps to reach
          here:<br></div><div><br></div><div>1. git scilab master<br></div><div>2. svn checkout pre-requisite as describe in <a href="https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/wiki.scilab.org/Compiling%20Scilab%20under%20MacOSX#preview" target="_blank">https://wiki.scilab.org/Compiling%20Scilab%20under%20MacOSX#preview</a><br></div><div>3. patch change #21438 <br></div><div>4. manual install ant:<br></div><div>  <br></div><p class="x_995457894p1"><span class="x_995457894s1">Java Configuration:</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVA_HOME
            ........... =<span class="x_995457894Apple-converted-space"> </span></span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVAC
            ............... =
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/javac</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVA_CLASSPATH
            ...... =<span class="x_995457894Apple-converted-space"> </span></span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVA_VERSION
            ........ = 1.8</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVAC_FLAGS
            ......... = -g</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVA_JNI_INCLUDE
            .... =
-I/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/include/darwin</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVA_JNI_LIBS
            ....... = -framework JavaVM</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVA_JNI_LIBS_PRELOAD
            =<span class="x_995457894Apple-converted-space"> </span></span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVA
            ................ =
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAVADOC
            ............. =
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/javadoc</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>JAR
            ................. =
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/jar</span><br></p><p class="x_995457894p1"><span class="x_995457894s1"><span class="x_995457894Apple-converted-space">  </span>ANT
            ................. =
            /Users/kennethkoh/Downloads/apache-ant-1.10.7/bin/ant</span><br></p><style>div.zm_-7588884847907679920_parse_-9166506646931452944 p.x_995457894p1 { margin: 0px 0px 0px 0px; font: 11px Menlo; color: rgb(0, 0, 0) }
div.zm_-7588884847907679920_parse_-9166506646931452944 span.x_995457894s1 { }<br><br></style><div><br></div><div>5. Get the jogl2.4 from rc. I am not sure this step is
          correct, but i just download 3 xz files, unzip them, and copy
          jogl-all.jar and glugen-rt.jar and replace in scilab
          thirdparty folder jogl2.jar and glugen2-rt.jar. <br></div></div></blockquote><p>You also need to replace the following files in lib/thirdparty<br></p><p>libgluegen2-rt.jnilib<br> libjogl_desktop.jnilib<br> libnativewindow_macosx.jnilib<br> libjogl_cg.jnilib<br> libnativewindow_awt.jnilib<br> libnewt.jnilib<br></p><p>by the corresponding *.dylib which are in
      jogamp-all-patforms/lib/macosx-universal<br></p><p>S.<br></p><div><br></div><blockquote><br></blockquote><pre class="x_995457894moz-signature">-- 
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
<a class="x_995457894moz-txt-link-freetext" href="http://www.utc.fr/~mottelet" target="_blank">http://www.utc.fr/~mottelet</a>
<br></pre></div><div>_______________________________________________<br></div><div>dev mailing list <br></div><div><a href="mailto:dev@lists.scilab.org" target="_blank">dev@lists.scilab.org</a> <br></div><div><a href="http://lists.scilab.org/mailman/listinfo/dev" target="_blank">http://lists.scilab.org/mailman/listinfo/dev</a> <br></div></blockquote></blockquote></div><style>div.zm_-7588884847907679920_parse_-9166506646931452944 p.x_995457894p1 { margin: 0px 0px 0px 0px; font: 11px Menlo; color: rgb(0, 0, 0) }
div.zm_-7588884847907679920_parse_-9166506646931452944 span.x_995457894s1 { }<br><br></style><div><br></div><style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}&ltbr&gt<br></style><div><br></div></div><br></body></html>