升压BCP不输出任何文件? [英] Boost BCP doesn't output any files?

查看:194
本文介绍了升压BCP不输出任何文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用升压复制(BCP)工具拉 normal_distribution 类出加速的。然而,当我做 BCP normal_distribution ./my_normal_distribution_dir ,未出现任何my_normal_distribution_dir目录。

I'm trying to use the Boost Copy (BCP) utility to pull the normal_distribution class out of Boost. However, when I do bcp normal_distribution ./my_normal_distribution_dir, nothing appears in the my_normal_distribution_dir directory.

下面是关于说我在做这个环境的一些更详细的背景:

Here's some more detailed background on the environment that I'm doing this in:

在Mac OS 10.7,我下载了升压1.50和untared源文件。在顶层升压目录中,我做了 ./ bootstrap.sh 。于是,我做了 ./的bjam ./tool​​s/bcp ,它产于./dist/bin目录BCP可执行文件。我创建了一个名为my_normal_distribution_dir目录。然后,我尝试下面的命令来提取 normal_distribution 类:

On Mac OS 10.7, I downloaded the Boost 1.50 and untared source files. In the top-level Boost directory, I did ./bootstrap.sh. Then, I did ./bjam ./tools/bcp, which produced a bcp executable in the ./dist/bin directory. I created a directory called my_normal_distribution_dir. Then, I tried the following commands to extract the normal_distribution class:

./dist/bin/bcp normal_distribution ./my_normal_distribution_dir
./dist/bin/bcp --list normal_distribution --boost=./ ./my_normal_distribution_dir 
./dist/bin/bcp --list normal_distribution --boost=./ output-path:./my_normal_distribution_dir

我使用my_normal_distribution_dir的绝对路径也试过。

I also tried using the absolute path of my_normal_distribution_dir.

所有这些给下面的输出:

All of these give the following output:

no errors detected

不过,尝试所有这些东西之后,my_normal_distribution_dir目录仍然是空的!我该怎么办?

However, after trying all this stuff, the my_normal_distribution_dir directory is still empty! What should I do?

此外,由于<一个href=\"http://stackoverflow.com/questions/11596959/compiling-with-individual-boost-libraries-without-installing-boost\">this螺纹以暗示BCP。一旦我们解决上述问题,应BCP完美处理我的用例。

Also, thanks to this thread for suggesting BCP. Once we solve the problem described above, BCP should handle my use case perfectly.

推荐答案

我想你需要像

bcp --list math/distributions/normal.hpp

文件:的http://www.boost.org/doc/libs/1_59_0/tools/bcp/doc/html/index.html#bcp.syntax.module

这篇关于升压BCP不输出任何文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆