Boost logo

Boost-Build :

From: Andre Hentz (gclbb-jamboost_at_[hidden])
Date: 2003-03-25 00:45:02

On Mon, 24 Mar 2003, David Abrahams wrote:

> Andre Hentz <gclbb-jamboost_at_[hidden]> writes:
> > Hi. I've been experimenting with Boost.Build.v2 for a project of mine and
> > having trouble with searched-lib. Here is a simple test that I built:
> > msvc/win32:
> > warning: Unused source target { openssl.SEARCHED_LIB }
> > Main target is subbug/main
> That *may* not be a problem. It's just a warning. Does everything
> else work?
I should have mentioned that the library is neither included in
the command line nor listed in the response file, causing the compilation
to fail.

> A nice reproducible test case would be a big help.

Please, find it attached. I added a couple of .bat files to reproduce the
problem. Here is a little snippet of the output:

main.obj : error LNK2001: unresolved external symbol "void __cdecl
printString(void)" (?printString@@YAXXZ)
bin\msvc\debug\link-static\main.exe : fatal error LNK1120: 1 unresolved

LINK /DEBUG /OPT:REF,ICF /subsystem:console

> --
> Dave Abrahams
> Boost Consulting


Andre Hentz

 --23862812-19774-1048571102=:1132 Content-Type: APPLICATION/x-compressed; name="testcase.tgz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.WNT.4.44.0303242145020.1132_at_diamante>
Content-Disposition: attachment; filename="testcase.tgz"

[Attachment content not displayed.] --23862812-19774-1048571102=:1132--

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at