Add build scripts and shared libraries for linux x64

This commit is contained in:
Cameron Gutman
2013-12-10 15:07:58 -05:00
parent 6f580b1666
commit 62dd9887a2
3 changed files with 15 additions and 1 deletions

View File

@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="limelight-pc/libs"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="libs/limelight-common.jar"/>
<classpathentry kind="lib" path="libs/xpp3-1.1.4c.jar"/>
<classpathentry kind="lib" path="libs/jinput.jar"/>

View File

@@ -0,0 +1,5 @@
rm *.o libnv_avc_dec.so
gcc -I /usr/lib/jvm/java-7-openjdk-amd64/include/ -I ./inc -fPIC -L. -c *.c
gcc -shared -Wl,-soname,libnv_avc_dec.so -Wl,--no-undefined -o libnv_avc_dec.so *.o -L. -lavcodec -lavfilter -lavformat -lavutil -lswresample -lswscale
rm *.o

View File

@@ -0,0 +1,5 @@
rm *.o libnv_opus_dec.so
gcc -I include -I /usr/lib/jvm/java-7-openjdk-amd64/include/ -I ./inc -fPIC -c *.c
gcc -shared -Wl,-soname,libnv_opus_dec.so -Wl,--no-undefined -o libnv_opus_dec.so *.o -L. -lopus
rm *.o