[USRP-users] Unable compile UHD on OSX 10.8

Pol Henarejos pol.henarejos at cttc.es
Wed Sep 5 14:38:09 EDT 2012

Dear Josh,
It is #include <limits.h>


On 09/05/2012 11:25 AM, Pol Henarejos wrote: > Dear list, > > I fitted the last version of UHD but I fail to compile it. It shows: > > [ 1%] Building C object lib/CMakeFiles/uhd.dir/convert/convert_orc.c.o > In file included from /usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15, > from /Users/x/Devel/uhd/host/build/lib/convert/convert_orc.c:33: > /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15:25: error: limits.h: No such file or directory > make[2]: *** [lib/CMakeFiles/uhd.dir/convert/convert_orc.c.o] Error 1 > make[1]: *** [lib/CMakeFiles/uhd.dir/all] Error 2 > make: *** [all] Error 2 > Looks like it actually might be a compiler issue, missing limits.h somewhere, or missing a default compiler path. Can you attach /Users/x/Devel/uhd/host/build/lib/convert/convert_orc.c:33 so I could see what that include looks like? For a quick fix, can you try disabling orc support, pass -DENABLE_ORC=OFF to cmake. -josh  


Pol Henarejos
Research Engineer, MSc
pol.henarejos at cttc.es (mailto:pol.henarejos at cttc.es)

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Engineering Unit
Parc Mediterrani de la Tecnologia
Av. Carl Friedrich Gauss, 7
08860 Castelldefels, Barcelona (Spain)
Tel: +34 93 396 71 70 Ext: 2177
Fax. +34 93 645 29 01
www.cttc.es (http://www.cttc.es)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120905/bd47f4b1/attachment-0002.html>

More information about the USRP-users mailing list