VSTGUI 4.0.1 XCODE 4.5和MacOSX 10.8麻烦

时间:2012-12-03 10:05:42

标签: xcode xcode4.5 vst

这是我第一次使用堆栈溢出'因为我遇到问题在MacOSX 10.8上使用GUI开发VST插件。 我是mac开发的新手,因为使用VSTGUI 4.0.1编译和链接我的产品,为什么我会遇到以下错误。

/Users/christianschragen/Downloads/samples/vst2.x/mac/aeffguieditor.cpp:115:34: 'createDrawContext' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/aeffguieditor.cpp:182:10: 'TickCount' is deprecated: first deprecated in Mac OS X 10.8
/Users/christianschragen/Downloads/samples/vst2.x/mac/aeffguieditor.cpp:237:27: Conversion from string literal to 'char *' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/cview.cpp
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/cview.cpp:661:22: No matching function for call to 'make_pair'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm:239:5: 'beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm:244:21: 'runModalForDirectory:file:types:' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm:255:5: 'beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm:260:21: 'runModalForDirectory:file:' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:493:4: Use of undeclared identifier 'GetPortBounds'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:524:2: Use of undeclared identifier 'GetPortBounds'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:539:24: Use of undeclared identifier 'QDSwapPort'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:542:3: Use of undeclared identifier 'QDSwapPort'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:634:124: Non-constant-expression cannot be narrowed from type 'CCoord' (aka 'double') to 'CGFloat' (aka 'float') in initializer list
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:747:13: Enumeration value 'kError' not handled in switch
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:808:24: Use of undeclared identifier 'NewRgn'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:822:5: Use of undeclared identifier 'DisposeRgn'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:1016:17: Use of undeclared identifier 'kQDRegionToRectsMsgParse'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:1117:37: Use of undeclared identifier 'kQDParseRegionFromTopLeft'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewoptionmenu.cpp
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewoptionmenu.cpp:107:17: 'UniqueID' is deprecated: first deprecated in Mac OS X 10.8
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewtextedit.cpp
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewtextedit.cpp:111:3: Use of undeclared identifier 'GetFNum'

任何想法有什么不对?

由于

克里斯

1 个答案:

答案 0 :(得分:1)

我有一种强烈的感觉,即VSTGUI还不支持10.8。您应该将Xcode构建设置中的目标SDK设置为10.7(或者可能是10.6),这可能涉及通过Xcode从Apple下载巨大的DMG。

与VSTGUI开发人员联系以寻求他们的支持也可能不会受到影响。