c++ - Boost thread, Eclipse + Cygwin, program silently exits immediately -


tried build , run simple program boost::thread. builds fine, silently (no console output @ all) exits when running, without printing welcome msg in main(). appreciate hint.

... invoking: cygwin c++ linker g++ -le:/source/boost/boost_1_52_0/stage/lib -o "producerconsumer.exe"  ./src/sharedbuffer.o ./src/producerconsumer.o   -llibboost_thread -llibboost_system finished building target: producerconsumer.exe 

by debug mode, got this:

[new thread 2312.0x214] gdb: unknown target exception 0xc0000135 @ 0x7c987406 

0xc0000135 => status_dll_not_found

boost thread , system have been built cygwin. in lib dir specified in g++ command (generated eclipse), there are:

libboost_thread.a libboost_thread.dll.a cygboost_thread.dll 

so why status_dll_not_found?? suspect it's configure issue. appreciate hint.

winxp sp3
boost 1.52
gcc 4.5.3 cygwin 1.7.17(0.262/5/3)
eclipse cdt 8.1.2


Comments