Boost logo

Boost :

From: Steven Weiß (steven11_at_[hidden])
Date: 2005-07-03 05:07:55


Hallo,
for Win32GUI Lib I need to link shlwapi.lib. Since the library is built
with bjam I tried to follow the advice
given at http://lists.boost.org/boost/2004/05/6103.php and searched a
bit in the internet. unfortunately it
doesn't work - when building Win32GUI I still get Linker errors
(SHCreateStreamOnFile() can't be resolved)

here is the relevant code of the jamfile:

...
lib win32gui
    : ../../src/$(SOURCES).cpp
    : [ common-names ]
     
      <include>../../..
      <define>WIN32GUI_NO_LIB
      <define>WIN32GUI_BUILDING_LIB
      <threading>multi
      <library-path>"C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib"
     
    : debug release
      <debug><find-library>shlwapi<runtime-link>static
      <release><find-library>shlwapi<runtime-link>static
    ;

I added the <library-path> and <find-library> instructions. what am I
doing wrong?

mfg Steven


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk