Closed Evanfan007 closed 2 years ago
This is coming from https://github.com/openbmc/stdplus/blob/f2ddf51fd19fde81e44607bac5cd0370adef351f/src/meson.build#L2-L14
I believe it is a bug in the stdplus project, because it should not use cmake to build the fmt library -- simply use https://wrapdb.mesonbuild.com/ to acquire the fmt wrap, which includes a native meson version that does proper dependency fallbacks. In your example "hello world" application, can you try to:
meson wrap install fmt
This is coming from https://github.com/openbmc/stdplus/blob/f2ddf51fd19fde81e44607bac5cd0370adef351f/src/meson.build#L2-L14
I believe it is a bug in the stdplus project, because it should not use cmake to build the fmt library -- simply use https://wrapdb.mesonbuild.com/ to acquire the fmt wrap, which includes a native meson version that does proper dependency fallbacks. In your example "hello world" application, can you try to:
- clean old versions from subprojects/
- run
meson wrap install fmt
- re-try the build
Thanks a lot! I solved the problem according to your answer. Besides, the cereal package has the same problem and was been solved by the same way. But I met another problem which is mentioned in https://github.com/openbmc/docs/issues/76. thank you!
Hi, I'm NEW to openbmc, and I met a problem that confused me when I tried to build an openbmc application "Hello world" and I have spent a lot time on it. I thought I have found where the problem is but I can't solve it. It seemed that the fmt subproject didn't build successfully.Could you help me?
INFO
OS:Ubuntu 20.04.1 Cmake version: 3.24.3 Meson version: 0.63.3
PROBLEM
when I run
meson build
command, the output of the fmt Cmake seemed normal, but the process failed in the and and report thatbut the previous log showed that the fmt had been build successfully. The log: