cmake-tools failed to find `conanbuildinfo.cmake` file.
See original GitHub issueBrief Issue Summary
cmake-tools failed to find conanbuildinfo.cmake
file.
Expected:
The conanbuildinfo.cmake
exists and should be found.
Apparent Behavior:
CMake Tools Log
[cmake] The C compiler identification is GNU 8.3.0
[cmake] The CXX compiler identification is GNU 8.3.0
[cmake] Check for working C compiler: /usr/bin/gcc-8
[cmake] Check for working C compiler: /usr/bin/gcc-8 -- works
[cmake] Detecting C compiler ABI info
[cmake] Detecting C compiler ABI info - done
[cmake] Detecting C compile features
[cmake] Detecting C compile features - done
[cmake] Check for working CXX compiler: /usr/bin/g++-8
[cmake] Check for working CXX compiler: /usr/bin/g++-8 -- works
[cmake] Detecting CXX compiler ABI info
[cmake] Detecting CXX compiler ABI info - done
[cmake] Detecting CXX compile features
[cmake] Detecting CXX compile features - done
[cmake] CMake Error at CMakeLists.txt:7 (include):
[cmake] include could not find load file:
[cmake]
[cmake] /home/kaiyin/cProjects/gemreport/cmake_tools_build/conanbuildinfo.cmake
[cmake]
[cmake]
[cmake] CMake Error at CMakeLists.txt:8 (conan_basic_setup):
[cmake] Unknown CMake command "conan_basic_setup".
[cmake]
[cmake]
[cmake] Configuring incomplete, errors occurred!
[cmake] See also "/home/kaiyin/cProjects/gemreport/cmake_tools_build/CMakeFiles/CMakeOutput.log".
[cms-driver] Error during CMake configure: [cmake-server] Configuration failed
Platform and Versions
- Operating System: Ubuntu 19.04
- CMake Version: 3.13.4
- VSCode Version: 1.34.0
- CMake Tools Extension Version: 1.1.3
- Compiler/Toolchain: gcc 8.2
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to fix unknown command error in CMake, when I using ...
Problem here is cmake is unable to find conanbuildinfo.cmake. This file should be generated when you call conan install.
Read more >cmake-tools failed to find `conanbuildinfo.cmake` file.
Brief Issue Summary. cmake-tools failed to find conanbuildinfo.cmake file. Expected: The conanbuildinfo.cmake exists and should be found.
Read more >New CMake transparent integration guide - Conan Blog
The way to consume Conan packages with the cmake generator was including a conanbuildinfo.cmake file and calling a conan_basic_setup() macro ...
Read more >Modernizing Distribution of SDR Tools and Libraries with Conan
... but CMake did not find one. Could not find a package configuration file provided by "Sanitizers" with ... from conans import ConanFile,...
Read more >C/C++ development with package managers - GitHub Pages
generates an import file for specific build system using specified settings and options ... from conans import ConanFile, CMake, tools class ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The cmake extension does not has direkt conan support. Did you run
conan install
before build with the cmake extension? Is the conan install build folder the same as the cmake extension used build folder? How did you configure your cmake extension build directory (settings “cmake.buildDirectory”)?This issue has been closed automatically because it needs more information and has not had recent activity.