|
发表于 2017-4-10 12:53:09
21684 浏览 1 回复
还是opencv移植的问题,蛋疼。。。。
opencv的交叉编译弄好了,移植到板子上时出现两个错误,没有安装显示库和不支持V4L,这不科学啊,明明已经在cmake-gui界面勾选了V4L这个选项(话说讯为提供的教程真的是蛋疼,按照那个配置根本不可能找的到V4L这个选项)。但最后编译过了拷贝到板子上的时候却还是不行,错误提示如下大伙儿有没有移植成功的,帮忙看看。
- /mnt/disk # cp -rf lib_downloads1/* /lib
- /mnt/disk # cd ARMCODE
- /mnt/disk/ARMCODE # camera -qws
- [ 229.398797] s3c-fimc0: FIMC0 1 opened.
- [ 229.401137] s3c-fimc0: FIMC0 0 released.
- [ 229.404999] s3c-fimc1: FIMC1 1 opened.
- [ 229.408738] s3c-fimc1: FIMC1 0 released.
- [ 229.412653] s3c-fimc2: FIMC2 1 opened.
- [ 229.416373] s3c-fimc2: FIMC2 0 released.
- [ 229.420289] s3c-fimc3: FIMC3 1 opened.
- [ 229.423993] s3c-fimc3: FIMC3 0 released.
- HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
- OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /usr/local/arm/opencv-2.4.9/modules/highgui/src/window.cpp, line 483
- terminate called after throwing an instance of 'cv::Exception'
- what(): /usr/local/arm/opencv-2.4.9/modules/highgui/src/window.cpp:483: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvNamedWindow
- Aborted
复制代码
|
|
|
|
|
|
|
|
发表于 2017-8-1 09:15:44
|
|
|
|
|
|
登录或注册
扫一扫关注迅为公众号


|