首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Delphi上未运行的XE2火猴示例应用程序

Delphi上未运行的XE2火猴示例应用程序
EN

Stack Overflow用户
提问于 2011-09-01 21:51:38
回答 13查看 13.2K关注 0票数 17

我正试着在Mac上运行一个示例火猴应用程序,但我在mac上得到了这样的信息:

代码语言:javascript
复制
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

我使用本教程添加了一个OSX平台:

New Mac and Rad Studio XE2

编辑

有关错误的更多信息:

代码语言:javascript
复制
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

编辑

以下是一些截图:

EN

回答 13

Stack Overflow用户

回答已采纳

发布于 2011-09-02 08:20:49

我刚刚安装了Delphi试用版,并且我得到了同样的问题--由于缺少libcoundwind.1.0.dylib而无法在Mac上启动FireMonkey应用程序。

然而,我相信我知道问题出在哪里。这个文件应该在($BDS)\Redist\osx32文件夹中,以便与您的Delphi OSX应用程序一起部署。但是,如果你只安装了Delphi XE2产品,而没有安装完整的RAD Studio XE2,这些可再发行的文件将会丢失,例如根本没有安装。

无论在文档中提到这个特定的文件,它都与C++Builder有关。因此,如果这真的是问题所在,可能是Embarcadero方面的一个(不是很小的)疏忽。

回答你的问题-我相信如果你安装了C++Builder XE2试用版,或者整个RAD Studio XE2包,你应该会得到这些可再发行的文件。

票数 11
EN

Stack Overflow用户

发布于 2011-09-02 01:55:18

如果您转到Mac上安装PAServer的目录,您应该会看到libcwarwind.1.0.dylib就在那里。

安装程序尝试通过创建一个paserver.command文件来提供帮助。如果你使用这个启动,它应该正确地设置你的库路径,这样就可以找到上面的文件。

如果您已经移动了PAServer位置,只需使用适当的路径手动更新paserver.command文件并运行即可。

票数 6
EN

Stack Overflow用户

发布于 2011-09-26 04:35:59

000169AD处的

运行时错误231

这是VMWare下的一个问题,请参阅https://forums.embarcadero.com/message.jspa?messageID=393962

解决方法是将FMX.Filter.pas复制到您的项目目录并修改:

代码语言:javascript
复制
function FilterByName(const AName: string): TFilter;
var
  i: Integer;
begin
  Result := nil;
  if Filters = nil then
    Exit;
  if GlobalUseHWEffects  then
  begin
    for i := 0 to Filters.Count - 1 do
      if CompareText(TFilterClass(Filters.Objects[i]).FilterAttr.Name, AName) = 0
      then
      begin
        Result := TFilterClass(Filters.Objects[i]).Create;
        Exit;
      end;
  end;
end;

function FilterClassByName(const AName: string): TFilterClass;
var
  i: Integer;
begin
  Result := nil;
  if Filters = nil then
    Exit;
  if GlobalUseHWEffects  then
  begin
    for i := 0 to Filters.Count - 1 do
      if CompareText(TFilterClass(Filters.Objects[i]).FilterAttr.Name, AName) = 0
      then
      begin
        Result := TFilterClass(Filters.Objects[i]);
        Exit;
      end;
  end;
end;

并在dpr中设置GlobalUseHWEffects := False;

这是因为VMWare和模拟图形硬件

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7271317

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档