问题描述
我正在Mac上运行一个示例Firemonkey应用程序,但是我在mac中收到这个消息: dyld:未加载库:@ rpath / libcgunwind.1.0.dylib
引用自:/Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
原因:图像未找到
dyld:未加载库:@ rpath / libcgunwind.1.0.dylib
引用自:/ Users / nobre / Applications / Embarcadero / PAServer / scratch-dir / rafael_colucci- Nobre / Project37.app / Contents / MacOS / Project37
原因:图像未找到
dyld:未加载库:@ rpath / libcgunwind.1.0.dylib
引用来自:/ Users / nobre /应用程序/ Embarcadero / PAServer / scratch-dir / rafael_colucci-Nobre / Project37.app / Contents / MacOS / Project37
原因:图像未找到
我使用本教程来添加一个OSX平台:
编辑
有关错误的更多信息:
进程:Teste2 $ 342 $ b路径:/用户/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
标识符:Teste2
版本:??? (???)
代码类型:X86(Native)
父进程:launchd [94]
日期/时间:2011-09-01 19:36:26.246 + 0100
操作系统版本:Mac OS X 10.6.8(10K540)
报告版本:6
自上次报告以来的间隔:3908秒
自上次报告以来崩溃:4
自上次报告以来的每个应用程序崩溃:4
匿名UUID:58C242CA-C324-4A23-86ED-96D93C7C1A84
异常类型:EXC_BREAKPOINT(SIGTRAP)
异常代码:0x0000000000000002,0x0000000000000000
崩溃线程:0
Dyld错误消息:
未加载库:@ rpath / libcgunwind.1.0.dylib
引用自:/ Users /用户/应用程序/ Embarcadero / PAServer / scratch-dir / rafael_colucci-VM / Teste2.app / Contents / MacOS / Teste2
原因:图像未找到
二进制图像:
0x8fe00000 - 0x8fe4163b dyld 132.1(???)< 4CDE4F04-0DD6-224E-ACE5-3C06E169A801> / usr / lib / dyld
型号:VMware Virtual Platform,BootROM 6.00,1处理器,30 GHz,1 GB,SMC 1.30f3
图形:VMware SVGA II,VMware SVGA II,PCI ,16 MB
网络服务:以太网,以太网,en0
并行ATA设备:VMware虚拟IDE CDROM驱动器
SCSI设备:SCSI目标设备@ 0
USB设备:VMware虚拟USB Hub,0x0e0f(VMWare,Inc.),0x0002,0x00200000 / 3
USB设备:VMware虚拟USB键盘,0x05ac(Apple Inc.),0x020b,0x00210000 / 4
USB设备:VMware虚拟USB鼠标,0x0e0f(VMWare,Inc.),0x0003,0x00100000 / 2
编辑
一些屏幕截图:
我刚刚安装了Delphi XE2试用版,我遇到了同样的问题 - 无法启动FireMonkey ap因为缺少libcgunwind.1.0.dylib,Mac OS X上的恶作剧。
但是,我相信我知道问题是什么。该文件应位于($ BDS)\Redist\osx32文件夹中,可以随Delphi OSX应用程序一起部署。但是,如果您只安装了Delphi XE2产品而不是完整的RAD Studio XE2,则这些可重新分发的文件将会丢失,例如根本没有安装
无论这个文件中提到的这个特定文件,它与C ++ Builder有关。所以如果真的是这个问题,那Embarcadero方面可能是一个很小的监督。
回答你的问题 - 我相信如果你安装C ++ Builder XE2试用版或整个RAD Studio XE2软件包,您应该可以获得这些可重新分发的文件。
I am trying to run a sample Firemonkey app on a Mac, but I am getting this message in the mac:
dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
I used this tutorial to add a OSX platform:
EDIT
More info about the error:
Process: Teste2 [34270]
Path: /Users/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
Identifier: Teste2
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [94]
Date/Time: 2011-09-01 19:36:26.246 +0100
OS Version: Mac OS X 10.6.8 (10K540)
Report Version: 6
Interval Since Last Report: 3908 sec
Crashes Since Last Report: 4
Per-App Crashes Since Last Report: 4
Anonymous UUID: 58C242CA-C324-4A23-86ED-96D93C7C1A84
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Dyld Error Message:
Library not loaded: @rpath/libcgunwind.1.0.dylib
Referenced from: /Users/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
Reason: image not found
Binary Images:
0x8fe00000 - 0x8fe4163b dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld
Model: VMware Virtual Platform, BootROM 6.00, 1 processor, 30 GHz, 1 GB, SMC 1.30f3
Graphics: VMware SVGA II, VMware SVGA II, PCI, 16 MB
Network Service: Ethernet, Ethernet, en0
Parallel ATA Device: VMware Virtual IDE CDROM Drive
SCSI Device: SCSI Target Device @ 0
USB Device: VMware Virtual USB Hub, 0x0e0f (VMWare, Inc.), 0x0002, 0x00200000 / 3
USB Device: VMware Virtual USB Keyboard, 0x05ac (Apple Inc.), 0x020b, 0x00210000 / 4
USB Device: VMware Virtual USB Mouse, 0x0e0f (VMWare, Inc.), 0x0003, 0x00100000 / 2
EDIT
Some screenshots:
I just installed the Delphi XE2 Trial and I'm getting the same issue - unable to start a FireMonkey application on Mac OS X because of the missing libcgunwind.1.0.dylib.
However, I believe I know what the problem is. This file should be inside the ($BDS)\Redist\osx32 folder ready to be deployed with your Delphi OSX application. But, if you only installed the Delphi XE2 product instead of the complete RAD Studio XE2, these redistributable files will be missing, e.g. not installed at all.
Wherever this specific file is mentioned in the documents, it's in relation to C++Builder. So if this really is the issue, it's probably a (not so small) oversight on Embarcadero side.
To answer your question - I believe if you install the C++Builder XE2 trial, or the whole RAD Studio XE2 package, you should get these redistributable files.
这篇关于Delphi XE2 Firemonkey示例应用程序不在MAC上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!