我试图在 Asus TinkerBoard 上运行每晚 chriswhocodes构建的armv6hf 上的 Asus TinkerBoard 应用程序,但它会抛出启动时出现异常( libbrcmGLESv2.so )。
- 修补程序操作系统: 20180222-tinker-board-linaro-stretch-alip-v2.0.5
- JDK : ezdk-1.8.0_172-8.30.0.106-eval-linux_aarch32sf
- JavaFX : openjfx-8-sdk-overlay-linux-armv6hf-libbrcm-fix (page)
例外:
Prism pipeline init order: es2 sw
Using native-based Pisces rasterizer
Using dirty region optimizations
Using system sized mask for primitives
Not forcing power of 2 sizes for textures
Using hardware CLAMP_TO_ZERO mode
Opting in for HiDPI pixel scaling
Prism pipeline name = com.sun.prism.es2.ES2Pipeline
Loading ES2 native library ... prism_es2_monocle
succeeded.
GLFactory using com.sun.prism.es2.MonocleGLFactory
java.lang.UnsatisfiedLinkError: Error loading libbrcmGLESv2.so
at com.sun.glass.ui.monocle.AcceleratedScreen.initPlatformLibraries(AcceleratedScreen.java:153)
at com.sun.glass.ui.monocle.AcceleratedScreen.<init>(AcceleratedScreen.java:68)
at com.sun.glass.ui.monocle.X11AcceleratedScreen.<init>(X11AcceleratedScreen.java:39)
at com.sun.glass.ui.monocle.X11Platform.getAcceleratedScreen(X11Platform.java:87)
at com.sun.prism.es2.MonocleGLFactory.initialize(MonocleGLFactory.java:107)
at com.sun.prism.es2.ES2Pipeline.<clinit>(ES2Pipeline.java:81)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sun.prism.GraphicsPipeline.createPipeline(GraphicsPipeline.java:187)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:91)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
at java.lang.Thread.run(Thread.java:748)
(X) Got class = class com.sun.prism.es2.ES2Pipeline
GraphicsPipeline.createPipeline: error initializing pipeline com.sun.prism.es2.ES2Pipeline
*** Fallback to Prism SW pipeline
Prism pipeline name = com.sun.prism.sw.SWPipeline
(X) Got class = class com.sun.prism.sw.SWPipeline
Initialized prism pipeline: com.sun.prism.sw.SWPipeline
java.lang.NullPointerException
at com.sun.glass.ui.monocle.X11Cursor.<init>(X11Cursor.java:52)
at com.sun.glass.ui.monocle.X11WarpingCursor.<init>(X11WarpingCursor.java:31)
at com.sun.glass.ui.monocle.X11Platform.createCursor(X11Platform.java:67)
at com.sun.glass.ui.monocle.NativePlatform.getCursor(NativePlatform.java:92)
at com.sun.glass.ui.monocle.MouseInput.setState(MouseInput.java:128)
at com.sun.glass.ui.monocle.MonocleApplication.staticScreen_getScreens(MonocleApplication.java:258)
at com.sun.glass.ui.Screen.initScreens(Screen.java:328)
at com.sun.glass.ui.Application.lambda$run$1(Application.java:154)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.lang.Thread.run(Thread.java:748)
vsync: true vpipe: false
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.sun.glass.ui.monocle.X11Cursor.<init>(X11Cursor.java:52)
at com.sun.glass.ui.monocle.X11WarpingCursor.<init>(X11WarpingCursor.java:31)
at com.sun.glass.ui.monocle.X11Platform.createCursor(X11Platform.java:67)
at com.sun.glass.ui.monocle.NativePlatform.getCursor(NativePlatform.java:92)
at com.sun.glass.ui.monocle.MonocleApplication.staticCursor_setVisible(MonocleApplication.java:179)
at com.sun.glass.ui.monocle.MonocleApplication.updateDeviceFlags(MonocleApplication.java:98)
at com.sun.glass.ui.monocle.MonocleApplication.lambda$new$1(MonocleApplication.java:78)
at com.sun.javafx.collections.SetListenerHelper$SingleChange.fireValueChangedEvent(SetListenerHelper.java:163)
at com.sun.javafx.collections.SetListenerHelper.fireValueChangedEvent(SetListenerHelper.java:72)
at com.sun.javafx.collections.ObservableSetWrapper.callObservers(ObservableSetWrapper.java:128)
at com.sun.javafx.collections.ObservableSetWrapper.add(ObservableSetWrapper.java:269)
at com.sun.glass.ui.monocle.LinuxInputDeviceRegistry.addDeviceInternal(LinuxInputDeviceRegistry.java:104)
at com.sun.glass.ui.monocle.LinuxInputDeviceRegistry.createDevice(LinuxInputDeviceRegistry.java:83)
at com.sun.glass.ui.monocle.LinuxInputDeviceRegistry.lambda$new$0(LinuxInputDeviceRegistry.java:55)
at com.sun.glass.ui.monocle.Udev$1.run(Udev.java:107)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.sun.glass.ui.monocle.X11Cursor.<init>(X11Cursor.java:52)
at com.sun.glass.ui.monocle.X11WarpingCursor.<init>(X11WarpingCursor.java:31)
at com.sun.glass.ui.monocle.X11Platform.createCursor(X11Platform.java:67)
at com.sun.glass.ui.monocle.NativePlatform.getCursor(NativePlatform.java:92)
at com.sun.glass.ui.monocle.MouseInput.setState(MouseInput.java:128)
at com.sun.glass.ui.monocle.LinuxMouseProcessor.processEvents(LinuxMouseProcessor.java:101)
at com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor.run(LinuxInputDevice.java:181)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.lang.Thread.run(Thread.java:748)
我可以使用Gluon的8.60.9正确运行它。