|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-21 01:29:10
Hi Johannes
> E.g.
> msvc.link example\MDIWindow\bin\msvc\release\MDIWindow.exe
> example\MDIWindow\bin\msvc\release\MDIWindow.rsp ZincT.lib(w_winmgr.obj) :
> error LNK2019: unresolved external symbol __imp__GetWindowLongA_at_8
> referenced in function "public: static class ZafWindowObject * __cdecl
> ZafMSWindowsApp::ObjectFromHandle(struct HWND__ *)"
> (?ObjectFromHandle_at_ZafMSWindowsApp@@SAPAVZafWindowObject@@PAUHWND__@@@Z)
>
> How can I link to these system libraries?
> Using makefiles I always listed them. I this what I also have to do with
> bbv2?
Yes. Like this:
lib Zinc : $(SOURCES).cxx [ lib some_windows_lib1 some_windows_lib2 ] :
: <include>inc <include>src ;
> Another questen: Building the Zinc lib I got the following warnings: I
> don't understand what I'm doing wrong.
>
> warning: using independent target
You must be using M9.1. In M10, which is in pre-release testing now, this is
fixed. It's a bogus warning, not user error.
- Volodya
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