[Boost-users] issues when trying to link with boost_datetime

9 views
Skip to first unread message

Sean Farrow

unread,
Nov 23, 2009, 1:05:06 PM11/23/09
to boost...@lists.boost.org

Hi:

I’m trying to link on windows with boost_date time.

The build can not find the file:

'libboost_date_time-vc90-mt-s-1_41.lib'

This file does not exist.

Any one know what the problem is?

Chers

Sean.

Igor R

unread,
Nov 23, 2009, 1:21:40 PM11/23/09
to boost...@lists.boost.org


If the file doesn't exist on your hard-disk, maybe you didn't build
this lib? Build it with bjam, like this:
bjam variant=release link=static runtime-link=static threading=multi
--with-date_time stage
(the toolset will be choosen automatically, or specify it explicitly)
_______________________________________________
Boost-users mailing list
Boost...@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Paul A. Bristow

unread,
Nov 23, 2009, 1:46:28 PM11/23/09
to boost...@lists.boost.org

From: boost-use...@lists.boost.org [mailto:boost-use...@lists.boost.org] On Behalf Of Sean Farrow
Sent: Monday, November 23, 2009 6:05 PM
To: boost...@lists.boost.org
Subject: [Boost-users] issues when trying to link with boost_datetime
Importance: High

Maybe

 

1        You haven’t built the library, for example, to  somewhere /lib/stage.  For me it’s I:\boost_1_41_0\stage\lib.  Check there first?

2        You haven’t added the path to the libraries in Tools options, VC directories, library, browse to find the \lib

3        You haven’t built the static library(s) – the simple build library doesn’t do this – and doesn’t warn you (to be corrected soon).

 

 

 

HTH

 

Paul

 

Sean Farrow

unread,
Nov 23, 2009, 2:55:50 PM11/23/09
to boost...@lists.boost.org
Hi:
This works. Doing a --build-type=complete doesn't build this variant.
Couldthis be corrected?
Cheers
Sean.
Reply all
Reply to author
Forward
0 new messages