CLI: Makes CRF (constant rate factor) the default constant quality mode, instead...
[HandBrake.git] / test / BUILDSHARED
blob6b33fb90a6635d90621d530f97b811080f2f34f4
1 To test the HandBrake dylib on MacOs X issue the following commands:
2 ===================================================================
4 cp ../libhb/libhb.dylib .
5 gcc -I../libhb -L. -lhb test.c -o test -arch i386 -arch ppc
6 install_name_tool -change /usr/local/lib/libhb.dylib @executable_path/libhb.dylib test
8 Validate that the test Binary is really using the shared library
10 otool -L test
12 ------------------------------------------------------------------------
14 To test the HandBrake .so on Linux issue the following commands:
15 ================================================================
17 cp ../libhb/libhb.so .
18 gcc -I../libhb -L. -lhb test.c -o test -lz -lpthread
20 Validate that the test Binary is really using the shared library
22 ldd test
24 ------------------------------------------------------------------------
26 To test the HandBrake .dll on cygwin issue the following commands:
27 ==================================================================
29 cp ../libhb/libhb.dll .
30 gcc -I../libhb -L. -lhb test.c -o test -lz -lpthread
32 The resulting binary test should depend on the cygwin dll and the hb dll.
34 I works like that but wasn't tested yet outside of cygwin.
36 ------------------------------------------------------------------------