Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-02-22 09:45:09


zouguangxian wrote:
>
> i am a newbie of bjam. i use
>
> bjam -sTOOLS=vc-7_1
>
> to build my program ,but i got the following error.:
> CIniFile.obj : error LNK2019: unresolved external reference
> __imp__wsprintfA £¬the symbol referenced in "public: void __thiscall
> ArkCommon::Vfs
> ::CIniFile::WriteStruct(char const *,char const *,void *,unsigned
> int)" (?WriteStruct_at_CIniFile@Vfs_at_ArkCommon@@QAEXPBD0PA
> XI_at_Z)
> it seems that bjam can't find where and which library should link .
> how to resolve it ? thanks .

In the requirements section of your target definition add:

<find-library>user32

--grafik

 


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