Boost logo

Boost-Build :

From: Dirk Griffioen (dirk.griffioen_at_[hidden])
Date: 2005-07-16 05:18:32


Hi All,

In order to get a multi platform build,

I added

<use>/boost
...

to my project root,

I also specified

<define>BOOST_ALL_NO_LIB=1

To my surprise, the vc71 linker complains with:

LINK : fatal error LNK1104: cannot open file
'boost_unit_test_framework-vc71-mt-gd-1_32.lib'

It tries to find a name that should /not/ be there, the
*-vc71-mt-gd-1_32* bit should only happen with autolinking enabled
(which I turned off!)

With gcc it works fine; and besides the vc71 boost lib in
$(boost_root)/bin.v2 is called *"boost_unit_test_framework.lib".

*How is this possible? (Do I need another macro?)

Thanks in advance,

Dirk Griffioen

 --------------010404080504030604040107 Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi All,<br>
<br>
In order to get a multi platform build, <br>
<br>
I added <br>
<br>
    <font face="Courier New, Courier, monospace">&lt;use&gt;/boost <br>
   ...<br>
</font><br>
to my project root, <br>
<br>
I also specified<br>
  <br>
  <font face="Courier New, Courier, monospace">&lt;define&gt;BOOST_ALL_NO_LIB=1</font><br>
<br>
To my surprise, the vc71 linker complains with:<br>
<br>
<font face="Courier New, Courier, monospace">LINK : fatal error
LNK1104: cannot open file
'boost_unit_test_framework-vc71-mt-gd-1_32.lib'</font><br>
<br>
It tries to find a name that should <i>not</i> be there, the <b>-vc71-mt-gd-1_32</b>
bit should only happen with autolinking enabled (which I turned off!)<br>
<br>
With gcc it works fine; and besides the vc71 boost lib in
$(boost_root)/bin.v2  is called <b>"boost_unit_test_framework.lib".<br>
<br>
</b>How is this possible? (Do I need another macro?)<br>
<br>
Thanks in advance, <br>
<br>
Dirk Griffioen<br>
<br>
<br>
</body>
</html>
 --------------010404080504030604040107--


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