Re: "error: Unable to find file or target named" when using BCP to change Boost namespace

Дмитрий Архипов via Boost-users <[email protected]> Thu, 16 Jan 2025 22:01:00 +0300
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAKEcVxU8OL42Lqh-AaEOxjxi+LQv9EMNwoCrkA_7bkcLgOTzSg@mail.gmail.com>
чт, 16 янв. 2025 г. в 18:09, Nicholas Williams via Boost-users
<[email protected]>:
> error: Unable to find file or target named
> error:     '/boost/align//boost_align'
> error: referred to from project at
> error:     '{dir}/_dst/libs/atomic/build'
> make: *** [build] Error 1

That is a bug in bcp. If you're looking for a quick fix, find this
line in Jamroot:

    modules.poke $(lib-module) : BOOST_LIB_TARGET : boost_$(lib) ;

And replace it with

    modules.poke $(lib-module) : BOOST_LIB_TARGET : "boost"_$(lib) ;

Then run bcp again.
_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users