tomasgf
#1
I have downloaded ofxAudioUnit and move it to the addson directory.
When I try to run the examples I have this error:
file: ofxAudioUnitDSPNode.cpp
line 284: if(ctx->bufferMutex.try_lock()) {
error: No member named ‘try_lock’ in ‘Poco::FastMutex’
Can you point me in the proper direction to solve this problem?
Thanks
admsyn
#2
I just fixed this a few weeks ago, can you try updating ofxAudioUnit? When did you download the version you’re using?
tomasgf
#3
I have downloaded a fresh version just now. I don’t see this changing, still does not compile.
I see the committed change:
- if(ctx->bufferMutex.tryLock()) {
- if(ctx->bufferMutex.try_lock()) {
but Xcode is complaining about that call to try_lock. Changing it back to tryLock doesn’t work either.
tomasgf
#4
I am using openFrameworks 0.8.4 with Xcode 6.2. Could there be the problem?
admsyn
#5
Ah I see, I was fixing it for OF 0.9.0 but the issue you’re seeing is the other way around 
I’m surprised changing it back to tryLock
doesn’t work, though, since that’s the way it was when 0.8.4 and Xcode 6.2 were current.
Does it complain that tryLock()
isn’t a member of Poco::FastMutex, or is it a different error? A clean + build may help
tomasgf
#6
Yes, it is related to that. I could compile it using with the 0.9.0RC1 version.
Change it back to tryLock with 0.8.4, doing clean + build doesn’t work either: I have 36 compiling errors now.
Maybe I should stick to 0.9.0, as it’s close to the stable release.