I built DeSmuME for 10.7 with Xcode 4.4 successfully but when I try to build OpenEMU plug-in I get this error:
Undefined symbols for architecture x86_64:
"_mutexAudioEmulateCore", referenced from:
-[CocoaDSSpeaker setAudioOutputEngine:] in cocoa_output.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I checked everything. mutexAudioEmulateCore is defined in sndOut.h and included in cocoa_output.mm.. So there shouldn't be any problems..
Anonymous
Fixed in r4354.
now it's causing Xcode to dump... maybe not directly related but..
2012-08-07 09:09:20.008 xcodebuild[66690:1207] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-1559/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Target.subproj/PBXTarget.m:1715
Details: configName should be a non-empty string, but it is nil
Object: <PBXNativeTarget: 0x401199940>
Method: -cachedPropertyExpansionContextForWorkspaceArenaSnapshot:configurationNamed:
Thread: <NSThread: 0x40030a1e0>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x000000010b3e024c -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation)
1 0x000000010b3e00a5 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010c3ac72a -[PBXTarget cachedPropertyExpansionContextForWorkspaceArenaSnapshot:configurationNamed:] (in DevToolsCore)
3 0x000000010c3b1441 -[PBXTarget productTypeForConfigurationNamed:] (in DevToolsCore)
4 0x000000010c3b1888 -[PBXTarget productReferenceExpectedFileType] (in DevToolsCore)
5 0x000000010c3b5b51 -[PBXTarget awakeFromPListUnarchiver:] (in DevToolsCore)
6 0x000000010c40c6a4 -[PBXNativeTarget awakeFromPListUnarchiver:] (in DevToolsCore)
7 0x00007fff86a0eb20 -[NSArray makeObjectsPerformSelector:withObject:] (in CoreFoundation)
8 0x000000010c396c1a -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
9 0x000000010c36af7e +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
10 0x000000010c512c86 -[Xcode3Project initWithFilePath:extension:workspace:error:] (in DevToolsCore)
11 0x000000010b825358 __73+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:]_block_invoke_0 (in IDEFoundation)
12 0x000000010b403406 __DVTDispatchSync_block_invoke_0 (in DVTFoundation)
13 0x00007fff89ca00fa _dispatch_client_callout (in libdispatch.dylib)
14 0x00007fff89ca1767 _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
15 0x000000010b403223 DVTDispatchSync (in DVTFoundation)
16 0x000000010b403037 DVTSyncPerformBlock (in DVTFoundation)
17 0x000000010b3607c7 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
18 0x000000010b783b01 +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
19 0x000000010b78daf3 -[IDEWorkspace _configureWrappedWorkspaceWithError:] (in IDEFoundation)
20 0x000000010b783b56 +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
21 0x000000010b7832b2 +[IDEContainer retainedWrappedWorkspaceForContainerAtFilePath:fileDataType:error:] (in IDEFoundation)
22 0x000000010bbaf1b3 -[Xcode3CommandLineBuildTool _resolveInputOptions] (in Xcode3Core)
23 0x000000010bbb5f56 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
24 0x000000010b357c96 (in xcodebuild)
25 0x000000010b357b0c (in xcodebuild)
Abort trap: 6
I cannot run xcodebuild or xcode itself to open "DeSmuME (XCode 4).xcodeproj"
Ok, the dump is unrelated I cleaned the code and now it builds successfully.
After r4354, now OpenEMU plug-in compiles successfully
Fix confirmed by the user. This issue also remains fixed as of the v0.9.11 stable release.