mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Cursor now renders in OpenGL.
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
#! /bin/bash
|
||||
|
||||
IL_INCLUDE_PATH="/usr/local/include"
|
||||
IL_LIB_PATH="/usr/local/lib"
|
||||
PYTHON_INCLUDE_PATH="/usr/include/python2.5"
|
||||
|
||||
swig "-I$IL_INCLUDE_PATH" -python -interface DevIL DevIL.i
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo Error while building the swig interface
|
||||
exit 1
|
||||
fi
|
||||
|
||||
gcc -shared "-I$IL_INCLUDE_PATH" "-I$PYTHON_INCLUDE_PATH" "-L$IL_LIB_PATH" -lIL -lILU -lILUT DevIL_wrap.c -o DevIL.so
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo Error while compiling the python module
|
||||
fi
|
||||
echo "DevIL.py and DevIL.so are ready"
|
||||
Reference in New Issue
Block a user