Changeset 27189 in project


Ignore:
Timestamp:
08/04/12 17:34:34 (7 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [37.17.114.225]: SDL Windows FAQ has some info on this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/sdl

    r27075 r27189  
    7676{{SDL_Delay(10)}} when there's no work, just like {{SDL_WaitEvent}}.
    7777
    78 ==== SDL_Init / sdl-init on MacOS X
     78==== SDL_Init / sdl-init on MacOS X (and, probably, Windows)
    7979
    8080{{sdl-init}} does not work on MacOS X when called from a
     
    8282get confused. (Chances are it's the redefinition of {{main()}} in
    8383{{SDL_main.h}}, which implies there will be problems on Windows as
    84 well.) You must call {{SDL_Init}} ''directly'' from your main program
    85 - if your main program is written in Scheme, you need to say something
    86 like
     84well. See the [[http://wiki.libsdl.org/moin.cgi/FAQWindows#I_get_.22Undefined_reference_to_.27SDL_main.27.22_...|I get "Undefined reference to 'SDL_main'" ...]] in the Windows FAQ on SDL Wiki for more information.) You must call {{SDL_Init}} ''directly'' from your main program - if your main program is written in Scheme,
     85you need to say something like
    8786
    8887<enscript highlight=scheme>
Note: See TracChangeset for help on using the changeset viewer.