Boost logo

Ublas :

Subject: Re: [ublas] Deploying Software with boost::numeric
From: Bruno Abreu Calfa (bacalfa_at_[hidden])
Date: 2011-11-29 20:27:05


Hey, Ryo,

Thanks for your reply! I'm getting linking errors when building BCP. I did
the following:

1) sh bootstrap.sh
2) Copied bjam to tools/bcp
3) ./bjam

Here's what I get:

Performing configuration checks

    - has_icu builds : no
...patience...
...found 1042 targets...
...updating 2 targets...
gcc.link ../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/bcp
../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/copy_path.o: In
function `bcp_implementation::copy_path(boost::filesystem3::path const&)':
copy_path.cpp:(.text+0x18e2): undefined reference to
`boost::filesystem3::detail::copy_file(boost::filesystem3::path const&,
boost::filesystem3::path const&, boost::filesystem3::copy_option,
boost::system::error_code*)'
collect2: ld returned 1 exit status

    "g++" -o "../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/bcp"
-Wl,--start-group
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/add_dependent_lib.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/add_path.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/bcp_imp.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/copy_path.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/file_types.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/fileview.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/main.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/path_operations.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/scan_cvs_path.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/licence_info.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/scan_licence.o"
"../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/output_licence_info.o"
"../../bin.v2/libs/test/build/gcc-4.6.1/release/link-static/libboost_prg_exec_monitor.a"
"../../bin.v2/libs/regex/build/gcc-4.6.1/release/link-static/libboost_regex.a"
"../../bin.v2/libs/filesystem/build/gcc-4.6.1/release/link-static/libboost_filesystem.a"
"../../bin.v2/libs/system/build/gcc-4.6.1/release/link-static/libboost_system.a"
-Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group

...failed gcc.link
../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static/bcp...
...skipped <p../../dist/bin>bcp for lack of
<p../../bin.v2/tools/bcp/gcc-4.6.1/release/link-static>bcp...
...failed updating 1 target...
...skipped 1 target...

On Tue, Nov 29, 2011 at 7:10 PM, Ryo IGARASHI <rigarash_at_[hidden]> wrote:

> Hi, Bruno,
>
> On Wed, Nov 30, 2011 at 6:53 AM, Bruno Abreu Calfa <bacalfa_at_[hidden]>
> wrote:
> > I would like to know what Boost modules I must include in a software that
> > only makes use of numeric + bindings functionality? I wouldn't like to
> force
> > the user to have the full Boost package in order to run my program.
> >
> > If I only have boost/numeric with bindings I get errors saying
> serialization
> > files are missing. If I include that, then config is missing. And so on.
>
> There is a script called bcp. You can build it from the boost main tree.
>
> See a document below:
> http://www.boost.org/doc/libs/1_48_0/tools/bcp/doc/html/index.html
>
> Best regards,
> --
> Ryo IGARASHI, Ph.D.
> rigarash_at_[hidden]
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: bacalfa_at_[hidden]
>