Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: C++, SDL and crosscompiling
Posted by: Laurent/Thadoss Mar,27.2015-09:27 

Hi all,

I've tested again the DSL_INIT problem, and I think I've found where the problem is.


I've compiled and tested every single flag one by one (7 compils/runs)

SDL_INIT_EVENTTHREAD
SDL_INIT_NOPARACHUTE
SDL_INIT_JOYSTICK
SDL_INIT_CDROM
SDL_INIT_VIDEO
SDL_INIT_AUDIO
SDL_INIT_TIMER


error_number = SDL_Init(SDL_INIT_TIMER);

if(error_number < 0)
{
printf("Unable to init SDL: %d %s ", error_number, SDL_GetError());
SDL_Quit();

[...]


The only one that returns error_number = -1 is SDL_INIT_CDROM

I don't have any CD_ROM on Hatari ;)

Regards

Laurent










[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
C++, SDL and crosscompiling Laurent / Thadoss Mar,25.2015-23:06
  Re: C++, SDL and crosscompiling mikro Mar,26.2015-09:12
    Re: C++, SDL and crosscompiling Laurent / Thadoss Mar,26.2015-09:53
      Re: C++, SDL and crosscompiling Patrice Mandin Mar,26.2015-20:33
        Re: C++, SDL and crosscompiling Laurent / Thadoss Mar,26.2015-22:21
          Re: C++, SDL and crosscompiling deez Mar,26.2015-22:37
            Re: C++, SDL and crosscompiling Laurent / Thadoss Mar,26.2015-22:48
              Re: C++, SDL and crosscompiling Laurent/Thadoss Mar,27.2015-09:27
                Re: C++, SDL and crosscompiling Patrice Mandin Mar,27.2015-21:15
                  SDL 1.2.15 - 20150328 Patrice Mandin Mar,28.2015-10:37
                    Re: SDL 1.2.15 - 20150328 Beetle Apr,18.2015-14:07
                      Re: SDL 1.2.15 - 20150328 mikro Apr,20.2015-09:00
                        Re: SDL 1.2.15 - 20150328 Beetle Apr,20.2015-10:30
                          Re: SDL 1.2.15 - 20150328 Beetle Apr,20.2015-10:33
                            Re: SDL 1.2.15 - 20150328 mikro Apr,20.2015-11:36
                              Re: SDL 1.2.15 - 20150328 Beetle Apr,20.2015-20:14


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson