按照这篇文章交叉编译OpenCV,出现了这等错误,如何是好?
opencv吧
全部回复
仅看楼主
level 1
http://blog.csdn.net/jasonque/article/details/8267983The CXX compiler identification is unknown
The C compiler identification is unknown
System is unknown to cmake, create:
Check for working CXX compiler: /usr/local/arm/4.3.2/bin/arm-linux-g++ -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
The C++ compiler "/usr/local/arm/4.3.2/bin/arm-linux-g++" is not able to
compile a simple test program.
It fails with the following output:
Change Dir: /usr/local/opencv/opencv-arm/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory
`/usr/local/opencv/opencv-arm/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/usr/local/opencv/opencv-arm/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.obj
/usr/local/arm/4.3.2/bin/arm-linux-g++ -o
CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.obj -c
/usr/local/opencv/opencv-arm/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
/usr/local/arm/4.3.2/bin/arm-linux-g++: line 3: exec:
arm-none-linux-gnueabi-g++: not found
make[1]: Leaving directory
`/usr/local/opencv/opencv-arm/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.obj]
Error 127
make: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:59 (project)
Configuring incomplete, errors occurred!
2013年12月06日 14点12分 1
level 1
error in configration progress,project files may be invalid.
2013年12月06日 16点12分 2
一模一样的问题想问问您解决了吗,可以指点一下吗,感激不尽!
2018年04月19日 12点04分
解决了没? 到底是啥问题啊?
2018年06月17日 14点06分
兄弟,解决了吗?这是啥问题。我也是这个
2020年09月26日 07点09分
ÿ一样,你们怎么解决的啊?求指教
2020年10月13日 06点10分
level 1
我也遇到了这样的问题,你解决了吗?
2014年03月24日 09点03分 3
level 1
应该是交叉编译器对于运行cmake-gui的用户不可用,可以使用arm-linux-gcc -v查看一下编译其的版本,如果提示命令没找到,,就是对于当前用户不可用,可以把编译器的安装路径加入该用户的PATH变量中,我遇到的也是这个问题,解决了
2014年03月26日 09点03分 4
楼主 正解,,,我的问题跟你的不一样,但是按照你的思路最终解决了。
2018年06月17日 14点06分
1