Hi Rob - MacPorts sets a bunch of CMake arguments to force the build to use headers and libraries provided by MacPorts as much as possible, which you're probably not setting in your build-from-source UHD. If you do "sudo port build uhd" then you can view the build log which is at "port logfile uhd" ... search for the cmake command & just cut-and-paste it into your build-from-source UHD. If that doesn't work, ping me directly & we'll figure out what's going on. Cheers! - MLD On Fri, Nov 2, 2018, at 4:52 PM, Rob Kossler via USRP-users wrote: > Hi, > I am getting the following error when I try to build UHD from source > on a Mac (note: I am a complete novice using a Mac)> -> thread_local storage > is not supported for the current target > related to "this_server.cc" and "this_session.cc" in the rpclib > > Note that I successfully installed UHD using MacPorts per the > instructions (sudo port install uhd). This process successfully built > UHD from source and installed in default system folders. The command > "uhd_find_devices" ran fine afterwards. I then uninstalled it (sudo > port uninstall uhd) so that I could clone the repository manually and > build/install in folders of my own choosing and with desired options > (such as -DENABLE_RFNOC=ON).> > I'm not sure what is happening differently when MacPorts does the > build as opposed to me running the build by manually running > cmake/make using the commands provided in the install guide. But, it > is successful and I am not. I tried to use the "-v" option during the > MacPorts install of UHD but that did nothing.> > Let me know any suggestions. Thanks. > > Rob > _________________________________________________ > USRP-users mailing list > [email protected] > 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
