Opened 10 years ago

Closed 10 years ago

#6964 closed Bugs (fixed)

Build Boost Regex 1.49.0 via makefile and vc80 created 1.47.0 libs, dll's

Reported by: garth.lancaster@… Owned by: John Maddock
Milestone: To Be Determined Component: regex
Version: Boost 1.49.0 Severity: Problem
Keywords: makefile version Cc:

Description

building boost regex manually with 'nmake -fvc80.mak' builds libs, dll's with 1.47 in the name. This means a) 'nmake -fvc80.mak install' fails because the copy of 1.49 components fails b) linking fails unless the libs (in this case I was using a static lib) are renamed to change 1.47 to 1.49

I suspect a simple fix for this is to do a change and replace on vc80.mak and replace 1.47 with 1.49 (I simply renamed the one required lib for my particular build) and just changed my $(BOOST) environment pointer to the build\vc80 dir to get around the install issue

  • I havnt checked to see what else is affected yet becuase I needed to resurect some code in a hurry (sigh, isnt it always the way), but I can the other makefiles if you ask

Another comment I'd make is about bjam - I have build boost components using bjam before (gulp, around 1.34) - but when I looked for the instructions for using bjam to build a single component like regex, I struggled to find them - I actually think the docco has regressed slightly in this respect - sure there's a lot of docco on what bjam is/does, but it needs a 'quick' start - eg, to build regex using bjam, type this .....

(ok, so its easy for someone 'out here' to criticise, I hope my comments arnt taken personally, but constructively)

(did a quick search and couldnt see this issue described)

Oh, my environment is VS2005 on Windows 7, 64 Bit Professional, and I did run with Admin privs and start vcvars32.bat before the nmake

cheers, Garth

Change History (1)

comment:1 by John Maddock, 10 years ago

Resolution: fixed
Status: newclosed

I should probably just remove those makefiles in favor of the "official" build procedure.

Whatever, for 1.50 they'll have the correct names.

For building with bjam, just use "bjam --with-regex" and only regex will be built, "bjam --help" provides a lot of information as well, but the main getting started docs cover this here: http://www.boost.org/doc/libs/1_49_0/more/getting_started/windows.html#prepare-to-use-a-boost-library-binary

Note: See TracTickets for help on using tickets.