25 November 2012, 21:55 | #1 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
SDL problem.
I have installed SDL 1.2.14 into CubicIDE to program with GCC. It finds the includes and link with lSDL but when I try to compile a simple example i get this error:
/gg/os-include/SDL/SDL_stdinc.h:66 inttypes.h: No such file or directory. Any idea of the problem? Thanks! |
26 November 2012, 04:16 | #2 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,424
|
Building the SDL will be a bit painful, I've tried it myself and had to give up because the code was giving me a headache.
I do have a copy of inttypes.h but I think that will only be the start of your issues. |
26 November 2012, 06:49 | #3 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
So Its better use another thing in 68k instead of SDL...What a shame. Any other recomendation to program in windows and amigaos? Allegro?
Thanks NovaCoder. |
26 November 2012, 09:44 | #4 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,424
|
I've uploaded the version that I've been using in the Zone for you, it's useful for prototyping but I wouldn't want to use it to actually release anything again.
Quote:
|
|
26 November 2012, 18:35 | #5 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
Hey! Thanks! I have to download now. You´re a helpful man!
|
26 November 2012, 22:50 | #6 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
Good....Now I can compile the examples that come with the archive but I have to learn how to compile the rest of examples cos have the same error... What libs are necessary to link? What flags? Lets go to study a bit more...
|
26 February 2015, 14:20 | #7 |
Registered User
Join Date: Apr 2013
Location: .
Posts: 267
|
How it going now with SDL? it is getting better or worse?
|
26 February 2015, 17:30 | #8 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
It works well with some limitations. I can use it only with amidevcpp. I have tried with other compilers but have errors. Also the lack of timers is an issue to me.
Novacoder has used it un various ports and you can see examples in youtube. |
23 March 2015, 06:31 | #9 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,424
|
I am working (slowly) on a new version that uses v1.2.15 which was the last one before they completely changed everything with v2.
This version will support Timers and RTG + AGA Last edited by NovaCoder; 24 March 2015 at 06:05. |
23 March 2015, 20:48 | #10 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
Yeah! Timers support! I'm a bad thing without them. Are they slow or anything?
|
24 March 2015, 03:29 | #11 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,424
|
Quote:
Basically I took a the 'clean' 1.2.15 source code then merged the nasty old RTG SDL code into it. It seems to work but some features aren't supported yet (like window resizing). There's also the same old problems around colors getting mixed up, this is because Amiga's implementation of RTG is such a mess (there's no standard color format). When I've got it working OK, I'll copy the AGA code across so both RTG and AGA will be supported by the same link library. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
use SDL 1.2.13 with AmyDevCpp | TheDarkCoder | Coders. General | 3 | 18 August 2009 20:55 |
req details for sdl | turrican3 | request.Other | 0 | 20 April 2008 22:06 |
WinUAE w/SDL | mangamuscle | request.UAE Wishlist | 8 | 31 January 2007 11:41 |
sdl 68k on my amiga | mrodfr | support.Apps | 0 | 19 November 2006 16:23 |
What do you know about Amiga SDL? | Tolismlf | Amiga scene | 6 | 15 November 2004 18:54 |
|
|