Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
149 user(s) are online (135 user(s) are browsing Forums)

Members: 1
Guests: 148

orgin, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 3 4 5 (6) 7 8 9 ... 74 »
Re: SDL2
Home away from home
Home away from home


See User information
@all

Cool progress, keep on guys

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


See User information
@MickJT

Hi Michael,

regarding the SDL2_Image i can confirm that there is a bug in IMG_Load. Don't know if it's for every image format. It's the same you've encountered?


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


See User information
Please test r66. OpenGL accelerated renderer can be now used.

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


See User information
@Capehill

I checked a while ago and was R64.

You rocks, dude.

Going to build now.


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


See User information
@AmigaBlitter

Well, can't stop the progress :)

On TODO list there are still at least:

- joystick (currently untested)
- shapes (if possible)
- compositing renderer (some day)
- mouse cursors
- ...



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


See User information
@Capehill

Have compiled fine the latest version, but haven't done any test on OpenGL. I hope to test something soon.




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


See User information
Some new results:

Sprite demo 155.70 fps (previously was 39.65 fps)
Scale demo: 372.08 fps (previously was 12.80 fps)

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


See User information
@thread


just a quick port of a simple game:


Resized Image
host immagini


Why always an arkanoid clone

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


See User information
@AmigaBlitter

Congratulations for porting the first (?) SDL2 game for AmigaOS. As a reward, you can now port some more :)

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


See User information
Sounds like you guys are not far away from a public release ?!

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@Capehill

lol.

I have a list of many titles already.


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


See User information
@TSK

"Sounds like you guys are not far away from a public release ?!"

The guru (capehill) is meditating a release sooner or later.


@thread
Please help the developers involved in this important porting.


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


See User information
@TSK

I guess we are at the point where enough of functionality has been implemented and real testing can begin. So let's see how many bugs there are.

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


See User information
@Capehill

"So let's see how many bugs there are."

SDL2_Image still have few problems
SDL2_Mixer have a little problem with libmodplug
OpenGL renderer one little problem


Still to test gamepads...
Shapes...

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


See User information
I doubt SDL2_Image itself has any internal issues causing problems for us, at least when building a static lib. It's possible sdl2_mixer and/or libmodplug may need slight tweaking for big endian (ask salass00). I think the linking errors you were getting when building sdl2_mixer against libmodplug weren't source issues, but just simple little things that had to be done with the makefile, .pc or .la files.

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


See User information
@MickJT

About libmodplug i still have linking error for it "attempted static link of dynamic object libmodplug.so"

Checked the files you've suggested, but haven't find nothing strange


Edited by AmigaBlitter on 2016/2/28 15:57:24
Retired
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
That means that in the linking line, it's trying to link against the .so instead of the .a

You should be able to just use --disable-shared to solve all of that (although a .so will not be generated).

This is what is happening:

1) Program/library not configured with --disable-shared
2) Program/library uses libtool for building the library/binaries.
3) libtool loads an .la of a dependent lib, and finds that a .so is referenced.
4) libtool tries building the binary using the .so.
5) -use-dynld is missing while trying to use a .so, hence the error appears.

Often it's enough to just copy & paste the last linking line (from the word "gcc" onwards) and change .so to .a where you can see it.

Just some more miscellaneous info:

By default, usually static & shared are enabled. This results in .o files in .libs/ (-fPIC) and .o files in the parent dir (without -fPIC). The ones in .libs/ are used to make the .so, the ones in the parent dir are used to make the .a

In my experience, object files (.o) belonging to binaries/executables should be built without -fPIC, regardless of whether you're linking against a .so or not. Fortunately libtool handles this properly, so you only get one .o per .c for the executables. I've seen issues where some makefiles just build absolutely everything with -fPIC (not just the content for the .so), and the shared-lib executables won't work.

Also if you want proper version numbers for your .so, you need to edit libtool and change version_type to freebsd-elf and deplibs_check_method to pass_all (although SDL/SDL2 might be exceptions since they include the version number prior to the file extension anyway).


Edited by MickJT on 2016/2/29 10:34:25
Edited by MickJT on 2016/2/29 10:38:04
Edited by MickJT on 2016/2/29 10:40:53
Edited by MickJT on 2016/2/29 10:42:29
Edited by MickJT on 2016/2/29 10:52:03
Edited by MickJT on 2016/2/29 10:55:26
Edited by MickJT on 2016/3/3 17:13:12
Edited by MickJT on 2016/3/3 17:13:53
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@MickJT

Thank you for all the suggestions.

Problems with th elibraries fixed

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


See User information
Good to know :)

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


See User information
@thread

we're almost there...

Resized Image
upload immagini

Resized Image
url immagine

Retired
Go to top

  Register To Post
« 1 ... 3 4 5 (6) 7 8 9 ... 74 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project