Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
77 user(s) are online (56 user(s) are browsing Forums)

Members: 0
Guests: 77

more...

Support us!

Headlines

Report message:*
 

Re: SDL2

Subject: Re: SDL2
by kas1e on 2021/3/23 18:09:01

@sinan
_Z*** errors coming from missing -lz and __cxa errors coming from the missing -lstdc++ (or alternatively you can link by g++ instead of gcc, so there will be no needs for manual -lstdc++ to be added).

I.e. your line will be or:

Quote:

ppc-amigaos-gcc -athread=native *.c -o DRush -lsmpeg2 -lSDL2_image -lSDL2_net -lSDL2_ttf -lfreetype -ltiff -lwebp -lpng -ljpeg -lz -lm -lSDL2_mixer -lmikmod -lmodplug -lFLAC -lvorbisfile -lvorbis -logg -lSDL2 -lpthread -lz -lstdc++


or

Quote:

ppc-amigaos-g++ -athread=native *.c -o DRush -lsmpeg2 -lSDL2_image -lSDL2_net -lSDL2_ttf -lfreetype -ltiff -lwebp -lpng -ljpeg -lz -lm -lSDL2_mixer -lmikmod -lmodplug -lFLAC -lvorbisfile -lvorbis -logg -lSDL2 -lpthread -lz


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project