关闭

opencv 3.0 defect

标签: compilergccopencv
510人阅读 评论(0) 收藏 举报
分类:
  1. darknet c opencv files( highgui/highgui_c.h ), but include c++ header file with template. But opencv 2.x don’t.
    I use gcc -H src/image.h to look for depent header files

  2. imread/imwrite and friends were moved from highgui to a new imgcodecs module in opencv 3.0

include “opencv2/imgcodecs.hpp”
and link

-lopencv_imgcodecs
btw, include path should be:

-I/usr/local/include
not
-I/usr/local/include/opencv

. ./src/convolutional_layer.h
.. ./src/cuda.h
... /usr/local/cuda/bin//../targets/x86_64-linux/include/curand.h
... /usr/local/cuda/bin//../targets/x86_64-linux/include/cublas_v2.h
.... /usr/local/cuda/bin//../targets/x86_64-linux/include/cublas_api.h
..... /usr/local/cuda/bin//../targets/x86_64-linux/include/cuComplex.h
.. ./src/params.h
.. ./src/image.h
... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/include/float.h
... /usr/local/include/opencv2/highgui/highgui_c.h
.... /usr/local/include/opencv2/core/core_c.h
..... /usr/local/include/opencv2/core/types_c.h
...... /usr/local/include/opencv2/core/cvdef.h
....... /usr/local/include/opencv2/hal/defs.h
........ /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/include-fixed/limits.h
........ /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/include/stdint.h
......... /usr/include/stdint.h
.......... /usr/include/x86_64-linux-gnu/bits/wchar.h
.......... /usr/include/x86_64-linux-gnu/bits/wordsize.h
........ /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/cmath
........ /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/algorithm
......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/utility
.......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/stl_relops.h
.......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/stl_pair.h
........... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/move.h
............ /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/concept_check.h
......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/stl_algobase.h
.......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/functexcept.h
........... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/exception_defines.h
.......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/ext/numeric_traits.h
.......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/stl_iterator_base_types.h
.......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/stl_iterator_base_funcs.h
.......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/stl_iterator.h
.......... /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/debug/debug.h
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:132836次
    • 积分:2120
    • 等级:
    • 排名:第18654名
    • 原创:66篇
    • 转载:92篇
    • 译文:0篇
    • 评论:15条
    最新评论