I've been trying to build the MARSYAS application on Windows 10 with these instructions. However, my IDE of choice is usually CodeBlocks instead of Visual Studio and I would like to use that instead of it. I also use MinGW instead of a Microsoft compiler. I would also like to use that as a build system.
When I use cmake-gui in the Marsyas source code directory, I can configure and generate a CodeBlocks project with MinGW makefiles. In the process I have to add the entry CMAKE_PREFIX_PATH with the Qt source code. Now, herein lies the problem. I can chose the source code for multiple runtimes inside of the Qt\5.11.1 directory. But no matter to which one I set CMAKE_PREFIX_PATH (mingw53_32, msvc2015, etc. ), the build inside of the generated CodeBlocks project always fails with the following error:
marsyas-release-0.5\src\marsyas\marsystems\AudioSource.h|74|error: 'mutex' in namespace 'std' does not name a type|
marsyas-release-0.5\src\marsyas\marsystems\AudioSource.h|75|error: 'condition_variable' in namespace 'std' does not name a type|
marsyas-release-0.5\src\marsyas\marsystems\AudioSink.h|70|error: 'mutex' in namespace 'std' does not name a type|
marsyas-release-0.5\src\marsyas\marsystems\AudioSink.h|71|error: 'condition_variable' in namespace 'std' does not name a type|
I've tried applying the recommendations in this StackOverflow question: installing the mingw32-pthreads- packages in the MinGW installation manager and installing MinGW-W64, but to no avail so far.
Is there anyone who could offer me some advice? It would be much appreciated!
Thanks in advance, Joshua