|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] Boost logging |
Date: | Fri, 16 Oct 2015 10:22:28 -0400 |
When I go to run my test case, I get the following unresolved link:Hello all,I am trying to log using the boost logging library from my block. I specify the following cmake flags when generating the makefile:
cmake ../ -DCMAKE_EXE_LINKER_FLAGS="-lboost_log -lpthread -lboost_log_setup" -DCMAKE_SHARED_LINKER_FLAGS="-lboost_log_setup -lboost_log -lpthread" -DCMAKE_MODULE_LINKER_FLAGS="-lboost_log_setup -lboost_log -lpthread" -DCMAKE_CXX_FLAGS="-DBOOST_LOG_DYN_LINK -std=c++11"What flags am I missing? My boost library is set up and LD_LIBRARY_PATH points to the right location. I hope I have not missed the obvious.
-- ImportError: /home/mranga/gr-msod-sensor/gr-msod_sensor/build/lib/libgnuradio-msod_sensor.so: undefined symbol: _ZN5boost3log11v2_mt_posix3aux25unhandled_exception_countEvThanks in advance for your help.M. Ranganathan
[Prev in Thread] | Current Thread | [Next in Thread] |