Difference between revisions of "PLIB"
From CBLFS
Jump to navigationJump to searchm |
m |
||
Line 3: | Line 3: | ||
!Download Source: | !Download Source: | ||
| http://plib.sourceforge.net/dist/plib-{{PLIB-Version}}.tar.gz | | http://plib.sourceforge.net/dist/plib-{{PLIB-Version}}.tar.gz | ||
− | |||
− | |||
− | |||
|} | |} | ||
Line 22: | Line 19: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr && | CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr && | ||
make | make | ||
Line 36: | Line 32: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \ | CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \ | ||
USE_ARCH=32 ./configure --prefix=/usr && | USE_ARCH=32 ./configure --prefix=/usr && | ||
Line 49: | Line 44: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \ | CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \ | ||
USE_ARCH=n32 ./configure --prefix=/usr \ | USE_ARCH=n32 ./configure --prefix=/usr \ | ||
Line 63: | Line 57: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \ | CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \ | ||
USE_ARCH=64 ./configure --prefix=/usr \ | USE_ARCH=64 ./configure --prefix=/usr \ | ||
Line 72: | Line 65: | ||
make install | make install | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 02:03, 14 March 2009
Download Source: | http://plib.sourceforge.net/dist/plib-1.8.5.tar.gz |
---|
Contents
Introduction to PLIB
PLIB is a set of libraries that are designed to help developers write games and other interactive 3D applications.
Project Homepage: http://plib.sourceforge.net/
Dependencies
Required
- X Window System (With OpenGL)
Non-Multilib
Compile the package:
CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \ USE_ARCH=32 ./configure --prefix=/usr && make
Install the package
make install
N32
Compile the package:
CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \ USE_ARCH=n32 ./configure --prefix=/usr \ --libdir=/usr/lib32 && make
Install the package
make install
64Bit
Compile the package:
CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \ USE_ARCH=64 ./configure --prefix=/usr \ --libdir=/usr/lib64 && make
Install the package
make install