[Boost-users] Can't get the bcp tool to work

455 views
Skip to first unread message

Z. S. O.

unread,
Oct 6, 2008, 12:28:29 PM10/6/08
to boost...@lists.boost.org
I'd like to copy all the files in the filesystem library using bcp to a folder. I'm using the command:

./bcp filesystem [destination path]

However, the output I get is "no errors detected" and nothing has been copied to the destination. Am I doing something wrong?

I'm on Mac OS X intel, but this exact same problem occurs on my Windows machine as well.

Steven Watanabe

unread,
Oct 6, 2008, 2:46:54 PM10/6/08
to boost...@lists.boost.org
AMDG

Try using --boost=... to tell bcp where to look for the boost tree.

In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost...@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Z. S. O.

unread,
Oct 6, 2008, 2:59:11 PM10/6/08
to boost...@lists.boost.org
Unfortunately I tried that previously and it didn't work. Here's my command along with the output:

$ ./bcp filesystem /Users/Admin/Desktop --boost=/Users/Admin/Downloads/boost_1_36_0
**** exception(205): std::runtime_error: Destination path does not exist: 
******** errors detected; see standard output for details ********

This is supposed to copy boost.filesystem to my desktop. If I omit everything but the --boost= statement, the same thing happens.

Daniel James

unread,
Oct 6, 2008, 5:45:55 PM10/6/08
to boost...@lists.boost.org
Z. S. O. wrote:
> Unfortunately I tried that previously and it didn't work. Here's my
> command along with the output:
>
> $ ./bcp filesystem /Users/Admin/Desktop
> --boost=/Users/Admin/Downloads/boost_1_36_0

It only recognizes the destination path if it is last parameter.
Hopefully this should work:

./bcp --boost=/Users/Admin/Downloads/boost_1_36_0 filesystem
/Users/Admin/Desktop

Daniel

Z. S. O.

unread,
Oct 6, 2008, 5:53:29 PM10/6/08
to boost...@lists.boost.org
Hmm, here's the output for that:

**** exception(225): memory access violation at address: 0x00000000: non-existent physical address
******** errors detected; see standard output for details ********

Marshall Clow

unread,
Oct 7, 2008, 12:00:30 AM10/7/08
to boost...@lists.boost.org
At 5:53 PM -0400 10/6/08, Z. S. O. wrote:
>Hmm, here's the output for that:
>
>**** exception(225): memory access violation at address: 0x00000000:
>non-existent physical address
>******** errors detected; see standard output for details ********
>

Are you building from the trunk?
Check your build transcript .. see if Boost::System built correctly.
If it did not, update from svn and try again....
--
-- Marshall

Marshall Clow Idio Software <mailto:mars...@idio.com>

It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.

John Maddock

unread,
Oct 7, 2008, 4:53:56 AM10/7/08
to boost...@lists.boost.org
Z. S. O. wrote:
>> Unfortunately I tried that previously and it didn't work. Here's my
>> command along with the output:
>> $ ./bcp filesystem /Users/Admin/Desktop
>> --boost=/Users/Admin/Downloads/boost_1_36_0
>> **** exception(205): std::runtime_error: Destination path does not
>> exist:
>> ******** errors detected; see standard output for details ********
>>
>> This is supposed to copy boost.filesystem to my desktop. If I omit
>> everything but the --boost= statement, the same thing happens.

The correct invocation is:

bcp [options] module-list destination-directory

so that should be:

bcp --boost=/Users/Admin/Downloads/boost_1_36_0 filesystem
/Users/Admin/Desktop

Having said that, I'll try and make the tool less picky, and improve the
error messages a bit.

HTH, John.

Z. S. O.

unread,
Oct 7, 2008, 1:30:07 AM10/7/08
to boost...@lists.boost.org
Looks like the issue was my fault. I used darwinports to install boost 1.35, but it didn't come with bcp so I built that separately from a 1.36 package I downloaded.
 
I just downloaded boostpro on my Windows box and bcp works great now, so I'll just copy the resulting files onto my mac. Thank you all very much for the help.
On Tue, Oct 7, 2008 at 12:00 AM, Marshall Clow <mars...@idio.com> wrote:
At 5:53 PM -0400 10/6/08, Z. S. O. wrote:
Hmm, here's the output for that:

**** exception(225): memory access violation at address: 0x00000000: non-existent physical address
******** errors detected; see standard output for details ********


Are you building from the trunk?
Check your build transcript .. see if Boost::System built correctly.
If it did not, update from svn and try again....
--
-- Marshall

Marshall Clow     Idio Software   <mailto:mars...@idio.com>

It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
Reply all
Reply to author
Forward
0 new messages