[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Problem/bug with cmake config for gr-uhd using py
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Problem/bug with cmake config for gr-uhd using pybombs. |
Date: |
Fri, 22 Jul 2016 09:41:49 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Eugene,
I've seen something similar, and I'm not even sure it's a PyBOMBS
problem. I think it's more likely an issue with gr-uhd's (or even GNU
Radio's) CMake.
Not sure what the fix is though. I'll post an issue.
Cheers,
M
On 07/18/2016 01:31 PM, Eugene Grayver wrote:
> There's a subtle problem with the FindUHD.cmake as used from PyBombs.
> If the system has UHD installed in the 'standard' location
> (/usr/include/uhd, etc), this path will be used *instead* of the path
> set by pybombs prefix. I.e. if I install gr into /etc/gr1: uhd is
> installed in /etc/gr1/src/uhd, but gr-uhd will use /usr/.../uhd. This
> leads to very difficult to diagnose problems if the UHD versions are
> slightly different. If they are very different, the build simply fails
> due to undefined symbols.
>
>
> I am not familiar enough with the pybombs environment to suggest a fix.
> Perhaps pybombs should set the UHD_DIR env variable?
>
>
> ________________________
>
> Eugene Grayver, Ph.D.
> Aerospace Corp., Sr. Eng. Spec.
> Tel: 310.336.1274
> ________________________
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>