Advertising
- Untitled
- Thursday, May 5th, 2016 at 11:13:47am UTC
- # sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/
- LOCAL_CFLAGS="-DTHEORAWRAPPER_EXPORTS -DSUPPORT_OPENGL -fvisibility=hidden"
- CFLAGS="$CFLAGS -fPIC -Wall -O3 $LOCAL_CFLAGS"
- echo "CFLAGS $CFLAGS"
- rm -f *.o *.so
- g++ $CFLAGS -I../ogg/include -I../oggz/include -I../theora/include -c *.cpp
- g++ $CFLAGS -shared -o libtheorawrapper.so *.o -Wl,--whole-archive \
- -L${PREFIX_DIR}/lib -l theora -l oggz -l ogg \
- -Wl,--no-whole-archive -l GL -l pthread
- ldd libtheorawrapper.so
- libtheorawrapper.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0b393bab5699cfaf1abc49fa0de64e6cbfec92f9, not stripped
- linux-vdso.so.1 => (0x00007ffd34b4e000)
- liboggz.so.2 => not found
- libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f8579b20000)
- libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8579902000)
- libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f85795fe000)
- libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f85793e8000)
- libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8579023000)
- libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f8578dfc000)
- libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f8578bea000)
- ldd m64/lib/libtheora.so
- linux-vdso.so.1 => (0x00007ffce69f7000)
- libogg.so.0 => path/to/build/Linux/m64/lib/libogg.so.0 (0x00007ff51f408000)
- libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff51f043000)
- /lib64/ld-linux-x86-64.so.2 (0x00007ff51f85f000)
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.