Difference between revisions of "PLIB"

From CBLFS
Jump to navigationJump to search
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://plib.sourceforge.net/dist/plib-1.8.4.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 16: Line 18:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
+
  CC="gcc -fPIC" CXX="g++ -fPIC" ./configure --prefix=/usr &&
./configure --prefix=/usr &&
 
 
  make
 
  make
  
Line 30: Line 31:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
+
  CC="gcc ${BUILD32} -fPIC" CXX="g++ ${BUILD32} -fPIC" \
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
 
  USE_ARCH=32 ./configure --prefix=/usr &&
 
  USE_ARCH=32 ./configure --prefix=/usr &&
 
  make
 
  make
Line 43: Line 43:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
+
  CC="gcc ${BUILDN32} -fPIC" CXX="g++ ${BUILDN32} -fPIC" \
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
 
  USE_ARCH=n32 ./configure --prefix=/usr \
 
  USE_ARCH=n32 ./configure --prefix=/usr \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
Line 57: Line 56:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../plib-1.8.4-gcc41_fixes-1.patch &&
+
  CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
 
  USE_ARCH=64 ./configure --prefix=/usr \
 
  USE_ARCH=64 ./configure --prefix=/usr \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&
Line 66: Line 64:
  
 
  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

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
Retrieved from "?title=PLIB&oldid=17458"