Skip to content

Failed to run conan when setting the path to wsl conan #165

@npuichigo

Description

@npuichigo

For example, I set conan to wsl$\Ubuntu\home\ichigo\miniconda3\envs\conan\bin\conan, but it failed to run cmake.

C:\Windows\system32\wsl.exe --distribution Ubuntu --exec /bin/bash -c "/usr/bin/cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=conan_provider.cmake '-DCONAN_COMMAND=\\wsl$\Ubuntu\home\ichigo\miniconda3\envs\conan\bin\conan' -G 'CodeBlocks - Unix Makefiles' -S /mnt/d/Codes/cpp/playground -B /mnt/d/Codes/cpp/playground/cmake-build-debug-wsl"
CMake Error at conan_provider.cmake:325 (message):
  CMake-Conan: Error when trying to run Conan
Call Stack (most recent call first):
  conan_provider.cmake:358 (conan_get_version)
  CMakeLists.txt:6 (find_package)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions