[USRP-users] Unable compile UHD on OSX 10.8

Josh Blum josh at ettus.com
Wed Sep 5 14:32:09 EDT 2012



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




More information about the USRP-users mailing list