Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Error at CMakeLists.txt:58 failed to create symbolic link on Windows 11 #2

Closed
Erriez opened this issue Dec 24, 2024 · 1 comment

Comments

@Erriez
Copy link

Erriez commented Dec 24, 2024

The following CMake error is generated on main hash c9f87b8:

CMake Error at CMakeLists.txt:58 (file):
  file failed to create symbolic link 'C:/data/projects/reamculive/WDL': A required privilege is not held by the client.

Steps to reproduce in a x64 Native Tools Command Prompt for VS 2022 terminal on Windows 11:

> git clone [email protected]:ak5k/reamculive.git
> cd reamculive
> mkdir build
> cd build
> cmake ..
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.41.34123.0
-- The CXX compiler identification is MSVC 19.41.34123.0
-- 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.41.34120/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.41.34120/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.47.0.windows.2")
-- 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
Submodule 'external/WDL' (https://github.com/justinfrankel/WDL) registered for path 'external/WDL'
Cloning into 'C:/data/projects/reamculive/external/WDL'...
From https://github.com/justinfrankel/WDL
 * branch            139d0006275152b38ff7bbab56ccd112a219df91 -> FETCH_HEAD
Submodule path 'external/WDL': checked out '139d0006275152b38ff7bbab56ccd112a219df91'
CMake Error at CMakeLists.txt:58 (file):
  file failed to create symbolic link 'C:/data/projects/reamculive/WDL': A required privilege is not held by the client.

-- Looking for C++ include optional
-- Looking for C++ include optional - found
-- Looking for C++ include variant
-- Looking for C++ include variant - found
-- Found WDL: C:/data/projects/reamculive/external/WDL/WDL
-- Configuring incomplete, errors occurred!

Reason to try this project is that there is still no response from REAPER developers with the request to add the official CMake files to build CSurf for multiple platforms.

Any suggestion?

@ak5k
Copy link
Owner

ak5k commented Dec 24, 2024

CMake configure symlinks WDL to reaper-sdk directory. Apparently this is not permitted by your filesystem permissions. Modify your reamculive directory structure permissions to allow modifications, or run CMake configuration as user with permissions to modify directory structure.

@ak5k ak5k closed this as completed Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants