View previous topic :: View next topic |
Author |
Message |
JetBird
Joined: 15 Aug 2007 Posts: 12
|
Posted: Tue Mar 04, 2008 1:37 am Post subject: Ubuntu 7.10 + derelictsdl + derelictsdlnet + tango + dsss |
|
|
that combination produces these errors if I try to compile my source code:
http://trac2.assembla.com/neiderra2/ticket/51
you see, there are dlopen, dlclose, ... , errors correlated with derelict, and others probably with tango.
maybe that's all because of wrong installation..
i have downloaded the old bundle of dsss-0.74+tango-0.99.4+gdc, then installed it and fixed:
1) that error in gdmd script ($header=1),
2) the environment setting in ...dsss-install-path.../etc/rebuild/default I've changed the gdc-posix to gdc-posix-tango.
only after that fixes I finally 'dsss net installed' derelict*, minid, etc... and 'rebuild' finally stopped thinking that it uses phobos as default lib.
then I 'sudo aptitude installed sdl, sdlnet' (latest versions in repository):
1.2.11-9ubuntu2 of sdl and 1.2.5-7 of sdlnet.
P.S. under dmd/tango/windows everything is ok.
sources: http://trac2.assembla.com/neiderra2/browser |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
|
Back to top |
|
|
JetBird
Joined: 15 Aug 2007 Posts: 12
|
Posted: Fri Mar 07, 2008 3:54 pm Post subject: |
|
|
ok, that worked well, but now I have this runtime error:
derelict.util.exception.SharedLibProcLoadException: Failed to load proc SDLNet_Linked_Version from shared library libSDL_net-1.2.so.0
SDLnet version is 1.2.5-7
derelict.sdl.net version is 1.2.5
SDL version is 1.2.11...
derelict.sdl version is 1.2.10 |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sat Mar 08, 2008 5:48 am Post subject: |
|
|
A quick Google search led me to this page. In order to work around it, two solutions come to mind: compile your own SDLNet binary (which you would also need to bundle with your app if you distribute it) or take ignore the exception via Derelict's selective loading mechanism (which you can read all about in the Derelict docs). I'd go for the latter option, unless you need to actually use that function. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
JetBird
Joined: 15 Aug 2007 Posts: 12
|
Posted: Wed Mar 12, 2008 9:09 am Post subject: |
|
|
I have downloaded SDL, SDLnet sources and then compiled them (just configure, make, make install commands, nothing more..); also I changed compiler to DMD and used Tango 0.99.5 and DSSS 0.75.
'dsss net install derelict, sdl, sdlnet' was successfull, and finally I've compiled my project.
It's finally ok, but there is an error in runtime:
Code: |
No available video device
|
produced by SDL_Init(SDL_INIT_VIDEO) |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Wed Mar 12, 2008 8:07 pm Post subject: |
|
|
JetBird wrote: | I have downloaded SDL, SDLnet sources and then compiled them (just configure, make, make install commands, nothing more..); also I changed compiler to DMD and used Tango 0.99.5 and DSSS 0.75.
'dsss net install derelict, sdl, sdlnet' was successfull, and finally I've compiled my project.
It's finally ok, but there is an error in runtime:
Code: |
No available video device
|
produced by SDL_Init(SDL_INIT_VIDEO) |
That's not a Derelict issue, but is an error internal to SDL. You should take it to the SDL mailing list. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|