Boost logo

Boost :

From: Chris Smith (smitty_one_each_at_[hidden])
Date: 2004-01-14 09:12:16

> David Abrahams wrote:
>> "John Maddock" <john_at_[hidden]> writes:
>>>> I've been striving to understand bjam v1/v2 with respect to Boost.Regex
>>>> and Boost.Python. bjam is clearly the Way Ahead, so I want to grasp it
>>>> fully.
> [snip]
>> Actually the preferred form is to use project ids and not depend on
>> variables such as BOOST_ROOT:
>> <lib>@boost/libs/regex/build/boost_regex
>> or
>> <dll>@boost/libs/regex/build/boost_regex
>> because it will work in a cross-project context.
  No joy:

  #<example jamfile>
  extension query_py
  : # sources
    # requirements and dependencies for Boost.Python extensions
  #</example jamfile>

  With the invocation

  c:\boost\libs\python\example>bjam -sTOOLS=VC7.1

  I get
  LINK : fatal error LNK1104: cannot open file

  If I copy

  c:\boost\libs\python\example\ , and change it to
  libboost_regex-vc71-mt-gd-1_31.lib, query_py.pyd compiles just fine, and
  works when invoked from Python, too!
  Would I had the skill to figure out the disconnect. Perhaps someday. ;)

Boost list run by bdawes at, gregod at, cpdaniel at, john at