Install SDL on Linux/ubuntu
来源:互联网 发布:flux软件 编辑:程序博客网 时间:2024/04/28 16:45
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/libIf 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
- Install SDL on Linux/ubuntu
- Install SDL in Ubuntu
- Install Java7 on Ubuntu Linux
- Install Java7 on Ubuntu Linux
- Install Ubuntu Linux On External HDD Driver
- How to install GSL on linux(ubuntu)
- Install an RPM Package on Ubuntu Linux
- How to install eclipse on ubuntu/linux
- How to install GSL on linux (ubuntu)
- Install Pdf2htmlEX on Amazon Linux and Ubuntu
- Install R on Linux Ubuntu & Simple Usage
- How to Install Metasploit on Linux Ubuntu
- install ImageMagick on Ubuntu
- install myreview on ubuntu
- Install JDK on Ubuntu
- install mplayer on ubuntu
- install mplayer on ubuntu
- install xipmsg on ubuntu
- 用CSS截断字符串
- 字典树
- Velocity 实现客户端和服务器端模板
- linux内存管理--内存回收
- 数据结构(C语言描述)读书笔记之队列
- Install SDL on Linux/ubuntu
- UVA 10828 Back to Kernighan-Ritchie 高斯约当消元
- 医疗IT中容易被忽视的那些医疗成像问题
- Server problem trouble shooting
- 【美化§风景之雾漫城市之颠win7电脑主题】
- 继BAT之后 第四大巨头是谁
- 几个环境变量说明:ORACLE_SID、DB_NAME、INSTANCE_NAME、DB_DOMIAN、GLOBAL_NAMES
- 学生信息管理系统
- poj 3071 Football