Hi, having problems with CMake again on Windows after having to install a new machine.
I’m running the command:
cmake -B cmake-build-install -CMAKE_INSTALL=c:\Users\leehu\dev\JUCE -DCMAKE_BUILD_TYPE=Release -A=X64
from JUCE/CMake API.md at master · juce-framework/JUCE · GitHub
But am getting an error:
loading initial cache file MAKE_INSTALL=c:\Users\leehu\dev\JUCE
CMake Error: Error processing file: C:/Users/leehu/Dev/JUCE/MAKE_INSTALL=c:/Users/leehu/dev/JUCE
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.35.32217.1
-- The CXX compiler identification is MSVC 19.35.32217.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring juceaide
-- Building juceaide
-- Exporting 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 incomplete, errors occurred!
I’m running this command from Windows Powershell.
Any ideas people? thx