Re: [Discuss-gnuradio] libusb error on Mac OS X when building uhd driver

2010-09-17 Thread Elvis Dowson
Hi Matthias, On Sep 6, 2010, at 11:51 AM, Matthias Wilhelm wrote: > As a workaround, you can edit uhd/host/CMakeLists.txt, just edit line 62 > ADD_DEFINITIONS(-pedantic) > by commenting this line out. Then it will compile. Thanks for the solution. Commenting that entry allowed libusb to compile

Re: [Discuss-gnuradio] libusb error on Mac OS X when building uhd driver

2010-09-06 Thread Matthias Wilhelm
Hello, I had the same problem, the host configuration for the mac seems broken when it come to libusb. There is a #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) and it seems the compiler takes the wrong branch. Anyway, these errors are actually warnings (non-standard C++) that a

[Discuss-gnuradio] libusb error on Mac OS X when building uhd driver

2010-09-05 Thread Elvis Dowson
Hi, I just updated to the latest uhd driver sources from the git repo, and I get the following error on Mac OS X 10.6.4. In file included from /Users/elvis/Tool/ettus/uhd/host/lib/transport/libusb1_base.hpp:23, from /Users/elvis/Tool/ettus/uhd/host/lib/transport/libusb