PLIB: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by 3 users not shown) | |||
| 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 | ||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|PLIB is a set of libraries that are designed to help developers write games and other interactive 3D applications.|http://plib.sourceforge.net/}} | |||
== Dependencies == | == Dependencies == | ||
| Line 23: | Line 18: | ||
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 37: | Line 31: | ||
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 50: | Line 43: | ||
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 64: | Line 56: | ||
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 74: | Line 65: | ||
make install | make install | ||
[[Category:Graphics Libraries]] | |||
Latest revision as of 15:13, 19 March 2009
| Download Source: | http://plib.sourceforge.net/dist/plib-1.8.5.tar.gz |
|---|
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