(anonymous struct)::head’ from module ‘AudioKit.TPCircularBuffer’ is not present in definition of ‘TPCircularBuffer’ in module

  audiokit, c++, dependencies, swift, xcode

We am using AudioKit since quite some time mainly for its midi implementations. At the same time we are using Michael Tysons TPCircularBuffer for our threaded audio processing in a static library way down in the dependency graph.

I just wanted to upgrade to the latest 4.x AudioKit upgrade and XCode 12 from XCode 11 and i see this error messages

.../XCFrameworkIntermediates/AudioKit/AudioKit.framework/Headers/TPCircularBuffer.h:68:23: '(anonymous struct)::head' from module 'AudioKit.TPCircularBuffer' is not present in definition of 'TPCircularBuffer' in module 'MirgaWrapper.TPCircularBuffer'
.../XCFrameworkIntermediates/AudioKit/AudioKit.framework/Headers/TPCircularBuffer.h:67:23: '(anonymous struct)::tail' from module 'AudioKit.TPCircularBuffer' is not present in definition of 'TPCircularBuffer' in module 'MirgaWrapper.TPCircularBuffer'
.../XCFrameworkIntermediates/AudioKit/AudioKit.framework/Headers/TPCircularBuffer.h:66:23: '(anonymous struct)::length' from module 'AudioKit.TPCircularBuffer' is not present in definition of 'TPCircularBuffer' in module 'MirgaWrapper.TPCircularBuffer'

I am wondering how can i solve this problem without touching any of the TPCircularBuffer implementations? Both are not my code, so I would like to avoid forking their repos to make changes. On the other hand the library that is used by MyProject is a pure C/C++ implementation and cannot import AudioKit to use its TPCircularBuffer implementation.

Source: Windows Questions C++

LEAVE A COMMENT