|
Boost Users : |
Subject: Re: [Boost-users] Project linking problem with boost
From: Max (more4less_at_[hidden])
Date: 2015-04-16 04:08:10
----- Original Message -----
From: <Mark.Bartosik_at_[hidden]>
To: <boost-users_at_[hidden]>
Subject: Re: [Boost-users] Project linking problem with boost
Date: 2015-04-15 22:59
Try one of the /VERBOSE options on the linker’s command line will get you this information, I cannot remember which is the most painless one though.
From the command line: /VERBOSE[:{CLR|ICF|INCR|LIB|REF|SAFESEH|UNUSEDLIBS}]
/VERBOSE:LIB
You can find this under Properties, Linker, General, Show Progress
You can also set directly Properties, Linker, Command Line
As I recall just /VERBOSE:LIB should generate a lot of output about which library is pulled in (and hopefully by which other library).
Just the /VERBOSE output generate a huge amount of output (minimize the window and open with text editor later or it will be a long wait).
-
Mark
-
------------------------------------------------------
Dear Mark,
Thank you very much for your information - I didn't know this technique before.
The problem is, though the problem seemed to be related to the linking process, the message as in my previous email was emitted by VS2008 before the linking process begins. So for the time being, I cannot benefit from adding extra switches to the link command.
Best regards,Max
---------------------------------------------------
From: Boost-users [mailto:boost-users-bounces_at_[hidden]]
On Behalf Of Max
Sent: Wednesday, April 15, 2015 5:49 AM
To: boost-users
Subject: [Boost-users] Project linking problem with boost
Sent: Wednesday, April 15, 2015 5:49 AM
To: boost-users
Subject: [Boost-users] Project linking problem with boost
Hello,
The problem here relates to boost, but I'm aware it may of more general nature rather than boost specific.
I had a weird problem with my project. It has a bunch of dependencies including many of the boost libraries. My platform is: Win7SP1 + VS2008SP1 + boost1.39.0.
I have properly set the VC++ directories for both include and lib files pointing to the boost folder (1.39.0) and of course those for other dependencies. But I got the following message when I built the project:
1>Linking to GSL lib
1>Linking to lib file: CGAL-vc90-mt.lib
1>Linking to lib file: libboost_date_time-vc80-mt-1_34.lib
1>Linking to lib file: libboost_regex-vc80-mt-1_34.lib
I don't know why VS was attempting to link to libs of boost 1.34.0 built with VC80 (I'm using VC 90 - VS2008)
Could anybody please give me some hints about this problem or where the message like "Linking to lib file: ..." came from?
Thanks.
Best regards,
Max
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net