0

我有一个为集成为 Adob​​e AIR 本机库而构建的 .dylib。该代码在 osx 10.6、10.7 和 10.8 上运行良好,但我收到报告说它在 10.5 上崩溃了。我似乎找不到关于如何让 10.5 虚拟机在 Mountain Lion 下工作的说明(实际有效),因此我可以对其进行诊断。有没有人遇到过这样的崩溃?

Process:         AudioStretch [247]
Path:            /Applications/Speedshifter.app/Contents/Resources/assets/native/audioStretcher/AudioStretch
Identifier:      AudioStretch
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  Speedshifter [240]

Interval Since Last Report:          771 sec
Crashes Since Last Report:           4
Per-App Interval Since Last Report:  0 sec
Per-App Crashes Since Last Report:   4

Date/Time:       2012-08-15 15:56:24.047 +0100
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  19E6C7D0-BED3-47EF-BD79-4C93716A6EEA

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i
  Referenced from: /Applications/Speedshifter.app/Contents/Resources/assets/native/audioStretcher/AudioStretch
  Expected in: /usr/lib/libstdc++.6.dylib
4

1 回答 1

0

希望这可以帮助:

> c++filt __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i
std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)

重新格式化以方便阅读:

std::ostream& std::__ostream_insert(std::ostream&, char const*, int)

基本上是说此功能在 10.5 的标准运行时中不可用

您可能必须为 10.5 提供替代版本的 dll。您是否尝试过静态链接标准库?

于 2012-08-18T15:58:05.300 回答