Topic options
View mode
Newest First
Re: SDL2
Posted on:
2015/10/5 21:32
#21
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
Hello, Configuring and installing SDL 2 will interfere in some way with SDL 1.2? Any news or update on this? thank you very much
Retired
Re: SDL2
Posted on:
2015/10/6 7:06
#22
Quite a regular
Joined: 2013/10/17 16:21Last Login
: Yesterday 6:26
From Hungary
Group:
Registered Users
Nope. They changed the name of the library to "sdl2" from "sdl" when they broke the interface. I was busy with other projects lately. What's missing is most of the code that deals with windows and events.
This is just like television, only you can see much further.
Re: SDL2
Posted on:
2015/10/6 8:54
#23
Amigans Defender
Joined: 2006/12/2 13:27Last Login
: Today 7:49
From Taranto, Italy
Group:
Staff members Moderators Registered Users
i'm busy too.. as i wrote in my first post.. hope someone will join the project. I know that is a "free" project and on os4 world we are not used to work on non-payed projects.. but this lib is very important for a lot of games
i'm really tired...
Re: SDL2
Posted on:
2016/1/12 19:10
#24
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@afxgroup, BSzili Anyone has a recent dlopen/dlsym implementation? I found one from OS4Depot, by Chris Young. Unfortunately it doesn't work out-of-the-box for SDL2. Looks like OS4 ships with another version of libdl.so (it has different symbols than Chris').
Re: SDL2
Posted on:
2016/1/12 19:31
#25
Quite a regular
Joined: 2013/10/17 16:21Last Login
: Yesterday 6:26
From Hungary
Group:
Registered Users
Static libraries and shared object are mutually exclusive. Just remove the static lib, and link with something like:
-use- dynld - Wl ,- rpath - link ,/ sobjs - L / sobjs
This is just like television, only you can see much further.
Re: SDL2
Posted on:
2016/1/12 19:46
#26
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@BSzili
Unfortunately that doesn't help me to build SDL2 with dynapi support. I found some of my older SDK has dlfcn.h by Hyperion, I wonder was it dropped from the latest SDKs or did I lose it myself.
Regarding dynapi, here is some good info
https://plus.google.com/+RyanGordon/posts/TB8UfnDYu4U Of course we can implement a symbol loader by Elf.library, or just disable dynapi, but this looks like a possibility in a world full of statically-linking developers ;)
Re: SDL2
Posted on:
2016/1/12 20:07
#27
Quite a regular
Joined: 2013/10/17 16:21Last Login
: Yesterday 6:26
From Hungary
Group:
Registered Users
They dropped libdl.so in the latest SDK? I'm still stuck in the u6 era, so I didn't know about this. I think it's safe to disable the SObj loader for the time being, since almost nobody uses those SDL functions, and/or has fallback to libdl.
This is just like television, only you can see much further.
Re: SDL2
Posted on:
2016/1/13 8:42
#28
Amigans Defender
Joined: 2006/12/2 13:27Last Login
: Today 7:49
From Taranto, Italy
Group:
Staff members Moderators Registered Users
libdl is part of the SDK and it was updated also on the latest one. Which file is missing?
i'm really tired...
Re: SDL2
Posted on:
2016/1/13 8:53
#29
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
dlopen/dlsym
Retired
Re: SDL2
Posted on:
2016/1/13 9:17
#30
Just can't stay away
Joined: 2006/11/30 11:30Last Login
: 11/18 16:17
From Finland
Group:
Registered Users
@afxgroup The header file (dlfcn.h) is missing or at least I can't find it in my SDK install.
Re: SDL2
Posted on:
2016/1/13 9:18
#31
Amigans Defender
Joined: 2006/12/2 13:27Last Login
: Today 7:49
From Taranto, Italy
Group:
Staff members Moderators Registered Users
dlopen/dlsym are not a file. they are functions part of dlfcn.h. I remember it was part of libdl updates but in case you need it you can download the file here:
http://www.amigasoft.net/downloads/dlfcn.h
i'm really tired...
Re: SDL2
Posted on:
2016/1/13 9:37
#32
Just can't stay away
Joined: 2006/11/30 11:30Last Login
: 11/18 16:17
From Finland
Group:
Registered Users
@afxgroup That must be a really old version of the file because it's missing stuff that's already in the version 53.1 header. The latest version of libdl.so is 53.4 (9.4.2013).
Re: SDL2
Posted on:
2016/1/13 16:41
#33
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@salass00 Thanks for confirmation. If you think libdl.so should be officially supported by the SDK, I can make a BZ entry, if needed.
Re: SDL2
Posted on:
2016/1/13 17:11
#34
Just can't stay away
Joined: 2006/11/30 11:30Last Login
: 11/18 16:17
From Finland
Group:
Registered Users
@Capehill
Quote:
If you think libdl.so should be officially supported by the SDK, I can make a BZ entry, if needed.Please do.
The soft link for the libdl.so file is still there so likely the header file was left out by mistake.
Re: SDL2
Posted on:
2016/1/13 19:05
#35
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@salass00 Done. Hopefully we get a new SDK this year :) By the way, should there also be a static libdl.a? I'm using dlfcn.h from the older SDK for now.
Re: SDL2
Posted on:
2016/1/14 6:12
#36
Just can't stay away
Joined: 2006/11/30 11:30Last Login
: 11/18 16:17
From Finland
Group:
Registered Users
@Capehill
Quote:
By the way, should there also be a static libdl.a?No, it's just built as a shared object.
Re: SDL2
Posted on:
2016/1/17 13:16
#37
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
Configure doesn't work with 5.3.0 Seems to works with 4.9.1 as suggested by Capehill
Retired
Re: SDL2
Posted on:
2016/1/17 20:42
#38
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 6/4 16:05
From Italy, Rome
Group:
Registered Users
@afxgroup i have the file dlfcn.h in the sdk/clib2/include, but compiling the sdl i get the error: dlfcn.h: no such file or directory
Retired
Re: SDL2
Posted on:
2016/1/18 6:20
#39
Home away from home
Joined: 2006/11/26 21:45Last Login
: Today 7:06
From a dying planet
Group:
Registered Users
@AmigaBlitter You're probably compiling with newlib. Have you tried adding -mcrt=clib2 to your compiler CFLAGS?
Re: SDL2
Posted on:
2016/1/18 9:35
#40
Amigans Defender
Joined: 2006/12/2 13:27Last Login
: Today 7:49
From Taranto, Italy
Group:
Staff members Moderators Registered Users
move that file in sdk/newlib/include
i'm really tired...
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)