I try run this code http://tinfig.com/git/gdx-bullet-demos/
In Windows it does not work and crashes with an error
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)
At Android working fine.
How fix it?
Thanks.
查看是否可以看到gdx-bullet.dll,将其放在当前目录中,然后使用-Djava.library.path =“参数启动jvm。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.