Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
125 user(s) are online (15 user(s) are browsing News)

Members: 1
Guests: 124

AmigaPapst, more...

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 (1865 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: 3361
 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: 5416
 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: 1485
 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: 1485
 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: 1364
 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
Advertise Here

Site statistics
Registered members
  1674
Logged in last:
  24 hours, 75
  7 days, 138
  30 days, 181

Top Posters
1 kas1e
kas1e 8960
2 Raziel
Raziel 5416
3 LiveForIt
LiveForIt 3777
4 samo79
samo79 3755
5 ChrisH
ChrisH 3582
6 Chris
Chris 3361
7 orgin
orgin 3266
8 328gts
328gts 3025
9 Hans
Hans 2675
10 Antique
Antique 2618

New Members
amienslaver
amienslaver 04/20/2024
Djk83
Djk83 04/19/2024
akutra
akutra 04/08/2024
kishigo
kishigo 03/25/2024
amigait
amigait 03/21/2024
fordprefect
fordprefect 03/06/2024
brufnus
brufnus 02/21/2024
Sugo77
Sugo77 02/11/2024
tomkrk78
tomkrk78 02/01/2024
Radar103
Radar103 01/28/2024


Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project