0

我在我的虚拟机中尝试了一个使用 curlpp 库的 c++ 程序,我的意图是当我执行程序时,我可以通过 tftp 获取文件。

我在虚拟机上测试了这个程序,这个程序设法从另一个虚拟机获取文件。但是,当我在 beaglebone yocto 中运行该程序时,它会提示以下错误:

Protocol "tftp" not supported or disabled in libcurl

仅供参考,beaglebone 可以使用busybox tftp 从VM ping 和greb 文件。我从https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb获得 curlpp 食谱。我错过了什么吗?

4

1 回答 1

0

在 local.conf 中添加 PACKAGECONFIG_append_pn-curl = "tftp"

于 2021-06-19T10:03:42.860 回答