These are chat archives for highfidelity/hifi

12th
Oct 2017
Clément Brisset
@Atlante45
Oct 12 2017 21:21
@mnafees I've submitted a PR to the NVTT repository, to fix that issue: castano/nvidia-texture-tools#270
In the mean time, if this is posing you issues, my work around was to modify /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/dispatch/dispatch.h directly:
  #include <sys/types.h>
  #include <stddef.h>
  #include <stdint.h>
  #include <stdbool.h>
  #include <stdarg.h>
+ #define HAVE_UNISTD_H 1
  #if !defined(HAVE_UNISTD_H) || HAVE_UNISTD_H
  #include <unistd.h>
  #endif
  #include <fcntl.h>