小编Aez*_*zur的帖子

使用framebuffer错误Cubieboard A10运行JavaFX应用程序

由于javafx支持Raspberry PI.我想在帧缓冲区中运行FX应用程序.我正在使用Lubuntu LCD显示图像.

当我尝试运行JavaFX应用程序时

java -Djavafx.platform=eglfb Hello.jar
Run Code Online (Sandbox Code Playgroud)

我收到以下错误

我正在使用java8嵌入式hardfloat.

libEGL warning: DRI2: failed to authenticate
eglCreateWindowSurface failed! eglGetError 12291
eglMakeCurrent failed - 12288
Failed to create EGLContextGraphics Device initialization failed for :  es2
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
    at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:300)
    at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:244)
    at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:179)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:214)
    at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:653)
    at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:314)
    at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:305)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: …
Run Code Online (Sandbox Code Playgroud)

java linux arm javafx-8

5
推荐指数
1
解决办法
2932
查看次数

我该如何运行c#源代码?

可能重复:
是否可以安装没有Visual Studio的c#编译器?

我刚刚完成了Global Game Jam 13,我在那里担任艺术家.我有游戏的文件,但我不知道如何运行它们.它是文件夹中的所有.cs文件和文件夹.如何制作可执行文件?

c#

0
推荐指数
1
解决办法
254
查看次数

C - sizeof(字符串)结果小于应有的结果

我知道字符串的长度应为n + 1,但由于某种原因,我的程序将sizeof(字符串)打印为n-2.

#include <stdio.h>
#include <stdlib.h>

int main()
{
    char name [] = "Tom";
    int x = sizeof(name);
    int i;

    printf("sizeof(name) = %d\n", i);

    for(i = 0; i < x; i++)
    {
        printf("Character at %d is %c\n", i, name[i]);
    }

    return 0;
} 
Run Code Online (Sandbox Code Playgroud)

有谁能解释为什么?

c sizeof

0
推荐指数
1
解决办法
82
查看次数

标签 统计

arm ×1

c ×1

c# ×1

java ×1

javafx-8 ×1

linux ×1

sizeof ×1