[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] coding entirely in C++
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] coding entirely in C++ |
Date: |
Sat, 27 Jun 2009 12:59:40 -0700 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Fri, Jun 26, 2009 at 10:35:21PM -0700, address@hidden 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