Install SDL on Linux/ubuntu

來源:互聯網
上載者:User


http://www.libsdl.org/


To compile and install SDL:

    1.  Run './configure; make; make install'

        If you are compiling for Windows using gcc, read the FAQ at:
        http://www.libsdl.org/faq.php?action=listentries&category=4#42

        If you are compiling using Visual C++ on Win32, you should read
        the file VisualC.html

    2.  Look at the example programs in ./test, and check out the HTML
        documentation in ./docs to see how to use the SDL library.

    3.  Join the SDL developer mailing list by sending E-mail to
        sdl-request@libsdl.org
        and put "subscribe" in the subject of the message.

        Or alternatively you can use the web interface:
            http://www.libsdl.org/mailing-list.php

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Libraries have been installed in:

   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./libtool --mode=install /usr/bin/install -c build/libSDLmain.la /usr/local/lib/libSDLmain.la
libtool: install: /usr/bin/install -c build/.libs/libSDLmain.lai /usr/local/lib/libSDLmain.la
libtool: install: /usr/bin/install -c build/.libs/libSDLmain.a /usr/local/lib/libSDLmain.a
libtool: install: chmod 644 /usr/local/lib/libSDLmain.a
libtool: install: ranlib /usr/local/lib/libSDLmain.a
libtool: finish: PATH="/opt/ros/fuerte/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash build-scripts/mkinstalldirs /usr/local/share/aclocal
mkdir -p -- /usr/local/share/aclocal
/usr/bin/install -c -m 644 ./sdl.m4 /usr/local/share/aclocal/sdl.m4
/bin/bash build-scripts/mkinstalldirs /usr/local/lib/pkgconfig
/usr/bin/install -c -m 644 sdl.pc /usr/local/lib/pkgconfig
/bin/bash build-scripts/mkinstalldirs /usr/local/share/man/man3
for src in ./docs/man3/*.3; do \
        file=`echo $src | sed -e 's|^.*/||'`; \
        /usr/bin/install -c -m 644 $src /usr/local/share/man/man3/$file; \
    done

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.