Do you really need to install uhd on a machine to install an sdk on it?

Philip

On December 18, 2018 11:19:38 AM EST, Jason Matusiak via USRP-users 
<usrp-users@lists.ettus.com> wrote:
>I got it by running: uhd_images_downloader -t sdk -t n3xx
> 
>based on instructions here:
>https://files.ettus.com/manual/page_usrp_n3xx.html#n3xx_software_dev_sdk
> 
>It does not appear to have gnuradio installed
> 
>OK, gnuradio seems to build fine for cross-compile, it is when I get to
>the gr-ettus step which is next (needed for RFNoC).  I haven't tried
>running gnuradio, but it builds.....
> 
> 
>--------- Original Message --------- Subject: Re: [USRP-users]
>cross-compiling for N310
>From: "Philip Balister" <phi...@balister.org>
>Date: 12/18/18 10:25 am
>To: "Jason Matusiak" <ja...@gardettoengineering.com>, "Ettus Mail List"
><usrp-users@lists.ettus.com>
>
>On 12/18/2018 08:17 AM, Jason Matusiak via USRP-users wrote:
>> It looks like qt4 was not included in the cross-compile build. If I
>look at my working e300 cross-compile, I have a folder:
>/opt/gnuradio/e300/sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/include/qt4/
> > 
> > (in fact, there is a tone of stuff in that include).
> > 
>> If I look in the N310 directory, it doesn't exist:
>/opt/gnuradio/N310/sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/include/
> > 
> > (and there are very few files/folders in there at all.
> > 
>> I will look into building it by hand, but I am guessing that it will
>just lead to more things needing to be cross-compiled....
> 
>Where did you get the toolchain? Does the N310 have gnuradio installed?
>Feels like the sdk may not have the packages you need to build gnuradio
> installed.
> 
>Try disabling qt4 and seeing if you can get gnuradio to build like that
> as a test.
> 
> Philip
> 
> > 
> > 
> > 
>> --------- Original Message --------- Subject: RE: cross-compiling for
>N310
> > From: "Jason Matusiak" <ja...@gardettoengineering.com>
> > Date: 12/17/18 3:15 pm
> > To: "Ettus Mail List" <usrp-users@lists.ettus.com>
> > 
>> OK, I see the first mistake. I was copying-and-pasting my notes for
>the E310 which had a different sysroot. Once I made the change to the
>proper one, it seems like it got past the rfnoc issue (or I haven't hit
>it yet with this new error).
> > 
> > I am not getting:
>> - Found PkgConfig:
>/opt/gnuradio/N310/sysroots/x86_64-oesdk-linux/usr/bin/pkg-config
>(found version "0.29.2") 
>> -- Found UHD:
>/opt/gnuradio/N310/sysroots/cortexa9hf-neon-oe-linux-gnueabi/usr/lib/libuhd.so
>
>> -- Found PythonLibs:
>/opt/gnuradio/N310/sysroots/cortexa9hf-neon-oe-linux-gnueabi/usr/lib/libpython2.7.so
>(found suitable version "2.7.14", minimum required is "2") 
>> CMake Warning at
>/opt/gnuradio/N310/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.10/Modules/FindQt4.cmake:620
>(message):
>> /usr/bin/qmake-qt4 reported QT_INSTALL_LIBS as "/usr/lib64" but
>QtCore
>> could not be found there. Qt is NOT installed correctly for the
>target
> > build environment.
> > Call Stack (most recent call first):
> > CMakeLists.txt:149 (find_package)
> > 
> > CMake Error at CMakeLists.txt:151 (message):
> > Qt not found.
> > 
> > -- Configuring incomplete, errors occurred!
>> See also
>"/opt/gnuradio/N310/src/gr-ettus/n310-build/CMakeFiles/CMakeOutput.log".
>> See also
>"/opt/gnuradio/N310/src/gr-ettus/n310-build/CMakeFiles/CMakeError.log".
> > 
>> I feel like I had this issue before with an E310 build and Phil B had
>to make mods to the toolchain. Has anyone else seen and got around
>this?
> > 
> > 
> > 
>> --------- Original Message --------- Subject: cross-compiling for
>N310
> > From: "Jason Matusiak" <ja...@gardettoengineering.com>
> > Date: 12/17/18 1:35 pm
> > To: "Ettus Mail List" <usrp-users@lists.ettus.com>
> > 
>> Has anyone successfully created a new build for an N310 (RFNoC
>version in particular)? I was going to bring it up to date, but seem to
>be having issues.
> > 
> > I ran: uhd_images_downloader -t sdimg -v
>> To get the *.sh image for cross-compiling:
>oecore-x86_64-cortexa9hf-neon-toolchain-nodistro.0.sh
> > 
> > I then install it like I do for the E310.
> > 
>> I create a src directory and pull down uhd and its sub-module
>fpga-src. I've tried main, master, and UHD-3.13, and they all build
>fine, but give me issues later on. In my cmake I make sure to have
>-DENABLE_RFNOC=ON and I see it checked when I run cmake-gui.
> > 
> > I then pull down gnuradio, and build like I normally do.
> > 
>> Lastly, I pull down gr-ettus. When I run: cmake
>-DCMAKE_TOOLCHAIN_FILE=$PREFIX/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake
>-DENABLE_DOXYGEN=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
> > 
> > It mostly works and then errors out with:
> > 
>> -- Found PkgConfig:
>/opt/gnuradio/N310/sysroots/x86_64-oesdk-linux/usr/bin/pkg-config
>(found version "0.29.2") 
>> -- Found UHD:
>/opt/gnuradio/N310/sysroots/cortexa9hf-neon-oe-linux-gnueabi/usr/lib/libuhd.so
>
> > CMake Error at CMakeLists.txt:140 (message):
> > RFNoC not found.
> > 
> > -- Configuring incomplete, errors occurred!
>> See also
>"/opt/gnuradio/N310/src/gr-ettus/n310-build/CMakeFiles/CMakeOutput.log".
>> See also
>"/opt/gnuradio/N310/src/gr-ettus/n310-build/CMakeFiles/CMakeError.log".
> > 
>> In the past, I thought that that usually means uhd was not built
>properly to have RFNoC enabled, but it looks to me like it is here.
> > Anyone happen to see what I am missing here?
> > 
> > 
> > 
> > _______________________________________________
> > USRP-users mailing list
> > USRP-users@lists.ettus.com
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> >

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to