opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

Cannot start desktop example #116

Open karussell opened 10 years ago

karussell commented 10 years ago
  1. In the docs there is a minor mistake for the desktop command. It should say: './gradlew :vtm-desktop:run'
  2. when I then run this I get:
java.lang.RuntimeException: Couldn't load shared library 'libjglfw.so' for target: Linux, 32-bit
    at com.badlogic.jglfw.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:115)
    at com.badlogic.jglfw.Glfw.glfwInit(Glfw.java:424)
    at com.badlogic.gdx.backends.jglfw.JglfwApplication.initialize(JglfwApplication.java:121)
    at com.badlogic.gdx.backends.jglfw.JglfwApplication$1.run(JglfwApplication.java:87)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Unable to read file for extraction: libjglfw.so
    at com.badlogic.jglfw.utils.SharedLibraryLoader.readFile(SharedLibraryLoader.java:124)
    at com.badlogic.jglfw.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:245)
    at com.badlogic.jglfw.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:113)
    ... 4 more

BTW: android is ... wow!

hjanetzek commented 10 years ago

hmm it seems jglfw does not contain 32bit libs for linux. checkout jglfw and build it locally for now. a mvn clean install might suffice - or kindly ask the gdx guys :)