[英]When using Facebook Folly in my code, g++ could not find some header
I have installed Facebook Folly from source, and some headers were copied to /usr/local/include/folly
automatically. 我已经从源代码安装了Facebook Folly,并且一些标头已自动复制到
/usr/local/include/folly
。
Then I am using #include "folly/Conv.h"
in my code, but when I compile, I meet a error: could not find folly/CpuId.h
. 然后,我在代码中使用
#include "folly/Conv.h"
,但是在编译时遇到错误: could not find folly/CpuId.h
。
I find that CpuId.h
is not in /usr/local/include/folly
but it is in the directory where I downloaded Folly. 我发现
CpuId.h
不在/usr/local/include/folly
但在我下载Folly的目录中。
My questions: 我的问题:
/usr/local/include/folly
when I installed it? /usr/local/include/folly
? folly-master.zip
without git
some day before installing it. folly-master.zip
没有git
的folly-master.zip
下下载了folly-master.zip
。 why does not folly copy all header to /usr/local/include/folly when I installed ?
为什么我安装时不愚蠢地将所有标头复制到/ usr / local / include / folly?
Some version is not so good as others. 有些版本不如其他版本好。 I met with the same problem too.
我也遇到了同样的问题。 It's quite stable now.
现在非常稳定。
how can I know my folly vertion?
我怎么知道我愚蠢的说法? I just download the folly-master.zip without git someday before.
我只是在前一天没有git的情况下下载了folly-master.zip。
It has several releases . 它有几个版本 。
If you are using Gentoo Linux, you may employ my folly library overlay . 如果您使用的是Gentoo Linux,则可以使用我的愚蠢的库overlay 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.