Could not find a package configuration file provided by "CLI11"
See original GitHub issueI 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:
- Created 3 years ago
- Comments:10
Top 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 >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
@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 .
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.