Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
13 crawler(s) on-line.
 89 guest(s) on-line.
 1 member(s) on-line.


 Rob

You are an anonymous user.
Register Now!
 Rob:  16 secs ago
 michalsc:  5 mins ago
 pixie:  7 mins ago
 roar:  1 hr 6 mins ago
 MEGA_RJ_MICAL:  1 hr 14 mins ago
 VooDoo:  1 hr 21 mins ago
 Hammer:  1 hr 52 mins ago
 Massi:  1 hr 57 mins ago
 DiscreetFX:  2 hrs 16 mins ago
 agami:  3 hrs 27 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Need help compiling a SDL app for OS4!
Register To Post

Goto page ( Previous Page 1 | 2 | 3 Next Page )
PosterThread
EntilZha 
Re: Need help compiling a SDL app for OS4!
Posted on 19-May-2005 11:39:59
#21 ]
OS4 Core Developer
Joined: 27-Aug-2003
Posts: 1679
From: The Jedi Academy, Yavin 4

@Wiffy

Quote:
Not pertinent to this, but the main reason people miss symbols is failing to include proto files.


That's not the case anymore. Since OS4 doesn't really use C function stubs for calling library functions anymore, but interfaces (which are a collection of function pointers), failing to include a proto file will get you messages like "IExec not defined" or "Undefined symbol IExec" during link.

_________________
Thomas, the kernel guy

"I don't have a frigging clue. I'm norwegian" -- Ole-Egil

All opinions expressed are my own and do not necessarily represent those of Hyperion Entertainment

 Status: Offline
Profile     Report this post  
EntilZha 
Re: Need help compiling a SDL app for OS4!
Posted on 19-May-2005 11:41:03
#22 ]
OS4 Core Developer
Joined: 27-Aug-2003
Posts: 1679
From: The Jedi Academy, Yavin 4

@Mr_Capehill

Quote:
Thing will be easier when Ixemul.library is released I think.


Why that ? It will make porting pure Linux software easier, but most SDL applications are writtne with portability in mind and should work "out-of-the-box" (I know that's nostly impossible).

_________________
Thomas, the kernel guy

"I don't have a frigging clue. I'm norwegian" -- Ole-Egil

All opinions expressed are my own and do not necessarily represent those of Hyperion Entertainment

 Status: Offline
Profile     Report this post  
EntilZha 
Re: Need help compiling a SDL app for OS4!
Posted on 19-May-2005 11:42:13
#23 ]
OS4 Core Developer
Joined: 27-Aug-2003
Posts: 1679
From: The Jedi Academy, Yavin 4

@Varthall

Quote:
For example, SDL_sound and the OpenGL libraries do not exist yet for Os4.


Most of these SDL addons compile out of the box... You need to configure them, though, which is of course a problem

_________________
Thomas, the kernel guy

"I don't have a frigging clue. I'm norwegian" -- Ole-Egil

All opinions expressed are my own and do not necessarily represent those of Hyperion Entertainment

 Status: Offline
Profile     Report this post  
EntilZha 
Re: Need help compiling a SDL app for OS4!
Posted on 19-May-2005 11:43:38
#24 ]
OS4 Core Developer
Joined: 27-Aug-2003
Posts: 1679
From: The Jedi Academy, Yavin 4

@Mr_Capehill

Quote:
It is possible. But is the cross-compiler kit released to public yet?


No. It's packed up ready for release, but some documentation is still missing.

My brother and me had a rather difficult time recently, which means a lot of stuff wasn't handled yet. We're working on it.

_________________
Thomas, the kernel guy

"I don't have a frigging clue. I'm norwegian" -- Ole-Egil

All opinions expressed are my own and do not necessarily represent those of Hyperion Entertainment

 Status: Offline
Profile     Report this post  
Anonymous 
Re: Need help compiling a SDL app for OS4!
Posted on 19-May-2005 11:44:27
# ]

0
0

@EntilZha

Anyone looked at the auto* tools to see how hard/easy they would be to build for AmigaOS or are they far too Unixey?

 
     Report this post  
Mr_Capehill 
Re: Need help compiling a SDL app for OS4!
Posted on 19-May-2005 13:35:51
#26 ]
Super Member
Joined: 15-Mar-2003
Posts: 1933
From: Yharnam

@EntilZha

I didn't mean that everyone should use -ixemul, but having ixemul.library should make GeekGadgets available, to fill the gaps in the native SDK (if there are some anymore :)

 Status: Offline
Profile     Report this post  
EntilZha 
Re: Need help compiling a SDL app for OS4!
Posted on 19-May-2005 15:16:20
#27 ]
OS4 Core Developer
Joined: 27-Aug-2003
Posts: 1679
From: The Jedi Academy, Yavin 4

@Wiffy

Quote:
Anyone looked at the auto* tools to see how hard/easy they would be to build for AmigaOS or are they far too Unixey?


There has been some effort in the AmigaOpenOffice team. I don't know how far they progressed with this, though...

Basically, it's a big bunch of perl scripts, generating shell scripts. Since perl is no available OS4 native from OS4depot, and abc-shell is coming along, it might be possible...

_________________
Thomas, the kernel guy

"I don't have a frigging clue. I'm norwegian" -- Ole-Egil

All opinions expressed are my own and do not necessarily represent those of Hyperion Entertainment

 Status: Offline
Profile     Report this post  
EntilZha 
Re: Need help compiling a SDL app for OS4!
Posted on 19-May-2005 15:17:08
#28 ]
OS4 Core Developer
Joined: 27-Aug-2003
Posts: 1679
From: The Jedi Academy, Yavin 4

@Mr_Capehill

Quote:
I didn't mean that everyone should use -ixemul,


Sure, I got that ... I was just asking why in the context of SDL programs.

_________________
Thomas, the kernel guy

"I don't have a frigging clue. I'm norwegian" -- Ole-Egil

All opinions expressed are my own and do not necessarily represent those of Hyperion Entertainment

 Status: Offline
Profile     Report this post  
glokraw 
Re: Need help compiling a SDL app for OS4!
Posted on 20-May-2005 1:00:51
#29 ]
Regular Member
Joined: 4-Jul-2004
Posts: 348
From: Unknown

@EntilZha

The author of Mupen64 (N64 emulator) recently released
the source for Mupen64 and related plugins, saying that its
an easy SDL port...if any talented coders out there would
like to have a go...
I hope you and the OS4 team remember that sleep and
recreation are turnkeys to success and productivity.
Will Hyperion be @ e3 next year? 8') Hope so!!!

 Status: Offline
Profile     Report this post  
drHirudo 
Re: Need help compiling a SDL app for OS4!
Posted on 20-May-2005 5:09:55
#30 ]
Super Member
Joined: 26-Apr-2004
Posts: 1113
From: Sofia

@glokraw

N64 emulator without hardware 3D acceleration will be slow even on 1 GHz AmigaOnes.

_________________
Games, programs, reviews

 Status: Offline
Profile     Report this post  
spotUP 
Re: Need help compiling a SDL app for OS4!
Posted on 22-May-2005 19:41:24
#31 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@drHirudo

sdlTTF is ported, by the guy who ported super mario clone.
i think he ported quite some SDL stuff, hmm, he should make them available somewhere.

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
drHirudo 
Re: Need help compiling a SDL app for OS4!
Posted on 22-May-2005 19:45:18
#32 ]
Super Member
Joined: 26-Apr-2004
Posts: 1113
From: Sofia

@spotUP

Yes, I have it. Received it by e-mail today, and already ported some code.

_________________
Games, programs, reviews

 Status: Offline
Profile     Report this post  
spotUP 
Re: Need help compiling a SDL app for OS4!
Posted on 22-May-2005 19:49:16
#33 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@drHirudo

Cool! Why not make useful stuff like that available on the depot?

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
drHirudo 
Re: Need help compiling a SDL app for OS4!
Posted on 22-May-2005 19:54:49
#34 ]
Super Member
Joined: 26-Apr-2004
Posts: 1113
From: Sofia

@spotUP

Because they still have bugs and I don't have the feeling I should release buggy, untested and crashy software on OS4Depot.
Usually after some test period I release stuff to the public and save the blames this way.

P.S. Thanks Juha.

_________________
Games, programs, reviews

 Status: Offline
Profile     Report this post  
itix 
Re: Need help compiling a SDL app for OS4!
Posted on 22-May-2005 22:45:53
#35 ]
Elite Member
Joined: 22-Dec-2004
Posts: 3398
From: Freedom world

@MagicSN

Quote:

If the configure script aborted due to an sdltest program being run (which doesn't work on cross compilation of course) edit it out of the configure script (yes, I know this is a crude way of doing things ) and configuring again.


This is not always necessary. Often configure scripts have an option to ignore sdl test and/or force SDL compilation.

I.e. hatari has an option --disable-sdltest, so "configure --disable-sdltest" could give correct result in a crosscompiler environment. Supported options may differ of course.

_________________
Amiga Developer
Amiga 500, Efika, Mac Mini and PowerBook

 Status: Offline
Profile     Report this post  
AlexC 
Re: Need help compiling a SDL app for OS4!
Posted on 24-May-2005 7:48:01
#36 ]
Super Member
Joined: 22-Jan-2004
Posts: 1300
From: City of Lost Angels, California.

@MagicSN
Quote:
Hmmm, if that line you posted is complete, then obviously there is a -lSDL missing.

I thought I had added that to the command line, but I don't remember, it's been 4 days and I lost the sources soon after. :-/

Anyway, I didn't want to leave SpotUp hanging dry, so I just gave it another shot.
This time I got it going the first time

I'll post the port to OSDepot, it's quick and dirty (e.g. I only changed the Makefile and dropped any reference to /shared/cgterm/ in the .c files), but it seems to be working.
At least I was able to connect to the POP daemon of a remote server.

edit: CGTerm/Chat can be downloaded now from OS4Depot

Last edited by AmigAlex on 24-May-2005 at 11:17 AM.

_________________
AlexC's free OS4 software collection

AmigaOne XE/X1000/X5000/UAE-PPC OS4 laptop/X-10 Home Automation

 Status: Offline
Profile     Report this post  
MagicSN 
Re: Need help compiling a SDL app for OS4!
Posted on 24-May-2005 10:22:59
#37 ]
Hyperion
Joined: 10-Mar-2003
Posts: 670
From: Unknown

@itix

True, some have them, but in my experience most programs do not have this option.

And there are other libraries which are tested using executables (existance of specific symbols in zlib and libtiff is sometimes done that way, and disabled if "not found" - sometimes a "force" option exists but in my experience only in very few projects).

Steffen

 Status: Offline
Profile     Report this post  
spotUP 
Re: Need help compiling a SDL app for OS4!
Posted on 24-May-2005 15:25:20
#38 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@AmigAlex

Oh! So I noticed! Thanx a million! Cool program isn't it? =)
You really should try to connect to a C64 bbs, you will be amazed when you see the nice petski, and the activity in the C64 scene, sorry can't give out the url to the one I call as it is kind of illegal. :/

I will have a go at another SDL app when I have studied all your tips a bit closer, I think I will have a go at DosBox, I heard it was a quite easy one. :)

Last edited by spotUP on 24-May-2005 at 03:26 PM.

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
AlexC 
Re: Need help compiling a SDL app for OS4!
Posted on 25-May-2005 10:42:58
#39 ]
Super Member
Joined: 22-Jan-2004
Posts: 1300
From: City of Lost Angels, California.

@spotUP

Yes, I did try it (see screenshots on os4depot) it reminds me of the good old days, the simplicity of BBSes was nice and made it easier to stay focused on one task and to connect with other people. I guess having IRC and Amiga forums isn't all that different.

Looks like the BBS scene is still alive though, and it's neat that some people are using real C64s to serve the pages. And at least one of them must be running on an Amiga because it said "opening telnetd.device"
BTW there's a list at http://thebbs.org and more can be found on Google.

As far as porting SDL apps, don't do what I did, that was a bad example

I just wanted to get it done before I forgot about it again, but normally you'd want to leave the original code intact and insert #ifdef __amigaos4__ (or something like that) where needed so that the changes can be sent back to the authors and the Amiga hopefully added to their list of supported OSes.

_________________
AlexC's free OS4 software collection

AmigaOne XE/X1000/X5000/UAE-PPC OS4 laptop/X-10 Home Automation

 Status: Offline
Profile     Report this post  
EntilZha 
Re: Need help compiling a SDL app for OS4!
Posted on 25-May-2005 12:12:44
#40 ]
OS4 Core Developer
Joined: 27-Aug-2003
Posts: 1679
From: The Jedi Academy, Yavin 4

@MagicSN

Quote:
f the configure script aborted due to an sdltest program being run (which doesn't work on cross compilation of course) edit it out of the configure script (yes, I know this is a crude way of doing things ) and configuring again.


Alternatively, you can use a config.cache (-C option) and add the untested option into the cache.

Last edited by EntilZha on 25-May-2005 at 12:13 PM.

_________________
Thomas, the kernel guy

"I don't have a frigging clue. I'm norwegian" -- Ole-Egil

All opinions expressed are my own and do not necessarily represent those of Hyperion Entertainment

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle