Opened 8 years ago

Closed 8 years ago

#10171 closed Bugs (worksforme)

Why does boost::thread only has /mt version of dll

Reported by: losengarden@… Owned by: viboes
Milestone: Component: thread
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

I use boost in visual C++ project(MFC ActiveX), all my projects are build with /md, and the "boost_thread-vc100-mt-1_55.dll " couldn't work in my project( regsver *.ocx failed, error code is 0x80040200). So, how can i compile the boost::thread with /md( boost_thread-vc100-1_55.dll )? Thank you.

Change History (5)

comment:1 by anonymous, 8 years ago

I also use bjam with runtime-link=shared to build boost_thread,but still only has mt version dll.

comment:2 by Niall Douglas, 8 years ago

Pass --build-type=complete to bjam.

in reply to:  2 comment:3 by anonymous, 8 years ago

Replying to ned14:

Pass --build-type=complete to bjam.

Thanks, but it still doesn't work. Then I add a BOOST_ALL_DYN_LINK define in my mfc project, everything is OK. Refer to this discussion http://stackoverflow.com/questions/19151632/shouldnt-boostthread-libraries-be-deployed-with-my-project-generated-with-md in the Stack Overflow. So, I think this problem is fixed.

comment:4 by viboes, 8 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

Thanks Niall for your pertinent comment.

comment:5 by viboes, 8 years ago

Milestone: To Be Determined
Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.