Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SamuelMarks/ac8440d1678e1084cdda1e0d67090324 to your computer and use it in GitHub Desktop.
Save SamuelMarks/ac8440d1678e1084cdda1e0d67090324 to your computer and use it in GitHub Desktop.
tttttt$ ls
CMakeLists.txt conanfile.txt main.cpp
tttttt$ mkdir build && cd $_
tttttt/build$ conan install ..
RapidJSON/1.0.2@SamuelMarks/testing: Not found, looking in remotes...
RapidJSON/1.0.2@SamuelMarks/testing: Trying with 'conan.io'...
Downloading conan_export.tgz
[==================================================]
Downloading conanfile.py
[==================================================]
Downloading conanmanifest.txt
[==================================================]
Requirements
RapidJSON/1.0.2@SamuelMarks/testing from conan.io
Packages
RapidJSON/1.0.2@SamuelMarks/testing:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
RapidJSON/1.0.2@SamuelMarks/testing: Installing package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
RapidJSON/1.0.2@SamuelMarks/testing: Looking for package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 in remote 'conan.io'
Downloading conan_package.tgz
[==================================================]
Downloading conaninfo.txt
[==================================================]
Downloading conanmanifest.txt
[==================================================]
RapidJSON/1.0.2@SamuelMarks/testing: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
PROJECT: Generated conaninfo.txt
PROJECT: Generated cmake created conanbuildinfo.cmake
tttttt/build$ cmake .. -G 'Unix Makefiles'
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Current conanbuildinfo.cmake directory: tttttt/build
CMake Error at CMakeLists.txt:13 (find_package):
By not providing "FindRapidJSON.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"RapidJSON", but CMake did not find one.
Could not find a package configuration file provided by "RapidJSON" with
any of the following names:
RapidJSONConfig.cmake
rapidjson-config.cmake
Add the installation prefix of "RapidJSON" to CMAKE_PREFIX_PATH or set
"RapidJSON_DIR" to a directory containing one of the above files. If
"RapidJSON" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
See also "tttttt/build/CMakeFiles/CMakeOutput.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment