Steven Huang
03/12/2021, 3:37 AMCR85
06/22/2021, 3:31 AMJean
08/08/2021, 8:55 PMMirjana Videnovic Misic
03/09/2022, 3:20 PMyasuyuki saito
06/22/2022, 2:07 AMMirjana Videnovic Misic
08/01/2022, 6:09 PMMirjana Videnovic Misic
08/06/2022, 7:44 AMMirjana Videnovic Misic
08/08/2022, 8:02 PMMirjana Videnovic Misic
08/09/2022, 2:44 PMKennedy Caisley
09/16/2022, 8:30 AMyrrapt
09/16/2022, 11:20 AMyrrapt
09/16/2022, 11:21 AMKennedy Caisley
09/16/2022, 11:36 AMyrrapt
09/16/2022, 12:37 PMyrrapt
09/16/2022, 12:39 PMyrrapt
09/16/2022, 12:39 PMKennedy Caisley
09/16/2022, 2:50 PMbag3
develop branch on two separate machines, one with CentOS 7.9
and the other with Ubuntu 20.04.
On each, I built a fresh python venv, and tried compiling the bag
and pybag
modules. In each case, the bag
modules built properly, but the sub-module pybag
is problematic. I've tried to read the CMakeLists.txt
and follow the error build.log
, to find clues about what packages might be missing or variables not configured, but no luck so far. My machines have the following:
CentOS 7.9
• Python 3.9.14 (built from source)
• CMake 3.17.5
• fmt 8.22
• Boost 1.53.0
• gcc 7.3.1
Ubuntu 20.04
• Python 3.8.10
• CMake 3.16.3
• fmt 8.30
• Boost 1.71.0
• gcc 9.4.0
Running python -m pip install .
, I'm seeing build logs that contain the error below.
in ./build.log
....
CMake Error at cbag/CMakeLists.txt:94 (find_package):
Could not find a package configuration file provided by "fmt" with any of
the following names:
fmtConfig.cmake
fmt-config.cmake
Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
to a directory containing one of the above files. If "fmt" provides a
separate development package or SDK, be sure it has been installed.
....
I think I need to point CMake
toward my fmt
and spdlog
installs.yrrapt
09/16/2022, 6:04 PMyrrapt
09/16/2022, 6:05 PMKennedy Caisley
09/18/2022, 6:10 PMfind_packge()
errors were resolved for fmt
, spdlog
, and yaml-cpp
dependencies once I had installed the 'devel' variants of each from Ubuntu's repositories. However, I'm still seeing two errors:
1. On Line #46 of this file, there is a strange bit of code: <<<<<<< HEAD
, which is throwing a parsing error. I'm not at all familiar with CMake syntax, but it looks like a typo? It doesn't appear in the equivalent file in the ucb-art
repository.
2. CMake also complains of a missing a module called FindPythonLibsNew
. It's doesn't sound like a standard package, and I'm not sure where I can acquire it from:
CMake Error at pybind11_generics/pybind11/tools/pybind11Tools.cmake:17 (find_package):
By not providing "FindPythonLibsNew.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"PythonLibsNew", but CMake did not find one.
Could not find a package configuration file provided by "PythonLibsNew"
with any of the following names:
PythonLibsNewConfig.cmake
pythonlibsnew-config.cmake
Add the installation prefix of "PythonLibsNew" to CMAKE_PREFIX_PATH or set
"PythonLibsNew_DIR" to a directory containing one of the above files. If
"PythonLibsNew" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
pybind11_generics/pybind11/tools/pybind11Common.cmake:201 (include)
pybind11_generics/pybind11/CMakeLists.txt:169 (include)
yrrapt
09/18/2022, 6:45 PMMirjana Videnovic Misic
10/25/2022, 6:03 AMWajeh ul hasan
11/22/2022, 2:28 PMSam Ellicott
04/20/2023, 4:05 PMMirjana Videnovic Misic
04/26/2023, 5:37 AMMirjana Videnovic Misic
04/26/2023, 6:49 AMMirjana Videnovic Misic
04/26/2023, 7:04 AMMirjana Videnovic Misic
05/17/2023, 9:55 AMMirjana Videnovic Misic
05/17/2023, 9:55 AMMirjana Videnovic Misic
05/17/2023, 9:56 AM