1. SDL2 console widgets -- attn: Jean-Marc DURO
- Posted by K_D_R Jan 16, 2016
- 1300 views
Which version(s) of euphoria were you using on Mint Linux? Both test programs failed on my Ubuntu 15.10 64-bit system, The ex.err files where too large to post here.
Euphoria Interpreter v4.1.0 development 64-bit Linux, Using System Memory Revision Date: 2015-02-02 14:18:53, Id: 5861:57179171dbed /home/kenneth/euprogs/Structures/graphics/Tests/./Include/EuSDL2.e:41 in function SDL_Init() c_proc/c_func: bad routine number (-1) flags = 29233 ... called from /home/kenneth/euprogs/Structures/graphics/Tests/test_gfx.ex:11 /home/kenneth/euprogs/Structures/graphics/Tests/./Include/EuSDL2.e:41 in function SDL_Init() c_proc/c_func: bad routine number (-1) ========================================================================================== ... called from /home/kenneth/euprogs/Structures/graphics/Tests/test_gfx2.ex:57 ex.err: /home/kenneth/euprogs/Structures/graphics/Tests/./Include/EuSDL2.e:41 in function SDL_Init() c_proc/c_func: bad routine number (-1) flags = 29233 ... called from /home/kenneth/euprogs/Structures/graphics/Tests/test_gfx2.ex:57
2. Re: SDL2 console widgets -- attn: Jean-Marc DURO
- Posted by jmduro Jan 17, 2016
- 1287 views
This is not related to OE version. Some prerequisites are not met. In a future release I will have to check for those prerequisites, but I can't check for all Linux systems.
To find which packages are missing, install as root package apt-file, then type apt-file update and apt-file search <file name> That may be the best way to check for missing packages instead of relying on a list of files to be maintained.
~ > sudo apt-file search libSDL2.so libsdl2-dev: /usr/lib/i386-linux-gnu/libSDL2.so ~ > sudo apt-file search libSDL2_gfx.so libsdl2-gfx-dev: /usr/lib/i386-linux-gnu/libSDL2_gfx.so
To get it run under Linux Ubuntu or Mint, you need to have following packets installed: libsdl2-dev and libsdl2-gfx-dev. Also check in EuSDL2.e and EuSDL2_gfx.e that the path to those files correspond to yours.
It should run then.
Jean-Marc
3. Re: SDL2 console widgets -- attn: Jean-Marc DURO
- Posted by K_D_R Jan 18, 2016
- 1256 views
Thanks, Jean_Marc,
Installing libsdl2-dev and libsdl2-gfx-dev did the trick.
Ken