Open yurivict opened 1 year ago
@nickbianco
Hi Nick,
Maybe you would know why isn't ConsoleReporterVec3
formattable, and causes the error?
The 4.4 and 4.5 releases both suffer from this problem, and we can't build OpenSim-core on FreeBSD.
Thank you, Yuri
HI @yurivict, it looks like you might be building OpenSim with a version of spdlog
from your /usr/local/include
folder, which might be a different version than the version build with the OpenSim dependencies.
Hi @nickbianco ,
OpenSim's configure looks for spdlog:
-- Found Git: /usr/local/bin/git (found version "2.43.0")
CMake Error at CMakeLists.txt:747 (find_package):
Could not find a package configuration file provided by "spdlog" with any
of the following names:
spdlogConfig.cmake
spdlog-config.cmake
Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
"spdlog_DIR" to a directory containing one of the above files. If "spdlog"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
@yurivict, yes, but you need to build the OpenSim dependencies first. You can see the version of spdlog that we build in the CMakeLists file for the dependencies build project.
Please try that and see if you can create a successful build.
@nickbianco
How to provide to the build the tarball for the specific required version of spdlog, so that it will be rebuilt and used?
It looks like by default it just uses find_package
to find the pre-installed package, which happens to be of an unsupported version.
If you build the dependencies CMake project, the dependencies will be installed in a folder (i.e., opensim_dependencies_install
) which the main OpenSim CMake project will search when building the main libraries.
Please refer to the following build scripts for guidance: https://github.com/opensim-org/opensim-core/tree/main/scripts/build.
Version: 4.4 spdlog-1.12.0 libfmt-9.1.0 clang-15 FreeBSD 13.2