From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-21 01:29:10
> 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__ *)"
> How can I link to these system libraries?
> Using makefiles I always listed them. I this what I also have to do with
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.
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