0

このコードを実行してみます http://tinfog.com/git/gdx-bullet-demos/

Windows では動作せず、エラーでクラッシュします

Caused by: java.lang.RuntimeException: Couldn't load shared library: 'gdx-bullet' for target Windows 7, 32-bit
at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:151)
at com.badlogic.gdx.physics.bullet.Bullet.init(Bullet.java:26)
at com.badlogic.gdx.physics.bullet.demo.screens.SimulationScreen.<clinit>(SimulationScreen.java:38)

Androidでは正常に動作しています。

どのように修正しますか?

ありがとう。

4

1 に答える 1

0

gdx-bullet.dll が表示されるかどうかを確認し、それを現在のディレクトリに置き、このパラメーター -Djava.library.path="." を使用して jvm を開始します。

于 2012-11-26T02:11:08.490 に答える