On Fri, Jun 26, 2009 at 10:35:21PM -0700, cr...@yahoo.com wrote: > > Thanks for the link. I'll study the file to learn more about writing GNU > radio apps in c++. > I noticed that this was the only example in the c++ directory. > Any pointers on compiling the c++ source files? libraries, compiler options > and such. > > Thank you > -Rush
There are pkg-config files for each component. You can find out the required compiler flags and libraries using it. E.g., $ pkg-config --cflags gnuradio-core -pthread -DOMNITHREAD_POSIX=1 -I/opt/boost_1_36_0/include/boost-1_36 -I/usr/local/include/gnuradio -I/usr/local/include $ pkg-config --libs gnuradio-core -L/usr/local/lib64 -L/opt/boost_1_36_0/lib -lgnuradio-core -lboost_thread-gcc43-mt-1_36 -lrt -lboost_date_time-gcc43-mt-1_36 -lgruel -lfftw3f -lgsl -lgslcblas -lm -lgromnithread (The answers may vary on your system...) Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio