Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
64 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 64

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 (2) 3 4 5 ... 16 »


Re: SDL2
Not too shy to talk
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 462
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
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
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.

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
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...
   Report Go to top

Re: SDL2
Just popping in
Joined:
2007/7/14 20:30
From Lothric
Posts: 237
@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').

   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
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

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Just popping in
Joined:
2007/7/14 20:30
From Lothric
Posts: 237
@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 ;)

   Report Go to top

Re: SDL2
Quite a regular
Joined:
2013/10/17 15:21
From Hungary
Posts: 533
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.

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
libdl is part of the SDK and it was updated also on the latest one. Which file is missing?

_________________
i'm really tired...
   Report Go to top

Re: SDL2
Not too shy to talk
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 462
dlopen/dlsym

_________________
Retired
   Report Go to top

Re: SDL2
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1482
@afxgroup

The header file (dlfcn.h) is missing or at least I can't find it in my SDK install.

   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
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...
   Report Go to top

Re: SDL2
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1482
@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).

   Report Go to top

Re: SDL2
Just popping in
Joined:
2007/7/14 20:30
From Lothric
Posts: 237
@salass00

Thanks for confirmation. If you think libdl.so should be officially supported by the SDK, I can make a BZ entry, if needed.

   Report Go to top

Re: SDL2
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1482
@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.

   Report Go to top

Re: SDL2
Just popping in
Joined:
2007/7/14 20:30
From Lothric
Posts: 237
@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.

   Report Go to top

Re: SDL2
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1482
@Capehill

Quote:

By the way, should there also be a static libdl.a?


No, it's just built as a shared object.

   Report Go to top

Re: SDL2
Not too shy to talk
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 462
Configure doesn't work with 5.3.0

Seems to works with 4.9.1 as suggested by Capehill


_________________
Retired
   Report Go to top

Re: SDL2
Not too shy to talk
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 462
@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
   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2832
@AmigaBlitter

You're probably compiling with newlib.

Have you tried adding -mcrt=clib2 to your compiler CFLAGS?

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: SDL2
Amigans Defender
Joined:
2006/12/2 13:27
From Taranto, Italy
Posts: 913
move that file in sdk/newlib/include

_________________
i'm really tired...
   Report Go to top


« 1 (2) 3 4 5 ... 16 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project