Dear all,
i am new to nim and tried to install nimgame2 via nimble.
Installation looks fine, but when i compile and run a "demo" (from nimgame github) i get "could not import: SDL_RenderSetIntegerScale".
$ nimble list -i
nimgame2 [#head, 0.5.0] sdl2_nim [#head]
Ubuntu 16.04 / nim 17.0
Any hints,
Antic
English below
Hm, gute Frage. Hab gerade nim 0.17.0, und alle nötigen SDL2 (x64) binaries runtergeladen und demo01 kompiliert.
Läuft einwandfrei.
Hier das Paket (ohne nim/mingw). Teste mal ob du das kompilieren kannst. http://dropcanvas.com/4R8qdEY7KRhgVI
Sorry gerade erst gelesen dass du auf Linux arbeitest. Das paket ist für Windows. ^^
Hm, good question. Just downloaded nim 0.17.0 an all needed SDL2 (x64) binaries and compiled demo01.
Works just fine.
Here the packet (without nim/mingw). Try if you can compile this one. http://dropcanvas.com/4R8qdEY7KRhgVI
Sorry, just realized that you work on Linux. The Package is for Windows. ^^
Check your runtime SDL2 libraries. As specified at project page, the engine requires SDL2 v2.0.5.
Also, such questions better be asked at github where I could notice them more easily.
Yes, you are right, I have the wrong versions (sdl 2.0.0, etc). I try to install the correct versions.
Sorry, Antic