Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:\code\c\threading>mingw32-make
- g++ test.cpp -I/code/lib/boost_1_47_0 -L\code\lib\boost_1_47_0\stage\lib -lboost
- _thread-mgw45-mt-1_47 -lboost_date_time-mgw45-mt-1_47
- In file included from /code/lib/boost_1_47_0/boost/thread/win32/thread_data.hpp:
- 12:0,
- from /code/lib/boost_1_47_0/boost/thread/thread.hpp:15,
- from /code/lib/boost_1_47_0/boost/thread.hpp:13,
- from test.cpp:2:
- /code/lib/boost_1_47_0/boost/thread/win32/thread_heap_alloc.hpp:59:40: warning:
- inline function 'void* boost::detail::allocate_raw_heap_memory(unsigned int)' de
- clared as dllimport: attribute ignored
- /code/lib/boost_1_47_0/boost/thread/win32/thread_heap_alloc.hpp:69:39: warning:
- inline function 'void boost::detail::free_raw_heap_memory(void*)' declared as d
- llimport: attribute ignored
- C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text+0x1a5): undefined r
- eference to `__imp__ZN5boost6thread4joinEv'
- C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text+0x1e4): undefined r
- eference to `__imp__ZN5boost6threadD1Ev'
- C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text+0x2ad): undefined r
- eference to `__imp__ZN5boost6threadD1Ev'
- C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text$_ZN5boost11this_thr
- ead18interruptible_waitEy[boost::this_thread::interruptible_wait(unsigned long l
- ong)]+0x4d): undefined reference to `__imp__ZN5boost11this_thread18interruptible
- _waitEPvNS_6detail7timeoutE'
- C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text$_ZN5boost6threadC1I
- PFvvEEET_NS_10disable_ifINS_14is_convertibleIRS4_NS_6detail13thread_move_tIS4_EE
- EEPNS0_5dummyEE4typeE[boost::thread::thread<void (*)()>(void (*)(), boost::disab
- le_if<boost::is_convertible<void (*&)(), boost::detail::thread_move_t<void (*)()
- > >, boost::thread::dummy*>::type)]+0xda): undefined reference to `__imp__ZN5boo
- st6thread12start_threadEv'
- collect2: ld returned 1 exit status
- mingw32-make: *** [test] Error 1
Add Comment
Please, Sign In to add comment