用户
 找回密码
 立即注册

QQ登录

只需一步,快速开始

点击进入授权页面

只需一步,快速开始

  • QQ空间
  • 回复
  • 收藏
1111LUOZHU HAOREN
怎样在ubuntu上交叉编译OPENCV库啊,请教一下
试试看,真的不错不错
楼主您好!在用您的方法时出现了以下问题:
Run Build Command:"/usr/bin/make" "cmTC_3d448/fast"

  /usr/bin/make -f CMakeFiles/cmTC_3d448.dir/build.make
  CMakeFiles/cmTC_3d448.dir/build

  make[1]: Entering directory
  '/home/root/opencv/opencv-2.4.9/CMakeFiles/CMakeTmp'

  Building CXX object CMakeFiles/cmTC_3d448.dir/testCXXCompiler.cxx.o

  /usr/bin/c++ -o CMakeFiles/cmTC_3d448.dir/testCXXCompiler.cxx.o -c
  /home/root/opencv/opencv-2.4.9/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

  Linking CXX executable cmTC_3d448

  /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3d448.dir/link.txt
  --verbose=1

  /usr/bin/c++ CMakeFiles/cmTC_3d448.dir/testCXXCompiler.cxx.o -o cmTC_3d448
  -rdynamic

  /usr/lib/gcc/i586-poky-linux/4.8.2/../../../../i586-poky-linux/bin/ld:
  cannot find -lstdc++

  collect2: error: ld returned 1 exit status

  CMakeFiles/cmTC_3d448.dir/build.make:97: recipe for target 'cmTC_3d448'
  failed

  make[1]: Leaving directory
  '/home/root/opencv/opencv-2.4.9/CMakeFiles/CMakeTmp'

  Makefile:126: recipe for target 'cmTC_3d448/fast' failed

  make[1]: *** [cmTC_3d448] Error 1

  make: *** [cmTC_3d448/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:56 (project)


-- Configuring incomplete, errors occurred!
See also "/home/root/opencv/opencv-2.4.9/CMakeFiles/CMakeOutput.log".
See also "/home/root/opencv/opencv-2.4.9/CMakeFiles/CMakeError.log".
root@jarod002:~/opencv/opencv-2.4.9#
这个改怎么解决呢?请指教
来学习学习
谢谢楼主分享的教程

个十多个大范甘迪个的
发新帖
发表评论
高级模式  
您需要登录后才可以回帖 登录 | 立即注册  
关闭

推荐主题 上一条 /2 下一条