【发布时间】:2014-10-28 19:48:04
【问题描述】:
我一直在尝试使用 libgdx 开始一些开发,并且一直在遵循设置教程。 https://code.google.com/p/libgdx/wiki/ProjectSetupNew
但是,当我尝试运行桌面应用程序时,出现以下错误:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x6cee60ce, pid=1908, tid=2912
#
# JRE version: 7.0_25-b17
# Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [gdx.dll+0x260ce] Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_load+0xde
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Documents and Settings\Administrator\workspace\my-gdx-game-desktop\hs_err_pid1908.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
AL lib: (EE) alc_cleanup: 1 device not closed
然而,android 应用程序运行良好。我正在运行 Windows XP。任何帮助将不胜感激,因为我无法在其他地方找到解决方案。
【问题讨论】:
-
哪个版本的 libgdx?
-
可能无关紧要,但为什么要在管理员帐户上运行 java?
-
@noone 不是。相关部分是关于加载图像。
-
试试 JDK1.6.x,LibGDX 和 JDK1.7 有(旧的?)问题。
-
是否有任何 libgdx 纹理测试应用程序运行?也许您正在加载的图像中有一些时髦的东西?或者 gdx.dll 已损坏(您可以尝试重新下载...)。