Blame view

readme.md 720 Bytes
c58547cd   Hu Chunming   提交编译文件和运行配置
1
2
  # 注意
      由于子库和opencv原因,三方库都要添加 _GLIBCXX_USE_CXX11_ABI=0 编译
09c2d08c   Hu Chunming   arm交付版
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  
  ### ffmpeg编译
  ~~~
  ./configure --enable-debug --extra-cflags=-g --extra-ldflags=-g --disable-optimizations --disable-stripping --disable-x86asm --enable-nonfree --disable-vaapi --extra-cflags=-fPIC --enable-shared --enable-pic --enable-ffplay --prefix=./release
  ~~~
  其中以下是用于调试的,编译release可以去掉:
  ~~~
  --enable-debug --extra-cflags=-g --extra-ldflags=-g --disable-optimizations --disable-stripping
  ~~~
  然后 make , make install
  
  ### jsoncpp/opencv/spdlog 编译
  ~~~
  mkdir build 
  cd ./build
  cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=../release ..
  make -j100
  make install
  ~~~