[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] compilation issue (was Re: Discuss-gnuradio Diges
From: |
Ilia Mirkin |
Subject: |
Re: [Discuss-gnuradio] compilation issue (was Re: Discuss-gnuradio Digest, Vol 35, Issue 19) |
Date: |
Sat, 22 Oct 2005 16:50:34 -0400 |
On Sat, 2005-10-22 at 13:40 -0700, Ges wrote:
> This was compiled as g++
> -I/usr0/local/gr/include/gnuradio test.cc
>
> The gnuradio library path is included in
> LD_LIBRARY_PATH.
gcc doesn't care about your LD_LIBRARY_PATH, only the run-time dynamic
linker does (ld-linux). you need to link in libraries explicitly, as
well as specify a path to them should they not be in a standard
location.
something like
g++ -I /usr0/local/gr/include/gnuradio -L /usr0/local/gr/lib
-lgnuradio-core test.cc
is more likely to work.