Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build docs error] (Version: [2.1.1]) #4973

Open
Relect opened this issue Mar 31, 2024 · 6 comments
Open

[build docs error] (Version: [2.1.1]) #4973

Relect opened this issue Mar 31, 2024 · 6 comments
Labels
Good First Issue Great issue for a new contributor

Comments

@Relect
Copy link

Relect commented Mar 31, 2024

Steps to Reproduce

mkdir build
cd build
cmake .. - error
CMake Error at CMakeLists.txt:77 (find_package):
By not providing "Findlz4.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "lz4", but
CMake did not find one.

Could not find a package configuration file provided by "lz4" with any of
the following names:

lz4Config.cmake
lz4-config.cmake

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

start
conan install conanfile.py --build=missing
...
Install finished successfully

again
cmake .. - error
CMake Error at CMakeLists.txt:77 (find_package):
By not providing "Findlz4.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "lz4", but
CMake did not find one.

Expected Result

not docs - where docs???
docker container don't work!!!

Actual Result

error build docs

Environment

fedora 40

@JeetDSharma
Copy link

If you found a solution, do let me know, as I am stuck on the same step.

@mvadari
Copy link
Collaborator

mvadari commented Apr 16, 2024

This is the build command I use:

conan install path/to/source --output-folder . --build missing --settings build_type=Debug

@JeetDSharma
Copy link

Thanks, it worked for me as well

@thejohnfreeman thejohnfreeman added the Good First Issue Great issue for a new contributor label Apr 23, 2024
@thejohnfreeman
Copy link
Collaborator

This is an issue of stale docs, but it's also a moving target. I can give it some attention after #4997 is merged. It can be a great first issue for someone else. No C++ expertise is required.

@JeetDSharma
Copy link

This is an issue of stale docs, but it's also a moving target. I can give it some attention after #4997 is merged. It can be a great first issue for someone else. No C++ expertise is required.

I can work on this, do let me know how to update docs.

@ncirelli87
Copy link

ncirelli87 commented Apr 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Great issue for a new contributor
Projects
None yet
Development

No branches or pull requests

5 participants