-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathcompile_command.txt
13 lines (9 loc) · 965 Bytes
/
compile_command.txt
1
2
3
4
5
6
7
8
9
10
11
[1] For extract_mvs creation
------------------------
gcc -o extract_mvs extract_mvs.c -lavcodec -lavformat -lavutil -lavdevice -lswresample -lswscale -L/opt/dev-tools-sources/ffmpeg/build/lib -I/opt/dev-tools-sources/ffmpeg/build/include -l json -w
[2] For shared extract_mvs.so file creation
---------------------------------------
gcc -shared -o extract_mvs.so -fPIC extract_mvs.c -lavcodec -lavformat -lavutil -lavdevice -lswresample -lswscale -L/opt/dev-tools-sources/ffmpeg/build/lib -I/opt/dev-tools-sources/ffmpeg/build/include -l json -w
[2] For shared python efmvs.so file creation
---------------------------------------
g++ -o efmvs.so efmvs_2.cpp -lavcodec -lavformat -lavutil -lavdevice -lswresample -lswscale -l python2.7 -lboost_python -lboost_system -shared -fPIC -Wl,-export-dynamic -L/opt/dev-tools-sources/ffmpeg/build/lib -I/opt/dev-tools-sources/ffmpeg/build/include -I /usr/include/python2.7/ -c -w `pkg-config --cflags --libs opencv`