Skip to content

Instantly share code, notes, and snippets.

@cdesch
Created March 10, 2017 15:08
Show Gist options
  • Save cdesch/27197a49251452a255075caea8520d35 to your computer and use it in GitHub Desktop.
Save cdesch/27197a49251452a255075caea8520d35 to your computer and use it in GitHub Desktop.
export core include
cjs-MBP15:auth_armistice cj$ locate /CoreServices.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/CoreServices.h
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdks/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/
Headers/CoreServices.h
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/CoreServices.h
/System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/CoreServices.h
cjs-MBP15:auth_armistice cj$ export CFLAGS="isysroot /Applications/Xcode.app/Content
s/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frame
works/CoreServices.framework/Versions/A/Headers/CoreServices.h"
cjs-MBP15:auth_armistice cj$ mix deps.compile
==> fs (compile)
Compiling c_src/mac/cli.c
In file included from c_src/mac/cli.c:2:
In file included from c_src/mac/cli.h:4:
c_src/mac/common.h:5:10: fatal error: 'CoreServices/CoreServices.h' file not found
#include <CoreServices/CoreServices.h>
^
1 error generated.
ERROR: compile failed while processing /Users/cj/elixir_projects/auth_armistice/deps
/fs: rebar_abort
** (Mix) Could not compile dependency :fs, "/Users/cj/.mix/rebar compile skip_deps=t
rue deps_dir="/Users/cj/elixir_projects/auth_armistice/_build/dev/lib"" command fail
ed. You can recompile this dependency with "mix deps.compile fs", update it with "mi
x deps.update fs" or clean it with "mix deps.clean fs"
cjs-MBP15:auth_armistice cj$ export CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include""
> export CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
>
cjs-MBP15:auth_armistice cj$ export CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
cjs-MBP15:auth_armistice cj$ mix deps.compile
==> fs (compile)
Compiling c_src/mac/cli.c
In file included from c_src/mac/cli.c:2:
In file included from c_src/mac/cli.h:4:
c_src/mac/common.h:5:10: fatal error: 'CoreServices/CoreServices.h' file not found
#include <CoreServices/CoreServices.h>
^
1 error generated.
ERROR: compile failed while processing /Users/cj/elixir_projects/auth_armistice/deps/fs: rebar_abort
** (Mix) Could not compile dependency :fs, "/Users/cj/.mix/rebar compile skip_deps=true deps_dir="/Users/cj/elixir_projects/auth_armistice/_build/dev/lib"" command failed. You can re
compile this dependency with "mix deps.compile fs", update it with "mix deps.update fs" or clean it with "mix deps.clean fs"
cjs-MBP15:auth_armistice cj$ export CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include"
cjs-MBP15:auth_armistice cj$ mix deps.compile
==> fs (compile)
Compiling c_src/mac/cli.c
In file included from c_src/mac/cli.c:2:
In file included from c_src/mac/cli.h:4:
c_src/mac/common.h:5:10: fatal error: 'CoreServices/CoreServices.h' file not found
#include <CoreServices/CoreServices.h>
^
1 error generated.
ERROR: compile failed while processing /Users/cj/elixir_projects/auth_armistice/deps/fs: rebar_abort
** (Mix) Could not compile dependency :fs, "/Users/cj/.mix/rebar compile skip_deps=true deps_dir="/Users/cj/elixir_projects/auth_armistice/_build/dev/lib"" command failed. You can re
compile this dependency with "mix deps.compile fs", update it with "mix deps.update fs" or clean it with "mix deps.clean fs"
cjs-MBP15:auth_armistice cj$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment