UHD for Cygwin

Hi,

Trying to get UHD to work under Windows (Cygwin), but ‘make’ returns…

[ 1%] Building CXX object
lib/CMakeFiles/uhd.dir/transport/udp_zero_copy.cpp.o
In file included from
/usr/include/boost/asio/detail/fd_set_adapter.hpp:19:0,
from /usr/include/boost/asio/detail/select_reactor.hpp:27,
from /usr/include/boost/asio/detail/reactor.hpp:27,
from /usr/include/boost/asio/detail/impl/task_io_service.ipp:24,
from /usr/include/boost/asio/detail/task_io_service.hpp:199,
from /usr/include/boost/asio/impl/io_service.hpp:71,
from /usr/include/boost/asio/io_service.hpp:767,
from /usr/include/boost/asio/basic_io_object.hpp:19,
from /usr/include/boost/asio/basic_socket.hpp:19,
from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
from /usr/include/boost/asio.hpp:21,
from /home/David/uhd/host/lib/transport/udp_common.hpp:22,
from /home/David/uhd/host/lib/transport/udp_zero_copy.cpp:18:
/usr/include/boost/asio/detail/posix_fd_set_adapter.hpp:66:12: error:
expected type-specifier before fd_set
/usr/include/boost/asio/detail/posix_fd_set_adapter.hpp:77:11: error:
fd_set does not name a type
/usr/include/boost/asio/detail/posix_fd_set_adapter.hpp: In constructor
boost::asio::detail::posix_fd_set_adapter::posix_fd_set_adapter():
/usr/include/boost/asio/detail/posix_fd_set_adapter.hpp:40:14: error:
fd_set_ was not declared in this scope
/usr/include/boost/asio/detail/posix_fd_set_adapter.hpp:40:21: error:
FD_ZERO was not declared in this scope

Found other references to this, but no real solutions. Any ideas please?

Thanks

On 05/12/2012 07:42 AM, Lyndon wrote:

from /usr/include/boost/asio/detail/impl/task_io_service.ipp:24,
expected type-specifier before fd_set

Looks like that boost header is missing an include for #include
<sys/select.h> That or select() and friends are not found in that header
on cygwin.

-josh