INSTALL
author Michael Sartain <mikesart@valvesoftware.com>
Thu, 11 Oct 2012 09:41:43 -0700
changeset 6570 45855398762c
parent 3561 00e7c6b7eb03
child 6878 30579e86ac24
permissions -rw-r--r--
Add GLX_X_VISUAL_TYPE_EXT so created window will use DirectColor if available (instead of TrueColor).
Our new X11 window was being created with the TrueColor attribute, and trying to set the gamma
on that would fail. This change checks for the visual_info extension, and uses that to ask for
DirectColor if available.
slouken@0
     1
slouken@0
     2
To compile and install SDL:
slouken@0
     3
slouken@3561
     4
    0.  If you have downloaded this from the website, skip to the next step.
slouken@3561
     5
        If you have checked this out from subversion, you'll need to run
slouken@3561
     6
        ./autogen.sh to build the configure script. 
slouken@3561
     7
slouken@0
     8
    1.  Run './configure; make; make install'
slouken@0
     9
slouken@866
    10
        If you are compiling for Windows using gcc, read the FAQ at:
slouken@866
    11
        http://www.libsdl.org/faq.php?action=listentries&category=4#42
slouken@0
    12
slouken@0
    13
        If you are compiling using Visual C++ on Win32, you should read
slouken@0
    14
        the file VisualC.html
slouken@0
    15
slouken@0
    16
    2.  Look at the example programs in ./test, and check out the HTML
slouken@0
    17
        documentation in ./docs to see how to use the SDL library.
slouken@0
    18
slouken@0
    19
    3.  Join the SDL developer mailing list by sending E-mail to
slouken@253
    20
    	sdl-request@libsdl.org
slouken@253
    21
        and put "subscribe" in the subject of the message.
slouken@0
    22
slouken@253
    23
        Or alternatively you can use the web interface:
slouken@533
    24
            http://www.libsdl.org/mailing-list.php
slouken@0
    25
slouken@0
    26
That's it!
slouken@0
    27
Sam Lantinga <slouken@libsdl.org>