OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 2857|回复: 1

安装openCV的交叉编译环境出错

[复制链接]
发表于 2017-2-19 11:13:32 | 显示全部楼层 |阅读模式
[  6%] Linking C static library ../lib/liblibjpeg.a
[  6%] Built target libjpeg
Scanning dependencies of target libjasper
[  6%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t2dec.c.obj
In file included from /home/wenchuan/opencv-2.4.13/3rdparty/libjasper/jpc_t2dec.c:82:
/home/wenchuan/opencv-2.4.13/3rdparty/libjasper/jasper/jas_stream.h:258: `PATH_MAX' undeclared here (not in a function)
/home/wenchuan/opencv-2.4.13/3rdparty/libjasper/jasper/jas_stream.h:258: size of array `pathname' has non-integer type
3rdparty/libjasper/CMakeFiles/libjasper.dir/build.make:62: recipe for target '3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t2dec.c.obj' failed
make[2]: *** [3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_t2dec.c.obj] Error 1
CMakeFiles/Makefile2:369: recipe for target '3rdparty/libjasper/CMakeFiles/libjasper.dir/all' failed
make[1]: *** [3rdparty/libjasper/CMakeFiles/libjasper.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
///////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////
求助,谁能帮我看看怎么回事啊
回复

使用道具 举报

发表于 2017-2-23 14:41:53 | 显示全部楼层
看到有人说删掉,再重新编译。哥们你遇到一个过这个问题么:fatal error: opencv2/core/core_c.h: No such file or directory
搞了两天了,毫无进展
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-3-4 16:31 , Processed in 0.013794 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表