Opened 6 years ago
Closed 6 years ago
#12201 closed Support Requests (worksforme)
Compilation issue in 64 bit
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | thread |
Version: | Boost 1.60.0 | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
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)
Change History (8)
by , 6 years ago
Attachment: | Untitled.png added |
---|
comment:1 by , 6 years ago
Component: | None → thread |
---|---|
Owner: | set to |
comment:2 by , 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 , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
How are you building the Boost.THread library?
comment:4 by , 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 , 6 years ago
Type: | Bugs → Support Requests |
---|
Moved to Support Request until more information is given.
comment:6 by , 6 years ago
Description: | modified (diff) |
---|
comment:7 by , 6 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Please reopen this issue if it is still there giving more information.
Snapshot for error