It failed and report:
Network.cpp:17:23: ifaddrs.h: No such file or directory.
This is the code:
Code:
#if defined(_WIN32)
# include <winsock2.h>
#elif defined(__linux) || defined(__APPLE__) || defined(__FreeBSD__)
# include <ifaddrs.h>
#else
# include <sys/ioctl.h>
# include <net/if.h>
# ifdef __sun
# include <sys/sockio.h>
# endif
#endif
I can not find the "ifaddrs.h" file on my RH Linux.
Thanks!