James

Results 2692 comments of James

Sorry, I don't know what you mean, or how you are getting that message. Can you please provide detailed and complete reproduction instructions? I'd need a minimal ``CMakeLists.txt`` to reproduce,...

> CMake Error: CMAKE_PROJECT_TOP_LEVEL_INCLUDES file does not exist: ../conan_provider.cmake You need to provide the file Also, the example is not complete, as we don't have the ``src`` or ``vendor`` CMakeLists.txt....

It is explained in the readme: https://github.com/conan-io/cmake-conan - Need to put the ``conan_provider.cmake`` in the repo, typically close to the CMakeLists.txt - Put a ``conanfile`` with the dependencies - Pass...

> Also if i open the "src" folder wich contains conan.cmake, i still get the ``conan.cmake`` doesn't exist anymore, it shouldn't be a folder, it shouldn't be a file. The...

> include(${CMAKE_CURRENT_SOURCE_DIR}/conan.cmake) This is legacy Conan 1 integration, shouldn't be used anymore. The ``conan.cmake`` has been replaced by the ``conan_provider.cmake``. This should be removed. You are mixing both Conan 1...

The error message indicates you are doing something else than passing ``-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES``, you might have added an ``include()`` to it or something like that. Please provide full reproduction details, including...

```cmake if (CONAN_EXPORTED) include(${CMAKE_CURRENT_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() else () include(${CMAKE_CURRENT_SOURCE_DIR}/conan.cmake) conan_cmake_configure(REQUIRES fmt/9.0.0 libcurl/8.1.2 mariadb-connector-c/3.3.3 sqlpp11/0.61 magic_enum/0.9.2 nlohmann_json/3.11.2 spdlog/1.11.0 GENERATORS cmake_find_package IMPORTS "bin, *.dll -> ./bin" OPTIONS fmt:shared=True openssl:shared=True libcurl:shared=True spdlog:shared=True mariadb-connector-c:shared=True) conan_cmake_autodetect(settings)...

Hi @rconde01 Thanks for your suggestion. I am not sure I understand the idea. When working from a ``conan-center-index`` fork, or using the ``local-recipes-index``, one of the strong recommendations is...

Thanks for the response, let me check if I follow: - Project1 will have use 2 server repos: lets call them "project1-conancenter" for its particular one and "common-conancenter" which is...

Hi @rconde01 Following up with this ticket. https://github.com/conan-io/conan/pull/17408 fixed one issue and proved that it is possible to use user/channel with local-recipe-index. Any other feedback regarding my previous comment? Thanks!