Boost logo

Boost-Build :

Subject: Re: [Boost-build] 1.36 VC++ makefiles hardcoded to 1.35?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-10-15 12:30:10


jorgander wrote:

>
> Hello - new to boost here, but not new to C++, makefiles, etc. I just
> downloaded boost and am attempting to build and use ICU regex based on the
> http://www.boost.org/doc/libs/1_36_0/libs/regex/doc/html/boost_regex/install.html
> instructions . I had initial problems, such as having to update my vanilla
> VC8 install with SP1. Now it compiles and seems to install alright, but
> VC++ cannot find the libraries. Upon closer inspection, the vc8 makefile
> (and others in ../boost_1_36_0/libs/regex/build/) is 'hardcoded' to create
> libraries/dlls named "...1_35...", even though the boost version is clearly
> 1_36. As that version is specified in the main boost header file, VC++
> attempts to link to libraries with that version and consequently cannot find
> them.
>
> I can simply edit the makefile and change "35" to "36", but I'm wondering if
> it is supposed to be that way and I am not going about it correctly. I
> have not used bjam or any tool other than nmake.

The official way is using Boost.Build, as documented in:

        http://www.boost.org/doc/libs/release/more/getting_started/index.html

Although boost.regex might support other ways of building, you would have to
ask John about them -- this list is about Boost.Build only.

- Volodya


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