[USRP-users] Cross Compiling for N310
I'm currently building an application that I want to run on the N310. I'm following the link attachedĀ USRP Hardware Driver and USRP Manual: USRP N3xx Series | | | | USRP Hardware Driver and USRP Manual: USRP N3xx Series | | | where I've downloaded and installed the sdk toolchain and set the necessary paths, however, is it necessary as well to cross-compile UHD as well for the N310?? ___ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com
Re: [USRP-users] cross-compiling for N310
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 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" >Date: 12/18/18 10:25 am >To: "Jason Matusiak" , "Ettus Mail List" > > >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" > > Date: 12/17/18 3:15 pm > > To: "Ettus Mail List" > > >> 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" > > Date: 12/17/18 1:35 pm > > To: "Ettus Mail List" > > >> 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
Re: [USRP-users] cross-compiling for N310
If I recall correctly the only place QT is used would be in the RFNoC Fosphor host code to display the fosphor output. This typically runs on a PC, not an embedded device like E310 or N310. Unless you really need to use QT on the N310, definitely the easiest solution here would be to just disable qt for gr-ettus. I usually disable QT in gr-ettus for my cross compile builds using `cmake .. -DENABLE_QT=OFF` Hope this helps, EJ On Tue, Dec 18, 2018 at 11:21 AM 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" > Date: 12/18/18 10:25 am > To: "Jason Matusiak" , "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" > > Date: 12/17/18 3:15 pm > > To: "Ettus Mail List" > > > > 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" > > Date: 12/17/18 1:35 pm > > To: "Ettus Mail List" > > > > 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 an
Re: [USRP-users] cross-compiling for N310
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" Date: 12/18/18 10:25 am To: "Jason Matusiak" , "Ettus Mail List" 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" > Date: 12/17/18 3:15 pm > To: "Ettus Mail List" > > 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" > Date: 12/17/18 1:35 pm > To: "Ettus Mail List" > > 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:1
Re: [USRP-users] cross-compiling for N310
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" > Date: 12/17/18 3:15 pm > To: "Ettus Mail List" > > 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" > Date: 12/17/18 1:35 pm > To: "Ettus Mail List" > > 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 > ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Re: [USRP-users] cross-compiling for N310
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 - Original Message - Subject: RE: cross-compiling for N310 From: "Jason Matusiak" Date: 12/17/18 3:15 pm To: "Ettus Mail List" 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" Date: 12/17/18 1:35 pm To: "Ettus Mail List" 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
Re: [USRP-users] cross-compiling for N310
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" Date: 12/17/18 1:35 pm To: "Ettus Mail List" 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
[USRP-users] cross-compiling for N310
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