Guest User

Untitled

a guest
Nov 23rd, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. D:\code\c\threading>mingw32-make
  2. g++ test.cpp -I/code/lib/boost_1_47_0 -L\code\lib\boost_1_47_0\stage\lib -lboost
  3. _thread-mgw45-mt-1_47 -lboost_date_time-mgw45-mt-1_47
  4. In file included from /code/lib/boost_1_47_0/boost/thread/win32/thread_data.hpp:
  5. 12:0,
  6. from /code/lib/boost_1_47_0/boost/thread/thread.hpp:15,
  7. from /code/lib/boost_1_47_0/boost/thread.hpp:13,
  8. from test.cpp:2:
  9. /code/lib/boost_1_47_0/boost/thread/win32/thread_heap_alloc.hpp:59:40: warning:
  10. inline function 'void* boost::detail::allocate_raw_heap_memory(unsigned int)' de
  11. clared as dllimport: attribute ignored
  12. /code/lib/boost_1_47_0/boost/thread/win32/thread_heap_alloc.hpp:69:39: warning:
  13. inline function 'void boost::detail::free_raw_heap_memory(void*)' declared as d
  14. llimport: attribute ignored
  15. C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text+0x1a5): undefined r
  16. eference to `__imp__ZN5boost6thread4joinEv'
  17. C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text+0x1e4): undefined r
  18. eference to `__imp__ZN5boost6threadD1Ev'
  19. C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text+0x2ad): undefined r
  20. eference to `__imp__ZN5boost6threadD1Ev'
  21. C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text$_ZN5boost11this_thr
  22. ead18interruptible_waitEy[boost::this_thread::interruptible_wait(unsigned long l
  23. ong)]+0x4d): undefined reference to `__imp__ZN5boost11this_thread18interruptible
  24. _waitEPvNS_6detail7timeoutE'
  25. C:\Users\tommo\AppData\Local\Temp\ccfNaLPO.o:test.cpp:(.text$_ZN5boost6threadC1I
  26. PFvvEEET_NS_10disable_ifINS_14is_convertibleIRS4_NS_6detail13thread_move_tIS4_EE
  27. EEPNS0_5dummyEE4typeE[boost::thread::thread<void (*)()>(void (*)(), boost::disab
  28. le_if<boost::is_convertible<void (*&)(), boost::detail::thread_move_t<void (*)()
  29. > >, boost::thread::dummy*>::type)]+0xda): undefined reference to `__imp__ZN5boo
  30. st6thread12start_threadEv&#039;
  31. collect2: ld returned 1 exit status
  32. mingw32-make: *** [test] Error 1
Add Comment
Please, Sign In to add comment