Skip to content

Instantly share code, notes, and snippets.

View NotVeryGoodAtCodingButOk's full-sized avatar

NotVeryGoodAtCodingButOk

View GitHub Profile
Determining if the include file sys/types.h exists failed with the following output:
Change Dir: /Users/simonb/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/local/bin/ninja cmTC_265ac && [1/2] Building C object CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o
FAILED: CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.7 -MD -MT CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'sys/types.h' file not found
#include <sys/types.h>
^~~~~~~~~~~~~
1 error generated.
Determining if the include file sys/types.h exists failed with the following output:
Change Dir: /Users/simonb/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/local/bin/ninja cmTC_265ac && [1/2] Building C object CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o
FAILED: CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.7 -MD -MT CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'sys/types.h' file not found
#include <sys/types.h>
^~~~~~~~~~~~~
1 error generated.
Determining if the include file sys/types.h exists failed with the following output:
Change Dir: /Users/simonb/aseprite/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/local/bin/ninja cmTC_265ac && [1/2] Building C object CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o
FAILED: CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.7 -MD -MT CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_265ac.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'sys/types.h' file not found
#include <sys/types.h>
^~~~~~~~~~~~~
1 error generated.
simonb@MacBook-Pro-de-Simon build % cmake \
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 \
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk \
-DUSE_ALLEG4_BACKEND=OFF \
-DUSE_SKIA_BACKEND=ON \
-DSKIA_DIR=$HOME/deps/skia \
-DWITH_HarfBuzz=OFF \
-G Ninja \
..