在哪里可以找到machOSX的mach_host库
Where can i find mach_host library for mac OS X?
在哪里可以找到macOSX的mach_host.h
库?因为我在网上找不到它。我在Michael Taylor的这篇文章中读到了答案,其中使用了mach_host.h
库。
如果你想在OSX下进行软件开发,你需要去AppStore并从苹果安装Xcode
。它将拥有所有的头、库、编译器和链接器以及工具。
如果你想找到这个头文件,你可以使用这个命令:
find /Applications -name mach_host.h
将会有几个答案,有些是针对WatchOS的,有些是iOS的,有些则是针对OSX的。你需要这个:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/mach_host.h
相关文章:
- Xcode 9.4.1 中的 Apple Mach-O 链接器 (id) 错误
- 通过 host() 从 af::array 检索数据会导致错误的数据
- 使用提升 asio 时出现"resolve: Host not found (authoritative)"异常
- mingw32_gt_pch_use_address中的内部错误,在config/i386/host-mingw32.c
- cudaMallocManaged for host-initiated variable
- Apple Mach-O linker 错误使用 JUCE 和重型编译器
- 如何更改 c++ 文件的 mach-o 可执行文件的入口点?
- Apple Mach -o(ID)链接器错误,ncurses
- Apple Mach-O-Linker 错误:在体系结构 x86-64 中找不到从(行)引用的变量
- Makefile for host & target
- Clion Cmake项目不编译:Dyld Mach-O,而是为模拟器构建(不是MacOS)
- Apple Mach-O链接器错误 - 架构ARM64的未定义符号
- 内核调用会产生错误"error: a host function call cannot be configured"。调用有什么问题?
- Apple Mach-O 链接器 (ID) 错误与打开 CV 3.2.0
- Watson 通过 C++ Boost Websockets 的文本到语音转换 - "No such host is known"
- Apple Mach-O Linker (ld) 错误.ld: -r 和 -dead-strip 不能一起使用
- Xcode 给出 Mach-O 链接器错误:"_JNI_CreateJavaVM",引用自:main.o 中的_main
- 当将OPENCV添加到库时,Apple Mach-O Linker(LD)错误组;可能的修复
- 将Mach-O可执行文件与静态库合并
- Apple mach O linker