libgdx / box2dlights

Fork of box2dlights by Kalle Hamalainen
Apache License 2.0
255 stars 82 forks source link

Box2dlights 1.3 , robovm 1.4.0 , libgdx 1.6.3 -> NoSuchMethodError #67

Closed tajny closed 7 years ago

tajny commented 9 years ago

It seems 1.6.2 broke this

java.lang.NoSuchMethodError: com.badlogic.gdx.graphics.glutils.FrameBuffer.getColorBufferTexture()Lcom/badlogic/gdx/graphics/Texture;
    at box2dLight.LightMap.gaussianBlur(LightMap.java:76)
    at box2dLight.LightMap.render(LightMap.java:37)
    at box2dLight.RayHandler.render(RayHandler.java:328)
    at box2dLight.RayHandler.updateAndRender(RayHandler.java:262)
rinold commented 9 years ago

Have you tried latest box2dlights 1.4?

shiro900 commented 9 years ago

I had the same exact error. I downloaded the SOURCE code of the library and placed it in my project. Corrected some errors (changed a few variables to public) and everything worked fine.

rileyrg commented 9 years ago

Updating the gradle dependency to box2dlights 1.4fixed this for me after moving to snapshot 1.6.4

compile "com.badlogicgames.box2dlights:box2dlights:1.4"