Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
70 user(s) are online (19 user(s) are browsing News)

Members: 1
Guests: 69

hlt, more...

Support us!

Headlines


Recent Replied Topics
Amiga Events : Spot's Porting for Dummies 1.6.1 released!
Posted by spotUP on 2007/6/25 4:17:54 (1909 reads) News by the same author
Amiga Events

Fresh from Spot's bedroom! - Spot's Porting for Dummies 1.6.1.
Failed to port stuff with the last version? Cheer up lad!
This guide is new and improved! Have another go! You can do it!
Read the history for a detailed list of changes.




WHY SHOULD I READ THIS? I CAN'T CODE!
=====================================

Well, the sad fact is that, neither can I! :) I am just a stubborn geezer!
And look at me now... 300+ uploads to http://os4depot.net compiling
multiplatform stuff for AmigaOS 4.0 isn't THAT hard, c'mon! If I can do it,
you can do it too! You'll jump up and down screaming when you managed to
compile your first SDL app, I did! To my defence I have to say that I had
to figure out a lot of the process the hard way! :P
/Spot


HISTORY
=======

Version 1.6.1

Misc small changes and additional info 'backported' from the AROS 'port'
of this guide.

Version 1.6.0

Added a guide on how to make GUI's using Emperor.
Added lots of small things that I can't remember.

Version 1.5.3

Added a tip on Fullscreen modes in SDL apps/games. Thanks Lio.
Added some quick references related to Allegro compiling. Woooot? Already? ;)

Version 1.5.2

Corrected some small things related to SDL_Mixer

Version 1.5.1

Added SVN to tips and tricks

Version 1.5

Fixed a typo. I had writen -lpng -lpng, when it should be -lpng -ljpeg.
Thanx to Raziel for the report.

Added a new chapter: History

Added a new chapter: Getting your SDK up to date

Added a new chapter: The basics

Added a new chapter: Configuring linklibs

Added a new chapter: Quick Reference

Added more common errors

Defines section updated

Common errors section updated

Corrections to the configure lines. Thanx HNL!

Corrections to the example makefile. Thanx Booger!

A lot of small changes that I can't remember.

Corrected the cygnix config line.

Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
Chris
Published: 2007/6/25 9:56  Updated: 2007/6/25 9:56
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3419
 Re: Spot's Porting for Dummies 1.6.1 released!
[quote=spot]
We are linking with static libraries, and we need to be tell exactly what
to link in. Locate this line in the configure script;

LIBS="-lSDL_image $LIBS"

SDL_image depends on some more libraries to function correctly,
add them like this;

LIBS="-lSDL_image -lpng -ljpeg -lz $LIBS"
[/quote]

It's easier to add the extra libraries to the same line in the .la file, that will sort the issue for all projects and makefiles.

Chris
Raziel
Published: 2007/6/25 11:23  Updated: 2007/6/25 11:23
Home away from home
Joined: 11/26/2006
From: a dying planet
Comments: 5572
 Re: Spot's Porting for Dummies 1.6.1 released!
@spotty

Thanks a lot for the update, had a few of the messages
myself, couldn't figure out what to do ... now i can
spotUP
Published: 2007/6/25 12:21  Updated: 2007/6/25 12:21
Just can't stay away
Joined: 11/26/2006
From:
Comments: 1492
 Re: Spot's Porting for Dummies 1.6.1 released!
Chris, they are already there, but it still doesn't work sometimes.
spotUP
Published: 2007/6/25 14:17  Updated: 2007/6/25 14:17
Just can't stay away
Joined: 11/26/2006
From:
Comments: 1492
 Re: Spot's Porting for Dummies 1.6.1 released!
Raziel, this might help you?

In general, when you get an error of this type;

warning: implicit declaration of function 'strlen'
warning: incompatible implicit declaration of built-in function 'strlen'

It means that the sources are missing an include. To find out which include
it wants, open a shell and CD to SDK: then do;
"grep -R strlen *" in this case you will get a LOT of output, so haing KingCon
installed is a good idea. 99% of the info printed is irrelevant, what you are
looking for is a header that includes the function the source wants.
Includes are stored in SDK:Local/Newlib/Include, SDK:Local/Common/Inclued,
SDK:Local/Clib2/Include, SDK:newlib/Include/ and SDK:Clib2/Include.
So only check the hits found in those directories.

I just wrote it, with you in mind. :) It will be included in the next version.
Elwood
Published: 2007/6/27 21:59  Updated: 2007/6/27 21:59
Just can't stay away
Joined: 12/09/2006
From: Lyon, France
Comments: 1370
 Re: Spot's Porting for Dummies 1.6.1 released!
Thanks for your job.
With an earlier version I did a try porting rsync but couldn't.
I'll give it another try...

bye
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1722
Logged in last:
  24 hours, 69
  7 days, 106
  30 days, 173

Random Photo
AmigaOS 4.1 Update 2

New Articles List

New Members
Amigafreak02
Amigafreak02 11/15/2024
Drakken
Drakken 11/14/2024
ybbasepiw
ybbasepiw 11/11/2024
Mr_byte
Mr_byte 11/06/2024
ghettofinger
ghettofinger 10/30/2024
VaultDweller
VaultDweller 10/30/2024
Greenslade
Greenslade 10/11/2024
komyash
komyash 09/20/2024
Correine
Correine 09/16/2024
Falke_34
Falke_34 09/14/2024


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project