[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Link error in compilation of sample programs in /
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Link error in compilation of sample programs in /uhd/host/examples |
Date: |
Mon, 29 Apr 2013 22:46:34 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
> The compile procedure I use is following:
> $ mkdir /uhd/host/examples/build
> $ cd /uhd/host/examples/build
> $ cmake ../
> $ make
>
> "ldconfig -p | grep boost_thread" returns
>
> libboost_thread.so.1.49.0 (libc6,x86-64) => /usr/lib/libboost_thread.so.1.49.0
> libboost_thread.so (libc6,x86-64) => /usr/lib/libboost_thread.so
>
> therefore, I think that the path to boost library is recognized by operating
> system.
>
> I would like you to inform me my mistake.
>
So in this case, it looks like you configured the cmake project with the
root directory of /uhd/host/examples. However it cant be used this way.
A lot of important variables get set in the top level CMakelists.txt
For what its worth, the examples always get built with the install. You
can find them in install_prefix/lib/uhd/examples
-josh
> Regards,
> Nakajo
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>