Boost logo

Boost-Build :

Subject: Re: [Boost-build] Telling the location of library files when using a different partition to modular-boost
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-03-21 13:30:42


AMDG

On 03/21/2016 07:14 AM, Paul A. Bristow wrote:
>
>> -----Original Message-----
>> From: Steven Watanabe [mailto:watanabesj_at_[hidden]]
>>
>> On 03/17/2016 11:55 AM, Paul A. Bristow wrote:
>>>
>>> My libraries are in the 'standard' I:/modular-boost/stage/lib location
>>>
>>> but b2 is looking in the wrong place?
>>>
>>> error: Unable to find file or target named
>>> error: '/boost/thread//boost_chrono'
>>> error: referred to from project at
>>> error: '.'
>>> error: could not resolve project reference '/boost/thread'
>>>
>>> How do I tell the jamfile where the library files reside ?
>>>
>>
>> use-project /boost : I:/modular-boost ;
>>
>> This can go in user-config.jam, project-config.jam,
>> or your project's jamfile.
>
> Looks promising but doesn't quite work

  What /exactly/ did you try? Do you get
the same error or a different error?

> (after corrected the missing space exercise for the student, and some experiments in case the
> colon in I: is causing trouble?)
>

The colon shouldn't be causing any problems.

> (I've run a -d5 but the log file is 1 Mbyte even when zipped and leaves me little the wiser.)
>

  -d5 is totally useless. If you really want
that kind of information I suggest you try
out the debugger (build b2 from the debug
branch and run it with -dconsole. The
interface is based on gdb).

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk