Boost logo

Boost-Build :

Subject: [Boost-build] Telling the location of library files when using a different partition to modular-boost
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2016-03-17 13:55:19


(Possibly unwisely ) I'm compiling and running C++ source that is on a different partition X: to my i:/modular-boost tree where the
libraries are built OK.

I have a jamfile on my X: partition and all works as expected until I need to link to a library, for example chrono to run a
stopwatch.

I've specified the library I need like this

run hello_boost_library.cpp /boost/thread//boost_chrono ;

exactly as works OK on the I:/modular-boost partition.

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 ?

Thanks

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830

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