Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. OpenCVCompilerOptions相关错误:
  2. ~/maplab_ws/build/opencv3_catkin/opencv3_src/cmake/OpenCVCompilerOptions.camke第21行的else删了。
  3.  
  4. pic相关错误:
  5. 重新下载ffmpeg源码编译。注意使用的opencv版本的release时间与ffmpeg的版本release时间要类似,否则可能出现头文件宏定义不符合的问题。
  6. 编译ffmpeg的时候加上pic选项:
  7. ./configure --extra-cflags="-fPIC" --enable-pic --host-cppflags=-fPIC --host-cflags=-fPIC --enable-shared
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement