I've been following the instructions in the git release's readme.rst and setting up to build cababra on windows, but I ran into an issue at the step:
cmake -DCMAKE_TOOLCHAIN_FILE=C:/Users/chris/vcpkg/scripts/buildsystems/vcpkg.cmake
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DVCPKG_TARGET_TRIPLET=x64-windows
-DCMAKE_INSTALL_PREFIX=C:\Cadabra
-G "Visual Studio 17 2022" -A x64 ..
It runs fine until I get the error:
-------------------------------------------
Configuring packages
-------------------------------------------
-- Storing algorithm C++ module as core
-- Storing algorithm C++ module as utils
CMake Error at cmake/functions.cmake:11 (install):
Syntax error in cmake code at
C:/Users/chris/cadabra2/cmake/functions.cmake:12
when parsing string
C:\Users\chris\anaconda3
Invalid character escape '\U'.
Call Stack (most recent call first):
core/CMakeLists.txt:428 (install_directory_permissions)
-- Configuring incomplete, errors occurred!
Not sure how to get around this, looking online suggests it is some forward slash and backslash confusion between windows and cmake when specifying directories.
Any help would be great!