I've had similar problems since this post in March, and still waiting
on a 'clean' way
forwardhttp://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2019-March/059332.html
In the interim I've done lots of cross-compiling and also stealing
libraries/binaries from working E310 images; many of the included
binaries seem gimped or a step down from what was on the E310.

----- Original Message -----
From: "Jason Matusiak" 
To:"Philip Balister" , "Ettus Mail List" 
Cc:
Sent:Wed, 1 May 2019 14:40:16 +0000
Subject:Re: [USRP-users] E320 numpy missing?

 I just double-checked and ENABLE_PYTHON is on in my system (which was
apparently the default since I didn't spell it out in my cmake
command).     

-------------------------
FROM: Jason Matusiak
SENT: Wednesday, May 1, 2019 10:36 AM
TO: Philip Balister; Ettus Mail List
SUBJECT: Re: [USRP-users] E320 numpy missing?      I actually was
using a .sh file from earlier in April, but pulling down the most
recent: e3xx_e320_sdk_default-v3.13.0.2-20190415.zip, I still don't
see pretty much any site-packages in the sysroot.  
  Those things seem to be there automatically when using the .sh info
with the e310 files.  
  I will try including python in the cmake path (which I've never
needed to do before), but is that going to be enough?  I feel like
the back-and-forth you and I had last year with the rocko build for
the E310 were for pretty similar issues.  But honestly, I need to
look back at the emails for the exact issues at the time.     

-------------------------
FROM: Philip Balister 
SENT: Wednesday, May 1, 2019 10:31 AM
TO: Jason Matusiak; Ettus Mail List
SUBJECT: Re: [USRP-users] E320 numpy missing?     On 05/01/2019 09:55
AM, Jason Matusiak via USRP-users wrote:
 > I also get a "ImportError: No module named sip" when I try to run:
uhd_siggen_gui
 > 
 > So I think a few things might be missing from the cross-compile
setup.

 I took a few minutes and looked at the current state of the BSP. It
 looks like you might have this image:

https://github.com/EttusResearch/meta-ettus/blob/master/meta-ettus-core/recipes-core/images/developer-image.bb
[1]

 I forget where numpy is the gnuradio dependency tree, but I'm going
to
 guess if you enable python support in gnuradio (yes it might be
possible
 to use gnuradio without python) you will need numpy to build/run.

 Philip

 > 
 > ________________________________
 > From: Jason Matusiak
 > Sent: Wednesday, May 1, 2019 8:46 AM
 > To: Ettus Mail List
 > Subject: E320 numpy missing?
 > 
 > Finally got my E320 in and I cross-compiled a new setup.  I tried
to fire up my flowgraph (which works fine on an E310) and it is
complaining about numpy missing.
 > 
 > If I do a search from / on the E320, the only numpy that is showing
up is:
 > /usr/include/boost/python/numpy
 > 
 > If I do a search from a good E310 in / I see:
 > ./usr/lib/python2.7/site-packages/numpy
 > ./usr/lib/python2.7/site-packages/numpy/core/include/numpy
 > ./usr/lib/python2.7/site-packages/Cython/Includes/numpy
 > ./usr/include/boost/python/numpy
 > 
 > 
 > Back on the host machine, my E320 cross-compile prefix shows numpy:
 >
./sysroots/cortexa9hf-neon-oe-linux-gnueabi/usr/include/boost/python/numpy
 > 
 > My good E310 prefix shows:
 >
./sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/src/debug/python-numpy/1.13.1-r0/numpy-1.13.1/build/src.linux-x86_64-2.7/numpy
 >
./sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/src/debug/python-numpy/1.13.1-r0/numpy-1.13.1/build/src.linux-x86_64-2.7/numpy/core/include/numpy
 >
./sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/src/debug/python-numpy/1.13.1-r0/numpy-1.13.1/numpy
 >
./sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/src/debug/python-numpy/1.13.1-r0/numpy-1.13.1/numpy/core/include/numpy
 >
./sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/lib/python2.7/site-packages/Cython/Includes/numpy
 >
./sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/lib/python2.7/site-packages/numpy
 >
./sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/lib/python2.7/site-packages/numpy/core/include/numpy
 >
./sysroots/armv7ahf-neon-oe-linux-gnueabi/usr/include/boost/python/numpy
 > 
 > So, was numpy forgotten?  Left out for a reason?  I am going to
attempt to build it by hand, but I have a fear that I am going to go
down dependency hell with this and other missing packages that GR
might want.
 > 
 > 
 > 
 > 
 > _______________________________________________
 > USRP-users mailing list
 > [email protected]
 > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
[2]
 > 
       

Links:
------
[1]
https://github.com/EttusResearch/meta-ettus/blob/master/meta-ettus-core/recipes-core/images/developer-image.bb
[2] http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

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

Reply via email to