Skip to content

Instantly share code, notes, and snippets.

@Enzime
Created July 15, 2018 15:21
Show Gist options
  • Save Enzime/b97150cdfb25a1d7aa2071768c513ba9 to your computer and use it in GitHub Desktop.
Save Enzime/b97150cdfb25a1d7aa2071768c513ba9 to your computer and use it in GitHub Desktop.
['clang', '-fobjc-arc', 'test.m.1.o', '-o/private/tmp/nix-build-mpv-0.28.2.drv-17/source/build/.conf_check_27fc32bd3b87bd160099ec029135760a/testbuild/testprog', '-framework', 'Cocoa', '-framework', 'IOKit', '-framework', 'OpenGL', '-framework', 'QuartzCore']
err: Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSArray", referenced from:
objc-class-ref in test.m.1.o
ld: symbol(s) not found for architecture x86_64
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment