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" <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

Reply via email to