您尚未登录。

楼主 # 2021-09-23 11:25:05

542396750@qq.com
会员
注册时间: 2021-03-26
已发帖子: 153
积分: 14.5

buildroot-2.017.08里面没有C++编译器

onfigure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls
checking whether the C++ compiler works... no
configure: error: in `/home/obm/123/buildroot-2017.08/output/build/tesseract-ocr-3.05.00':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
package/pkg-generic.mk:217: recipe for target '/home/obm/123/buildroot-2017.08/output/build/tesseract-ocr-3.05.00/.stamp_configured' failed
make: *** [/home/obm/123/buildroot-2017.08/output/build/tesseract-ocr-3.05.00/.stamp_configured] Error 77

离线

楼主 #1 2021-09-23 11:42:25

542396750@qq.com
会员
注册时间: 2021-03-26
已发帖子: 153
积分: 14.5

Re: buildroot-2.017.08里面没有C++编译器

已经添加了C++ support,但是还是没有

离线

#2 2021-09-23 12:04:48

cube
会员
注册时间: 2021-03-11
已发帖子: 288
积分: 202.5

Re: buildroot-2.017.08里面没有C++编译器

把你的 .config 发上来看看

离线

#3 2021-09-23 14:12:49

jordonwu
会员
注册时间: 2021-07-05
已发帖子: 59
积分: 40

Re: buildroot-2.017.08里面没有C++编译器

如果你是buildroot buildin的toolchain需要配置c++支持,如果是外部toolchain,一般都是支持c++的

离线

楼主 #4 2021-09-23 14:22:09

542396750@qq.com
会员
注册时间: 2021-03-26
已发帖子: 153
积分: 14.5

Re: buildroot-2.017.08里面没有C++编译器

cube 说:

把你的 .config 发上来看看

config.txt

离线

#5 2021-09-23 15:07:13

unturned3
会员
注册时间: 2020-07-01
已发帖子: 263
积分: 301

Re: buildroot-2.017.08里面没有C++编译器

你 buildroot make menuconfig 打开了 c++ support 和相关选项后,有没有重新执行 make clean && make all ?

离线

楼主 #6 2021-09-24 10:40:19

542396750@qq.com
会员
注册时间: 2021-03-26
已发帖子: 153
积分: 14.5

Re: buildroot-2.017.08里面没有C++编译器

unturned3 说:

你 buildroot make menuconfig 打开了 c++ support 和相关选项后,有没有重新执行 make clean && make all ?


没,我再试试,谢谢

离线

#7 2021-09-26 21:10:48

unturned3
会员
注册时间: 2020-07-01
已发帖子: 263
积分: 301

Re: buildroot-2.017.08里面没有C++编译器

542396750@qq.com 说:
unturned3 说:

你 buildroot make menuconfig 打开了 c++ support 和相关选项后,有没有重新执行 make clean && make all ?


没,我再试试,谢谢

https://buildroot.org/downloads/manual/manual.html#full-rebuild

建议看一下 buildroot 文档,尤其是 “8.2. Understanding when a full rebuild is necessary” 这一块。buildroot 缺点就是每次menuconfig 做点啥改动,几乎都得重新 make clean all

离线

楼主 #8 2021-09-27 09:37:59

542396750@qq.com
会员
注册时间: 2021-03-26
已发帖子: 153
积分: 14.5

Re: buildroot-2.017.08里面没有C++编译器

@unturned3


3Q  Thanks

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn