FireLog:正确安装

发布于 2024-07-24 16:40:33 字数 491 浏览 7 评论 0原文

我已经在我的开发 mac 上安装了 firewiresdk26... Tools/目录下是FireLog。 我已在我的开发 mac 上运行 FireLog 2.0.0.pkg 安装程序, 但它部署的有效负载安装在我的 /System/Library 中 树,而不是我的 /Developer/SDKs 树。 因此,当我尝试包含标头 iokit/firewire/FireLog.h 时,找不到它。

我错过了什么吗? 或者做错了什么?

或者这是安装程序中的错误(FW26 或 FireLog 安装程序?) 我意识到 FireLog 安装程序旨在在要远程调试的计算机上运行,​​因此将框架放置在 /System/Library 路径中是有意义的, 然而,没有一个安装程序将其放入我的开发人员路径中...我想我只需要手动将其移到那里,但在我这样做之前,我想看看我是否只是忽略了一些愚蠢的事情并且需要阅读文档更加集中注意力或其他什么...

有人以前遇到过这个吗? [谢谢]

I have installed the firewiresdk26 on my dev mac...
and in the Tools/ directory is FireLog.
I have run the FireLog 2.0.0.pkg installer on my dev mac,
but the payload it deploys is installed in my /System/Library
tree, as opposed to my /Developer/SDKs tree. so when I try to include the header iokit/firewire/FireLog.h it does not get found.

am I missing something? or doing something wrong?

or is this an error in the installer (either FW26 or FireLog installers?)
I realize that the FireLog installer is intended to be run on the machine to be debugged remotely and thus it makes sense that the framework is placed in the /System/Library path,
however none of the installers gets it into my developer path... I guess I just have to move it over there by hand, but before I do that I wanted to see if I'm just overlooking something silly and need to read the docs with more concentration or something...

anyone run into this before? [thx]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

爱已欠费 2024-07-31 16:40:33

事实证明,答案很简单......
从 10.5 Leopard 开始,FireLog 功能内置于操作系统中,根本不再需要 FireLog 应用程序/框架!

参考 FireWireKPrintf Readme.txt

man fwkpfv

as it turns out, the answer is quite simple...
As of 10.5 Leopard, FireLog facilities are built into the OS and the FireLog app / framework are no longer needed at all!

refer to FireWireKPrintf Readme.txt

and

man fwkpfv

孤独患者 2024-07-31 16:40:33

我必须手动将头文件安装到:

/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/IOKit/firewire/IOFireLog.h
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/IOKit/firewire/IOFireLog.h

您可以通过简单地将 FireLog 声明添加到项目中的头文件中来完成同样的事情:

void FireLog( const char *format, ... );

FireLog 的性能比 FireWireKprintf 高得多,因此使用起来可能会更有利,特别是在需要记录快速活动且性能下降较少的情况下。

I had to manually install the header files into:

/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/IOKit/firewire/IOFireLog.h
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/IOKit/firewire/IOFireLog.h

You could accomplish the same thing by simply adding the FireLog declaration to a header file in your project:

void FireLog( const char *format, ... );

FireLog is much higher performance than FireWireKprintf, so it may be advantageous to use, particularly in cases where logging rapid activity with less performance degradation is desirable.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文