Try

$ cmake
-DCMAKE_TOOLCHAIN_FILE=/home/tw/uhd_n310/uhd/host/cmake/Toolchains/oe-sdk_cross.cmake
-DCMAKE_INSTALL_PREFIX=/usr/local/share/uhd_n310 ..

Note the ".." on the end.

Philip

On 8/27/21 2:56 PM, Tellrell White via USRP-users wrote:
> Currently, I'm trying to build UHD for the N310 on my host machine following 
> the link https://files.ettus.com/manual/page_usrp_n3xx.html#n3xx_fsbuild and 
> I'm getting the following error as shown. 
> 
> 
> tw@tw-virtual-machine:~/uhd_n310/uhd/host/build$ cmake 
> -DCMAKE_TOOLCHAIN_FILE=/home/tw/uhd_n310/uhd/host/cmake/Toolchains/oe-sdk_cross.cmake
>  -DCMAKE_INSTALL_PREFIX=/usr/local/share/uhd_n310 
> CMake Warning:
>   No source or binary directory provided.  Both will be assumed to be the
>   same as the current working directory, but note that this warning will
>   become a fatal error in future CMake releases.
> 
> 
> CMake Error: The source directory "/home/tw/uhd_n310/uhd/host/build" does not 
> appear to contain CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.
> 
> 
> 
> 
> _______________________________________________
> USRP-users mailing list -- usrp-users@lists.ettus.com
> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
> 
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to