Compiling the cmake > audioplugin example in Clion on Win 10

I’m trying to do what the title says.

I have the msvc toolchain selected.

after ‘juceaide’, I get these messages about ‘pthreads’

-- Exporting juceaide
-- Testing juceaide
-- Finished setting up juceaide
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Configuring done (28.3s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Users/DSB/CLionProjects/AudioPlugin/cmake-build-release

[Finished]

There are no output files in the release or debug folders.

Can anyone tell me what might be wrong?

oh… actually seems there’s nothing ‘wrong’ here. I just didn’t realize I had to actually build the correct TARGET!

vst3 seems to build ok now.

Sorry for my dumbness! Is the threads thing important? Assuming it has something to do with multi-threading, so if I wanted to make use of multi-threading in my plugin then maybe I would need it?

No, Windows has its own threading implementation that’s distinct from pthreads. The output you’re seeing is expected on Windows.

1 Like

Ok, so i downloaded that pre-compiled pthreads dll for nothing then! :slight_smile: