question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find a package configuration file provided by "CLI11"

See original GitHub issue

I use the 5th method to install CLI11. But I got the following error.


(base) xxx@goodnews:~/projects/DeepSDF/build$ cmake ..
CMake Error at CMakeLists.txt:6 (find_package):
  Could not find a package configuration file provided by "CLI11" with any of
  the following names:

    CLI11Config.cmake
    cli11-config.cmake

  Add the installation prefix of "CLI11" to CMAKE_PREFIX_PATH or set
  "CLI11_DIR" to a directory containing one of the above files.  If "CLI11"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/home/xxx/projects/DeepSDF/build/CMakeFiles/CMakeOutput.log".

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

8reactions
suyz526commented, Oct 21, 2020

@Sheradil @Cyprus-hy

Have you checked if the folder “/usr/local/include/CLI” exist?

I installed this lib with the classical way by using sudo make install

I didn’t try sudo cmake --install .

8reactions
MChauscommented, Aug 29, 2020

Execute commands below: git clone https://github.com/CLIUtils/CLI11 cd CLI11/ mkdir build cd build git submodule update --init cmake .. cmake --build . sudo cmake --install . This will install CLI11 globaly. Also you can use local options proposed at CLI README. But in this case you will have to change CMakeLists.txt.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install CLI11? - cmake - Stack Overflow
I got the error as follow: CMake Error at CMakeLists.txt:6 (find_package): Could not find a package configuration file provided by "CLI11" with ...
Read more >
Installation · CLI11 Tutorial
This example uses the single file edition of CLI11. You can download CLI11.hpp from the latest release and put it into the same...
Read more >
CMake: Best Practices
Never allow your package to be distributed without the config files! ... If not, see if the authors provide a Find<name>.cmake file. If...
Read more >
Configuration files · CLI11 Tutorial
add_option(...); // several other options CLI11_PARSE(app, argc, argv); //the config printout should be after the parse to capture the given arguments std::cout ...
Read more >
How to fix CMake error Could not find a package configuration ...
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71. · Could not find a package configuration file provided by "boost_filesystem" · ( ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found