I am looping back to this. I thought I had things working, but I realized late yesterday that my working prefix seemed to be based on a different cross-compile environment (by working, I mean building. I still don't have my e320 yet).
After I had it "working," I followed my steps again to make sure I really did. That was when I realized I had done something wrong and it still doesn't work. Here is my steps (my error will follow them): PREFIX=/opt/gnuradio/e320 chmod +x oecore-x86_64-cortexa9hf-neon-toolchain-nodistro.0.sh sh ./oecore-x86_64-cortexa9hf-neon-toolchain-nodistro.0.sh -y -d $PREFIX cd $PREFIX source ./environment-setup-cortexa9hf-neon-oe-linux-gnueabi mkdir src && cd src git clone --recursive -b UHD-3.14 https://github.com/EttusResearch/uhd.git cd uhd git submodule foreach --recursive git checkout UHD-3.14 cd host && mkdir arm-build && cd arm-build cmake -DCMAKE_TOOLCHAIN_FILE=../host/cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_E300=ON -DENABLE_E320=ON -DENABLE_B100=OFF -DENABLE_X300=OFF -DENABLE_B200=OFF -DENABLE_USRP1=OFF -DENABLE_USRP2=OFF -DENABLE_N300=OFF -DENABLE_OCTOCLOCK=OFF -DENABLE_N230=OFF -DENABLE_N320=OFF -DENABLE_DOXYGEN=OFF -DENABLE_MANUAL=OFF -DENABLE_MAN_PAGES=OFF -DENABLE_RFNOC=ON ../ make -j32 make install DESTDIR=$PREFIX make install DESTDIR=$PREFIX/sysroots/cortexa9hf-neon-oe-linux-gnueabi cd $PREFIX/src git clone -b v3.7.13.4 --recursive https://github.com/gnuradio/gnuradio.git cd gnuradio && mkdir arm-build && cd arm-build cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake -DENABLE_GR_WXGUI=OFF -DENABLE_GR_VOCODER=OFF -DENABLE_GR_DTV=OFF -DENABLE_GR_ATSC=OFF -DENABLE_DOXYGEN=OFF -DCMAKE_INSTALL_PREFIX=/usr ../ make -j32 make install DESTDIR=$PREFIX make install DESTDIR=$PREFIX/sysroots/cortexa9hf-neon-oe-linux-gnueabi cd $PREFIX/src git clone -b master https://github.com/EttusResearch/gr-ettus.git cd gr-ettus/ && mkdir arm-build && cd arm-build cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=$PREFIX/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake -DENABLE_DOXYGEN=OFF -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_QT=OFF .. And the error: <snip> CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CPPUNIT_INCLUDE_DIRS (ADVANCED) </snip> I see that there was a commit on 2/25 that made it so that cppunit was optional, but I am using the most recent commit (3/7) and that doesn't seem to work (I checked and the changes are indeed in the files from that 2/25 commit)..... ________________________________ From: Nate Temple <nate.tem...@ettus.com> Sent: Monday, April 8, 2019 4:03 PM To: Jason Matusiak Cc: usrp-users@lists.ettus.com Subject: Re: [USRP-users] rfnoc build for an e320 Hi Jason, You can disable the QT widgets (not needed on the E320 itself) by adding the cmake flag -DENABLE_QT=OFF Regards, Nate Temple On Mon, Apr 8, 2019 at 1:00 PM Nate Temple <nate.tem...@ettus.com<mailto:nate.tem...@ettus.com>> wrote: Hi Jason, It looks like you are missing the package: python-setuptools Note, you should not use rfnoc-devel, but instead use a newer version of UHD like v3.14.0.0, and then you can enable RFNoC by adding the cmake flag -DENABLE_RFNOC=ON Regards, Nate Temple On Mon, Apr 8, 2019 at 12:34 PM Jason Matusiak via USRP-users <usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>> wrote: 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 USRP-users@lists.ettus.com<mailto: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