Welcome, Guest. Please login or register.

Author Topic: Amiga CrossDevelopment SDL  (Read 1870 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline darkcoderTopic starter

  • Full Member
  • ***
  • Join Date: Sep 2002
  • Posts: 164
    • Show only replies by darkcoder
Amiga CrossDevelopment SDL
« on: July 02, 2008, 01:29:57 PM »
Hi all

 I would like to try cross development (on a Win machine) of programs for Amiga (68k, 0s4, morphos and AROS) using SDL.
I downloaded AmiDevCpp, and I am able to compile the examples.
Unfortunately, it seems that AmiDevCpp does not come with all necessary stuff to depelop SDL applications. What do I need to install? And where should I install?

any help appreciated

The Dark Coder / Trinity
 

Offline djbase

Re: Amiga CrossDevelopment SDL
« Reply #1 on: July 02, 2008, 01:32:21 PM »
Problem is that SDL for AOS3.x is way too old and buggy. We would need a new and more advanced port. SDL for OS4 and MOS seems to be good enough.
AMIGA 1200 | Vampire 1200 II | 128 MB RAM | Indivision AGA Mk3 | 256 GB SD | AmigaOS 3.2.2
AMIGA 600 | Vampire 600 II | 128 MB RAM | Indivision ECS Mk3 | 256 GB SD | AmigaOS 3.2.2
 

Offline darkcoderTopic starter

  • Full Member
  • ***
  • Join Date: Sep 2002
  • Posts: 164
    • Show only replies by darkcoder
Re: Amiga CrossDevelopment SDL
« Reply #2 on: July 03, 2008, 07:53:21 AM »
I have the 3.x port but I can't find the OS4, AROS and MorphOS version of the SDL. Can you help me?
The Dark Coder / Trinity
 

Offline Varthall

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 633
    • Show only replies by Varthall
Re: Amiga CrossDevelopment SDL
« Reply #3 on: July 03, 2008, 08:36:06 AM »
For OS4, the main SDL library is here:

rcdrummond.net

Download the static clib2 and newlib archives:

http://www.rcdrummond.net/sdl/SDL-1.2.11-20080130-AmigaOS4_clib2.tar.bz2
http://www.rcdrummond.net/sdl/SDL-1.2.11-20080130-AmigaOS4_newlib.tar.bz2

The shared version requires a newer SDK and, maybe, a newer gcc crosscompiler too.

On OS4Depot.net you'll find the latest version of many additional SDL libraries, like SDL_Mixer.

Varthall
AmigaOne XE - AmigaOS 4.1 - Freescale 7457 1GHz - 1GB ram
MPlayer for OS4: https://sourceforge.net/projects/mplayer-amigaos/
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Amiga CrossDevelopment SDL
« Reply #4 on: July 04, 2008, 04:04:57 AM »
The MorphOS version of the library is called PowerSDL.  You can find it on the Aminet.

As for the AROS version, you can find it on the Aros-Exec archives.
 

Offline darkcoderTopic starter

  • Full Member
  • ***
  • Join Date: Sep 2002
  • Posts: 164
    • Show only replies by darkcoder
Re: Amiga CrossDevelopment SDL
« Reply #5 on: July 04, 2008, 03:17:42 PM »
Hi Varthall

 sorry for silly questions but i ma completely new to OS4 development:

about SDL: can I unpack the SDL devel files directy into the appropriate dirs of the AmiDevCpp directory tree?

aboud SDK:
 there are specific OS4 SDK versions for different development platform (i.e. native SDK, SDK for cross development on linux ,SDK for cross development on windows, etc) ? I would like to use both Windows and macOS X as developing platform, where can i find SDKs?

br
The Dark Coder / Trinity
 

Offline Heinz

  • Full Member
  • ***
  • Join Date: Nov 2005
  • Posts: 154
    • Show only replies by Heinz
    • http://amidevcpp.amiga-world.de
Re: Amiga CrossDevelopment SDL
« Reply #6 on: July 04, 2008, 05:41:04 PM »
Quote

darkcoder wrote:
Hi Varthall

 sorry for silly questions but i ma completely new to OS4 development:

about SDL: can I unpack the SDL devel files directy into the appropriate dirs of the AmiDevCpp directory tree?


Yes you can, but it is not such a good idea, because you risk to mess up you entire installation.

You better create a DevPak yourself.

The nice thing is, that you can install and uninstall this devpak with the package manager, to make sure you remove everything properly if it did not york as expected.

Uploading the Devpak here, would be appreciated ;)