Closed LawsonGu closed 1 year ago
From the list of missing packages I assume you want to build MPM. We recommend to install the corresponding SDK, which contains all necessary dependencies. You can get the lastest SDK using
uhd_images_dowloader -t <your_device>_common_sdk
.
The SDK will be dowloaded to your images folder. Once downloaded make the downloaded .sh file executable and run it. When installed run
source /usr/local/oecore-x86_64/environment-setup-aarch64-oe-linux
(assuming you install to default location) to enable the SDK and run the make script in this shell again.
Hi, Lars Maybe the question is as it’s my first build, I havn’t got uhd_images_downloader yet. Thus maybe these inform is not necessary.
If you want to build host from source you can find instructions here: https://files.ettus.com/manual/page_build_guide.html (but the dependency list above suggested you tried to build MPM. Can you post a list of commands you did?
cd uhd && git checkout v4.3.0.0 && cd host && mkdir build && cd build && cmake .. && make && make test && make install
This should work (given you have installed the dependencies mentioned in the build instructions I mentioned above).
The error you got in the screenshot you posted will only occur when you try to build the MPM (gevent, pyroute2, pyudev, mprpc are only used in MPM).
I'm not trying to build the MPM. Maybe this error is not critical. We can just skip it.
Can you post the full output of the cmake ..
command instead of a screenshot, please?
:$ cd uhd && git checkout v4.3.0.0 && cd host && mkdir build && cd build && cmake .. Note: switching to 'v4.3.0.0'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
-- ** -- You are building a development branch of UHD. -- These branches are designed to provide early access -- to UHD and USRP features, but should be considered -- unstable and/or experimental! -- ** -- Building version: 4.3.0.HEAD-0-g1f8fd345 -- Using install prefix: /usr/local -- Configuring done -- Generating done -- Build files have been written to: /home/lawgu/workarea/uhd/host/build
Lawson, you can ignore this. The cmake just told you that it cannot build the MPM simulator (because of the missing Python packages). Just continue with make
make install
and you're good to go.
Sure, thanks.
The first time when I build uhd with cmake command. What is the meaning of this check failed?
Is that critical or necessary?