Opened 6 years ago

Closed 6 years ago

#12201 closed Support Requests (worksforme)

Compilation issue in 64 bit

Reported by: rabindra@… Owned by: viboes
Milestone: To Be Determined Component: thread
Version: Boost 1.60.0 Severity: Problem
Keywords: Cc:

Description (last modified by viboes)

when compiling my project in 64 bit with Boost,

It is showing error message in libboost_thread-vc90-mt-1_60.lib

Error	696	error LNK2005: "public: virtual __cdecl boost::detail::thread_data_base::~thread_data_base(void)" (??1thread_data_base@detail@boost@@UEAA@XZ) already defined in xxxx.obj	libboost_thread-vc90-mt-1_60.lib

Error	697	error LNK2001: unresolved external symbol "private: void __cdecl boost::thread::start_thread(void)" (?start_thread@thread@boost@@AEAAXXZ)	xxxx.obj

Error	698	error LNK2001: unresolved external symbol "public: void __cdecl boost::thread::join(void)" (?join@thread@boost@@QEAAXXZ)	xxxx.obj

where xxxx is my class for boost use

Attachments (1)

Untitled.png (23.0 KB ) - added by rabindra@… 6 years ago.
Snapshot for error

Download all attachments as: .zip

Change History (8)

by rabindra@…, 6 years ago

Attachment: Untitled.png added

Snapshot for error

comment:1 by John Maddock, 6 years ago

Component: Nonethread
Owner: set to Anthony Williams

comment:2 by anonymous, 6 years ago

I am waiting for your fixes, it would be great to take it in High priority. Also tested on thec current release Boost_1_61_0 for both VC++9.0 and VC++11.Got the same issue

comment:3 by viboes, 6 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

How are you building the Boost.THread library?

comment:4 by viboes, 6 years ago

It is weir that boost::thread::start_thread and boost::thread::join are unresolved as these functions are inlined :(

comment:5 by viboes, 6 years ago

Type: BugsSupport Requests

Moved to Support Request until more information is given.

comment:6 by viboes, 6 years ago

Description: modified (diff)

comment:7 by viboes, 6 years ago

Resolution: worksforme
Status: assignedclosed

Please reopen this issue if it is still there giving more information.

Note: See TracTickets for help on using tickets.