When using Envision to build a WiVRn profile I get the following error:
CMake Error at /nix/store/24gbi6mcw4c6jgzai9aaxx9qi2rxdb09-cmake-3.29.6/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR)
I definetly installed openssl from nixpkgs, no luck.
What does this mean for you?
If whatever you say now does not have anything about “development shells” or “build inputs” in it, then it won’t work.
1 Like
i have the same problem, using an environment like:
let
pkgs = import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/24.05.tar.gz";
sha256 = "1lr1h35prqkd1mkmzriwlpvxcb34kmhc9dnr48gkm8hh089hifmx";
}) {};
gcc-arm = import ./arm-linux-gnueabihf-gcc-6.3.0.nix; // a custom compiler i built
in
pkgs.mkShell {
packages = [
gcc-arm
pkgs.cmake
pkgs.ninja
pkgs.openssl.dev
pkgs.pkg-config
];
buildInputs = [
pkgs.openssl.dev
];
}
For what i understood, putting pkgs.openssl.dev
into buildInput should be sufficient?