Jump to content

  • Log In with Google      Sign In   
  • Create Account

Does boost::pool really header-only in 1.49.0 ?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 diolee   Members   -  Reputation: 100

Like
0Likes
Like

Posted 12 March 2012 - 12:41 AM

Before I used the boost::pool version 1.43, it's head file only indeed.

Now I update the boost lib to version 1.49, although the document said:

The Boost Pool library is a header-only library. That means there is no .lib, .dll, or .so to build;


But when I compile my project, here it is the error information:

2>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc100-mt-gd-1_49.lib'


I googled for answer, but nothing helpful.

Does Anyone know the reason?

Sponsor:

#2 LorenzoGatti   Crossbones+   -  Reputation: 2779

Like
1Likes
Like

Posted 12 March 2012 - 04:29 AM

The missing file is from boost::thread, which you probably didn't build, not from boost::pool. Maybe there are #defines to disable thread related features and sever the dependency, but I'd try compiling boost::thread first.
Produci, consuma, crepa

#3 diolee   Members   -  Reputation: 100

Like
0Likes
Like

Posted 13 March 2012 - 12:06 AM

The missing file is from boost::thread, which you probably didn't build, not from boost::pool. Maybe there are #defines to disable thread related features and sever the dependency, but I'd try compiling boost::thread first.


Thank you for the information, it's very helpful:)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS