CMAKE 编译报错

报错如下: CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.
 没有安装 gcc 和 gcc-c++,执行cmake报如上错误:
yum install -y gcc
yum install -y gcc-c++

 

 

yacc: Command not found

 yum install -y byacc

 

 

WARNING: `flex' is missing on your system. You should only need it if
you modified a `.l' file. You may need the `Flex' package
in order for those modifications to take effect. You can get
`Flex' from any GNU archive site.
make[2]: *** [thriftl.cc] Error 1
make[2]: Leaving directory `/home/kunyang/hs2client-master/thirdparty/thrift-0.9.1/compiler/cpp'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/kunyang/hs2client-master/thirdparty/thrift-0.9.1/compiler/cpp'
make: *** [install-recursive] Error 1

 

yum -y install flex

原文链接: https://www.cnblogs.com/0xcafedaddy/p/8694454.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍

    CMAKE 编译报错

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/271685

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年2月14日 下午10:05
下一篇 2023年2月14日 下午10:06

相关推荐