<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">If you apply the JoGL patch then third parties have to be updated as well. I think you did it. But since this patch is not needed for Linux, I would try to compile with previous version.</div><div dir="ltr"><br></div><div dir="ltr">S.</div><div dir="ltr"><br><blockquote type="cite">Le 6 mai 2020 à 18:52, Chin Luh Tan <chinluh.tan@bytecode-asia.com> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>sorry pls ignore the previous incomplete email which has been accidentally sent:<br></div><div><br></div><div>I tried to compile scilab 6.1 under raspberry pi 4, and the compilation completed with scilab lauched with following messages:<br></div><div><br></div><div><br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>Caught handled GLException: EGLGLXDrawableFactory - Could not initialize shared resources for EGLGraphicsDevice[type .egl, v1.4.0, connection :0.0, unitID 0, handle 0xffffffffa8b148f0, owner true, ResourceToolkitLock[obj 0xb29daf, isOwner true, <1fa6506, f15db4>[count 1, qsz 0, owner <main-SharedResourceRunner>]]] on thread main-SharedResourceRunner<br></div><div>    [0]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:518)<br></div><div>    [1]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)<br></div><div>    [2]: java.lang.Thread.run(Thread.java:748)<br></div><div>Caused[0] by NoSuchMethodError: java.nio.IntBuffer.rewind()Ljava/nio/IntBuffer; on thread main-SharedResourceRunner<br></div><div>    [0]: com.jogamp.common.nio.Buffers.newDirectIntBuffer(Buffers.java:146)<br></div><div>    [1]: com.jogamp.common.nio.Buffers.newDirectIntBuffer(Buffers.java:150)<br></div><div>    [2]: com.jogamp.common.nio.Buffers.newDirectIntBuffer(Buffers.java:154)<br></div><div>    [3]: jogamp.opengl.egl.EGLGraphicsConfiguration.EGLConfig2Capabilities(EGLGraphicsConfiguration.java:221)<br></div><div>    [4]: jogamp.opengl.egl.EGLGraphicsConfigurationFactory.eglConfigs2GLCaps(EGLGraphicsConfigurationFactory.java:481)<br></div><div>    [5]: jogamp.opengl.egl.EGLDrawableFactory.getAvailableEGLConfigs(EGLDrawableFactory.java:962)<br></div><div>    [6]: jogamp.opengl.egl.EGLDrawableFactory.access$800(EGLDrawableFactory.java:88)<br></div><div>    [7]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.mapAvailableEGLESConfig(EGLDrawableFactory.java:679)<br></div><div>    [8]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createEGLSharedResourceImpl(EGLDrawableFactory.java:613)<br></div><div>    [9]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:516)<br></div><div>    [10]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)<br></div><div>    [11]: java.lang.Thread.run(Thread.java:748)<br></div><div>Caught handled GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x1f4f0f8, isOwner false, <1c08638, 40f0>[count 0, qsz 0, owner <NULL>]]] on thread main-SharedResourceRunner<br></div><div>    [0]: jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:306)<br></div><div>    [1]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)<br></div><div>    [2]: java.lang.Thread.run(Thread.java:748)<br></div></div></blockquote><div><br></div><div>while I am still able to launch the Scilab and perform most operation, however, when I tried to plot a figure, i get:<br></div><div><br></div><div><br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>java.lang.reflect.InvocationTargetException<br></div><div>        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)<br></div><div>        at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)<br></div><div>        at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)<br></div><div>        at org.scilab.modules.gui.SwingView.updateObject(Unknown Source)<br></div><div>        at org.scilab.modules.graphic_objects.graphicController.GraphicController$2.run(Unknown Source)<br></div><div>        at org.scilab.modules.graphic_objects.graphicController.GraphicController.objectUpdate(Unknown Source)<br></div><div>        at org.scilab.modules.graphic_objects.graphicController.GraphicController.setGraphicObjectRelationship(Unknown Source)<br></div><div>        at org.scilab.modules.graphic_objects.builder.Builder.cloneAxesModel(Unknown Source)<br></div><div>        at org.scilab.modules.graphic_objects.builder.Builder.createNewFigureWithAxes(Unknown Source)<br></div><div>Caused by: com.jogamp.opengl.GLException: Profile GL_DEFAULT is not available on X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x1f4f0f8, isOwner false, <1c08638, 40f0>[count 0, qsz 0, owner <NULL>]]], but: []<br></div><div>        at com.jogamp.opengl.GLProfile.get(GLProfile.java:991)<br></div><div>        at com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:722)<br></div><div>        at com.jogamp.opengl.awt.GLJPanel.<init>(GLJPanel.java:363)<br></div><div>        at com.jogamp.opengl.awt.GLJPanel.<init>(GLJPanel.java:337)<br></div><div>        at com.jogamp.opengl.awt.GLJPanel.<init>(GLJPanel.java:325)<br></div><div>        at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl$SafeGLJPanel.<init>(Unknown Source)<br></div><div>        at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl$SafeGLJPanel.<init>(Unknown Source)<br></div><div>        at org.scilab.modules.gui.bridge.canvas.SwingScilabCanvasImpl.createOpenGLComponent(Unknown Source)<br></div></div></blockquote><div>.<br></div><div>Any suggestion what I need to change for the compilation?<br></div><div><br></div><div>I compile scilab with:<br></div><div>1. gcc, g++, gfortran v 8, and also another try on v9<br></div><div>2. openjdk-8-jdk<br></div><div>3. Tried Raspbian, Ubuntu for Pi 18.04 , same issue. <br></div><div>4. Applied jogl 2.3.2 patch.<br></div><div><br></div><div>Thanks.<br></div><div><br></div><div>Rgds,<br></div><div>CL</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 Thu, 07 May 2020 00:45:23 +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><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>Hi, <br></div><div><br></div><div>I tried to compile scilab 6.1 under raspberry pi 4, and the compilation completed with scilab lauched with following messages:<br></div><div><br></div></div><div><br></div></div><div>_______________________________________________ <br></div><div>users mailing list <br></div><div>users@lists.scilab.org <br></div><div>http://lists.scilab.org/mailman/listinfo/users <br></div></blockquote></div><div><br></div></div><br><span>_______________________________________________</span><br><span>dev mailing list</span><br><span>dev@lists.scilab.org</span><br><span>https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/dev</span><br></div></blockquote></body></html>