ribasco / glcd-emulator Goto Github PK
View Code? Open in Web Editor NEWA cross-platform graphics LCD simulator for embedded devices (arduino) and single board computers
License: GNU General Public License v3.0
A cross-platform graphics LCD simulator for embedded devices (arduino) and single board computers
License: GNU General Public License v3.0
When switching between profiles, the properties in DrawTestService and DisplayService does not get updated and selecting a new display on an active profile will propagate to the other existing profiles.
Add filters for:
Add the following columns to the profile table view
Hi, I installed glcd-emulator-setup-amd64.exe
but unfortunately it can't launch.
GLCD Simulator.exe
created by the installer gives 3 seperate error messages. First a blank box titled by "Failed to find library.", then Failed to locate JNI_CreateJavaVM
and finally Failed to launch JVM
.java -jar app/glcd-emulator-1.1.0-alpha.jar
the main program window launches normally. But when I click the Fonts button, a Java exception pops up shown below.Java version (not sure if it is related but..)
C:\Users\Hazar>java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) Client VM (build 25.201-b09, mixed mode)
Am I doing something wrong?
Here is the full trace:
java.lang.ExceptionInInitializerError
at com.ibasco.ucgdisplay.drivers.glcd.U8g2DriverAdapter.initialize(U8g2DriverAdapter.java:68)
at com.ibasco.ucgdisplay.drivers.glcd.GlcdBaseDriver.initialize(GlcdBaseDriver.java:124)
at com.ibasco.ucgdisplay.drivers.glcd.GlcdDriver.<init>(GlcdDriver.java:62)
at com.ibasco.ucgdisplay.drivers.glcd.GlcdDriver.<init>(GlcdDriver.java:57)
at com.ibasco.glcdemulator.DriverFactory.createVirtual(DriverFactory.java:119)
at com.ibasco.glcdemulator.DriverFactory.createVirtual(DriverFactory.java:60)
at com.ibasco.glcdemulator.utils.FontRenderer.initialize(FontRenderer.java:91)
at com.ibasco.glcdemulator.utils.FontRenderer.<init>(FontRenderer.java:86)
at com.ibasco.glcdemulator.utils.FontRenderer.<init>(FontRenderer.java:39)
at com.ibasco.glcdemulator.utils.FontRenderer$InstanceHolder.<clinit>(FontRenderer.java:82)
at com.ibasco.glcdemulator.utils.FontRenderer.getInstance(FontRenderer.java:129)
at com.ibasco.glcdemulator.controllers.GlcdFontBrowserController.<init>(GlcdFontBrowserController.java:165)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.ibasco.glcdemulator.Controllers.lambda$getController$0(Controllers.java:91)
at java.util.HashMap.computeIfAbsent(Unknown Source)
at com.ibasco.glcdemulator.Controllers.getController(Controllers.java:80)
at com.ibasco.glcdemulator.Controllers.getController(Controllers.java:53)
at com.ibasco.glcdemulator.utils.ResourceUtil.lambda$loadFxmlResource$0(ResourceUtil.java:116)
at javafx.fxml.FXMLLoader$ValueElement.processAttribute(FXMLLoader.java:929)
at javafx.fxml.FXMLLoader$InstanceDeclarationElement.processAttribute(FXMLLoader.java:971)
at javafx.fxml.FXMLLoader$Element.processStartElement(FXMLLoader.java:220)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:744)
at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2707)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2527)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
at com.ibasco.glcdemulator.utils.ResourceUtil.loadFxmlResource(ResourceUtil.java:119)
at com.ibasco.glcdemulator.StageHelper.createStageFromResource(StageHelper.java:76)
at com.ibasco.glcdemulator.StageHelper.createDialog(StageHelper.java:62)
at com.ibasco.glcdemulator.StageHelper.createDialog(StageHelper.java:58)
at com.ibasco.glcdemulator.Stages.getFontBrowserStage(Stages.java:85)
at com.ibasco.glcdemulator.controllers.GlcdEmulatorController.openFontBrowserAction(GlcdEmulatorController.java:1814)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Node.fireEvent(Node.java:8411)
at javafx.scene.control.Button.fire(Button.java:185)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:394)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$353(GlassViewEventHandler.java:432)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:431)
at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
at com.sun.glass.ui.View.notifyMouse(View.java:937)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
at java.lang.Thread.run(Unknown Source)
Caused by: com.ibasco.ucgdisplay.common.exceptions.NativeLibraryLoaderException: Unable to load required native library
at com.ibasco.ucgdisplay.core.u8g2.U8g2Graphics.<clinit>(U8g2Graphics.java:163)
... 87 more
Caused by: java.io.IOException: Couldn't find resource lib/windows/x86/ ucgdisp.dll
at org.scijava.nativelib.BaseJniExtractor.extractJni(BaseJniExtractor.java:158)
at com.ibasco.ucgdisplay.common.utils.UCGDJniExtractor.findLibrary(UCGDJniExtractor.java:94)
at com.ibasco.ucgdisplay.common.utils.UCGDJniExtractor.extractJni(UCGDJniExtractor.java:52)
at org.scijava.nativelib.NativeLoader.loadLibrary(NativeLoader.java:126)
at com.ibasco.ucgdisplay.common.utils.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:53)
at com.ibasco.ucgdisplay.core.u8g2.U8g2Graphics.<clinit>(U8g2Graphics.java:161)
... 87 more
I can't find how to start developer mode.
Hi!
Installation went smooth and package was installed into /programs. But when I try to rund the application, it does open and close right away. Any idea if this is a Java issue?
java version "16.0.1" 2021-04-20
Java(TM) SE Runtime Environment (build 16.0.1+9-24)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
Thanks!
AndrΓ©
Really cool tool.
I`ve used it to grab framebuffer of my device.
But It will be good to have LCD rotate feature.
Add a more comprehensive draw test procedures covering most of the drawing operations of the graphics library
Sorry for silly question, but I don't know any Java.
I've install Java SE JavaSetup8u251.exe
and jdk-14.0.1_windows-x64_bin.exe
but still get this error.
My system is Windows 10.
I've try to run GLCD Simulator.exe
from windows command line, but don't get any error message.
Error messages:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.