<legend id='Xd6DZ'><style id='Xd6DZ'><dir id='Xd6DZ'><q id='Xd6DZ'></q></dir></style></legend>

  • <i id='Xd6DZ'><tr id='Xd6DZ'><dt id='Xd6DZ'><q id='Xd6DZ'><span id='Xd6DZ'><b id='Xd6DZ'><form id='Xd6DZ'><ins id='Xd6DZ'></ins><ul id='Xd6DZ'></ul><sub id='Xd6DZ'></sub></form><legend id='Xd6DZ'></legend><bdo id='Xd6DZ'><pre id='Xd6DZ'><center id='Xd6DZ'></center></pre></bdo></b><th id='Xd6DZ'></th></span></q></dt></tr></i><div id='Xd6DZ'><tfoot id='Xd6DZ'></tfoot><dl id='Xd6DZ'><fieldset id='Xd6DZ'></fieldset></dl></div>
    <tfoot id='Xd6DZ'></tfoot>

    <small id='Xd6DZ'></small><noframes id='Xd6DZ'>

      • <bdo id='Xd6DZ'></bdo><ul id='Xd6DZ'></ul>

      1. 如何在 mac osx 上加载 libgdx 桌面应用程序?

        时间:2023-05-19
        • <tfoot id='ZB2oM'></tfoot>

            <small id='ZB2oM'></small><noframes id='ZB2oM'>

                  <tbody id='ZB2oM'></tbody>
                <i id='ZB2oM'><tr id='ZB2oM'><dt id='ZB2oM'><q id='ZB2oM'><span id='ZB2oM'><b id='ZB2oM'><form id='ZB2oM'><ins id='ZB2oM'></ins><ul id='ZB2oM'></ul><sub id='ZB2oM'></sub></form><legend id='ZB2oM'></legend><bdo id='ZB2oM'><pre id='ZB2oM'><center id='ZB2oM'></center></pre></bdo></b><th id='ZB2oM'></th></span></q></dt></tr></i><div id='ZB2oM'><tfoot id='ZB2oM'></tfoot><dl id='ZB2oM'><fieldset id='ZB2oM'></fieldset></dl></div>
                <legend id='ZB2oM'><style id='ZB2oM'><dir id='ZB2oM'><q id='ZB2oM'></q></dir></style></legend>

                  <bdo id='ZB2oM'></bdo><ul id='ZB2oM'></ul>
                  本文介绍了如何在 mac osx 上加载 libgdx 桌面应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我一直在我的 Windows 7 PC 上使用 libgdx 开发一个简单的游戏.最近我买了一个macbook pro(山狮).我下载并安装了 JRE 7 和 eclipse,然后克隆并导入了项目.但是,尽管在我运行桌面版本时代码中没有错误,但 JVM 加载并迅速死亡.我在控制台中得到的错误如下:

                  I have been developing a simple game using libgdx on my Windows 7 PC. Recently I bought a macbook pro (mountain lion). I downloaded and installed JRE 7 and eclipse, then cloned and imported the project. However though there are no errors in the code when I run the desktop version I the JVM loads and quickly dies. The error I get in the console is as follows:

                  JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM
                  _NSJVMLoadLibrary: NSAddLibrary failed for /libjawt.dylib
                  JavaVM FATAL: lookup of function JAWT_GetAWT failed. Exit
                  AL lib: ReleaseALC: 1 device not closed
                  

                  我已将 JRE 7 添加到构建路径库中,但仍然不满意.

                  I've added JRE 7 to the build path libraries, still no joy.

                  桌面通过此代码启动:

                  import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
                  import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
                  
                  public class Main {
                      public static void main(String[] args) {
                          LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
                          cfg.title = "colourgame";
                          cfg.useGL20 = false;
                          cfg.width = 480;
                          cfg.height = 800;
                          
                          new LwjglApplication(new ColourGame(), cfg);
                      }
                  }
                  

                  真的坚持这个.

                  推荐答案

                  据此http://lwjgl.org/forum/index.php/topic,4711.0.html问题在于 JRE 7 update 6 与 Lwjgl 的兼容性.

                  According to this http://lwjgl.org/forum/index.php/topic,4711.0.html problem is with compatibility of JRE 7 update 6 with Lwjgl.

                  问题似乎已在较新版本的库中得到修复.我不确定 libgdx 是否已相应更新,但您可以尝试将新版本放入您的 libs 文件夹中.

                  Problem seems to be fixed in a newer release of the library. I'm not sure if libgdx is updaetd accordingly but you can try to put the new version in your libs folder.

                  这篇关于如何在 mac osx 上加载 libgdx 桌面应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Libgdx 3d 中的光线投射 下一篇:libgdx android 启动失败

                  相关文章

                  最新文章

                  <i id='vx0Ej'><tr id='vx0Ej'><dt id='vx0Ej'><q id='vx0Ej'><span id='vx0Ej'><b id='vx0Ej'><form id='vx0Ej'><ins id='vx0Ej'></ins><ul id='vx0Ej'></ul><sub id='vx0Ej'></sub></form><legend id='vx0Ej'></legend><bdo id='vx0Ej'><pre id='vx0Ej'><center id='vx0Ej'></center></pre></bdo></b><th id='vx0Ej'></th></span></q></dt></tr></i><div id='vx0Ej'><tfoot id='vx0Ej'></tfoot><dl id='vx0Ej'><fieldset id='vx0Ej'></fieldset></dl></div>

                  <tfoot id='vx0Ej'></tfoot>
                    • <bdo id='vx0Ej'></bdo><ul id='vx0Ej'></ul>
                    <legend id='vx0Ej'><style id='vx0Ej'><dir id='vx0Ej'><q id='vx0Ej'></q></dir></style></legend>

                      <small id='vx0Ej'></small><noframes id='vx0Ej'>