So I think I goofed.  Not sure why I was pointing it to the mpm directory for 
the CMakeLists.  When I do the normal ../ it builds fine.

Now I end up with the issue I used to have with the e310 many moons ago.  The 
sysroots doesn't have qt in it.  So when I run a cmake of gr-ettus, I get this 
error:
CMake Warning at 
/opt/gnuradio/e320/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!


In the past I had to use a special cross-compile setup that as far as  I know 
still isn't hosted on the Ettus site.  Does something like that exist for this?

________________________________
From: Jason Matusiak
Sent: Monday, April 8, 2019 3:33 PM
To: [email protected]
Subject: rfnoc build for an e320

I should be getting an e320 in this week, so I started to get my environment 
setup.  I started off like I do for the e310 and ran the cross-compile shell 
script.  I then sourced the environment.  I cloned uhd and checked out 
rfnoc-devel like I usually do.  Within uhd, I created a folder called 
build_mpm.  Within that, I ran: cmake 
-DCMAKE_TOOLCHAIN_FILE=../host/cmake/Toolchains/oe-sdk_cross.cmake 
-DCMAKE_INSTALL_PREFIX=/usr ../mpm/

That seemed to work OK.  I then ran mak -j12 and it looks like it is done and 
worked, but it actually throws an error at the end:
[ 98%] Linking CXX shared library libpyusrp_periphs.so
[ 98%] Built target pyusrp_periphs
[100%] Generating build/timestamp
Traceback (most recent call last):
  File "/opt/gnuradio/e320/src/uhd/build_mpm/python/setup.py", line 11, in 
<module>
    from setuptools import setup
ImportError: No module named 'setuptools'
make[2]: *** [python/build/timestamp] Error 1
make[1]: *** [python/CMakeFiles/usrp_mpm.dir/all] Error 2
make: *** [all] Error 2

Is something missing that needs to be built before building UHD?

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to