Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
151 user(s) are online (145 user(s) are browsing Forums)

Members: 0
Guests: 151

more...

Support us!

Headlines

 
  Register To Post  

Maintainer(s) for libsdl2_* libraries for AOS4
Quite a regular
Quite a regular


See User information
Who is maintaining SDL2 libraries such as libsdl2_net?

I see an entry on OS4Depot.net from 2016.

===

EDIT: I guess no one since net is nothing more than a thin wrapper that calls of into the C library. So, updating it is presumably simple.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Home away from home
Home away from home


See User information
@rjd324

maybe capehill

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Home away from home
Home away from home


See User information
@rjd324

Latest mantainer was Michael Trebilcock aka MickJT

Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just can't stay away
Just can't stay away


See User information
There's no 1 specific person. Whoever gets there first. I can update libSDL2_net if needed.

Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just popping in
Just popping in


See User information
@MickJT any possibility of updating sdl_ttf?

Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just can't stay away
Just can't stay away


See User information
sdl_ttf and sdl2_ttf are already at their latest versions.

sdl_ttf 2.0.11 http://os4depot.net/?function=showfil ... y/graphics/libsdl_ttf.lha

sdl2_ttf 2.20.2 http://os4depot.net/?function=showfil ... /graphics/libsdl2_ttf.lha

It looks like there's an sdl3_ttf but not as a stable release.

Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just popping in
Just popping in


See User information
@MickJT wow. Don't know how I missed that. Thanks!

Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just popping in
Just popping in


See User information
Howdy,
Any change of including the example code as source and with makefile?

I tried to compile a version of glfont.c that I downloaded off the sdl2 branch on github, but I'm getting heaps of errors along the lines of:
/SDK/local/newlib/lib/libSDL2_ttf.a(libSDL2_ttf_la-SDL_ttf.o): In function `TTF_initFontMetrics':
/home/michael/SDL2_ttf-2.20.2/SDL_ttf.c:1961: undefined reference to 
`FT_MulFix'


and so on (ie, heap of undefined references and pointing to Michael's layout (I'm sure its just been compiled in with debug info)).

Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Quite a regular
Quite a regular


See User information
@davec555

The issue is that on most other platforms the libraries are Shared Objects. In the case of Linux, SO files. SO files themselves automatically load in their other dependent SO files. For static libraries this is not the case. That is why for Amiga we often need to have a list of explicit "-l" options.

In your case you are missing "-lfreetype" that should go after - at least - "-lSDL2_ttf".

http://os4depot.net/?function=showfil ... /graphics/libfreetype.lha

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Maintainer(s) for libsdl2_* libraries for AOS4
Just popping in
Just popping in


See User information
@rjd324 Thankyou for the info. Greatly appreciated.

After tracking down all lib references required for the compile, for everyone else's reference, you need to have installed and accessable in your SDK the libs for libfreetype, libharfbuzz libpng16 and libz.

So makefile line would be something like this:
$(CC) glfont.c -o glfont -lSDL2 -lSDL2_ttf -lfreetype -lharfbuzz -lpng16 -lz -lpthread

Dave

Go to top

  Register To Post

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project