-
Notifications
You must be signed in to change notification settings - Fork 140
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
jsoncpp error #248
Comments
jsoncpp is a new dependency recently introduced. If you check out the latest release you won't need it. |
Thanks. How do I check out the latest release? |
|
Hi, I manged to compile gnina 1.1 under WSL2 (Debian) without any errors (haven't tested it yet) but on Ubuntu 22.04 I now get:
|
It says it couldn't find pytest, was python3-pytest not installed? |
|
This dockerfile works to install on base ubuntu, so it must be an issue with your python environment: You can check which python cmake configured by looking at the PYTHON_EXECUTABLE variable in CMakeCache.txt and then make sure when you run that python you can import pytest and flask (most likely not and you need to either change PYTHON_EXECUTABLE to the system version or install the python dependencies in your preferred python environment). |
Issue summary
Hi, following the installation instructions for Ubuntu 22.04 I successfully compiled OpenBabel3 and then tried to do the same for Gnina, but at the cmake .. step I get:
CMake Error at gninasrc/CMakeLists.txt:8 (find_package):
By not providing "Findjsoncpp.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "jsoncpp", but
CMake did not find one.
Could not find a package configuration file provided by "jsoncpp" with any
of the following names:
Add the installation prefix of "jsoncpp" to CMAKE_PREFIX_PATH or set
"jsoncpp_DIR" to a directory containing one of the above files. If
"jsoncpp" provides a separate development package or SDK, be sure it has
been installed.
Your system configuration
Operating system: Ubuntu 22.04
Compiler: gcc 11.4.0
CUDA version (if applicable): 12.2
CUDNN version (if applicable): NA
Python version: 3.10.12
Please advise.
Thanks/Evert
The text was updated successfully, but these errors were encountered: