Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
69 user(s) are online (47 user(s) are browsing Forums)

Members: 0
Guests: 69

more...

Headlines

 
  Register To Post  

« 1 (2) 3 4 5 ... 72 »
Re: SDL2
Quite a regular
Quite a regular


See User information
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
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
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.
Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
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...
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@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').

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
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.
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@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 ;)

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
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.
Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
libdl is part of the SDK and it was updated also on the latest one. Which file is missing?

i'm really tired...
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
dlopen/dlsym

Retired
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@afxgroup

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

Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
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...
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@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).

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@salass00

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

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@Capehill

Quote:

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


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

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
Configure doesn't work with 5.3.0

Seems to works with 4.9.1 as suggested by Capehill


Retired
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@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
Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@AmigaBlitter

You're probably compiling with newlib.

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

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
move that file in sdk/newlib/include

i'm really tired...
Go to top

  Register To Post
« 1 (2) 3 4 5 ... 72 »

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project