Dgame RC #1

Craig Dillabaugh via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Apr 1 19:54:48 PDT 2015


On Thursday, 2 April 2015 at 02:36:52 UTC, Craig Dillabaugh wrote:
> On Wednesday, 1 April 2015 at 18:30:01 UTC, Namespace wrote:
>> Since the weekend Dgame went into the release phase:
>> https://github.com/Dgame/Dgame/releases/tag/v0.5.0-rc.1
>> http://dgame-dev.de/?page=download
>>
>> The Website (http://dgame-dev.de/) is fully updated  and 
>> should be useable on every device. Please let me know if you 
>> noticed unexpected behavior (at Dgame or on the website).
>> I also want to participate on "one game a month 
>> (http://www.onegameamonth.com/). I hope you will vote for me 
>> there. ;)
>> I'm sure that will bring some new light to the D community and 
>> it will be a good stress test for Dgame.
>
> Hi. I tried to build the first tutorial example from the Dgame 
> website.  It builds fine, but I get the following error when 
> attempting to run.
>
>> ./game1
> derelict.util.exception.SymbolLoadException at ../../../.dub/packages/derelict-util-1.9.1/source/derelict/util/exception.d(35): 
> Failed to load symbol SDL_HasAVX from shared library libSDL2.so
>
>> ldd game1
>         linux-vdso.so.1 (0x00007fff25d89000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f8517616000)
>         libpthread.so.0 => /lib64/libpthread.so.0 
> (0x00007f85173f8000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007f85170f5000)
>         librt.so.1 => /lib64/librt.so.1 (0x00007f8516eed000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007f8516b3f000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f851781a000)
>
> libSDL2.so is in /usr/lib64 but I copied it to the game1 
> directory for good measure, but it still couldn't run.
>
> System is 64-bit OpenSuse 13.3
>> uname -a
> Linux linux-qlhb.site 3.11.10-25-desktop #1 SMP PREEMPT Wed Dec 
> 17 17:57:03 UTC 2014 (8210f77) x86_64 x86_64 x86_64 GNU/Linux
>
> My dub.json file (dub version 0.9.22)
> {
> 	"name": "game1",
> 	"description": "My first dgame attempt.",
> 	"copyright": "Copyright © 2015, Craig Dillabaugh",
> 	"authors": ["Craig Dillabaugh"],
> 	"dependencies": {
> 	    "dgame": ">=0.5.0-rc.1"
> 	}
> }
>
> Any tips on how to correct this would be appreciated.

Just a follow up comment.  Apparently the instructions for 
installing all libraries at once in the tutorial don't work for 
OpenSuse.  So I couldn't just install the SDL library but had to 
install the other libraries individually:

So just in case there are any other OpenSuse users out there 
(note, I suppose I didn't need the devel version of libSDL2 ...):

sudo zypper in libSDL2-devel
sudo zypper in libSDL2_image-2_0-0
sudo zypper in libSDL2_mixer-2_0-0
sudo zypper in libSDL2_ttf-2_0-0

Unfortunately libSDL2_mixer-2_0-0 install keeps failing because 
the OpenSuse repositories don't seem to have the file, weird!  I 
don't know if that is the source of my troubles but may have to 
build SDL form scratch.  Anyway, I have to get some sleep but I 
will try building SDL myself and see if that can fix things.

Craig





More information about the Digitalmars-d-announce mailing list