MiRoboticsLab / MiRoboticsLab/cyberdog_ws

最新的源码编译报错Could NOT find MbedTLS (missing: MBEDCRYPTO_LIBRARY)

Open
#35 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CMake
Stars
280
Forks
52
PR merge metrics
No merged PRs in 30d

Description

没更新前编译是正常的,1.3.1发布后编译就报错了
Starting >>> protocol
Starting >>> rapidjson
Starting >>> toml
Starting >>> xpack
Starting >>> nav2_common
Starting >>> nav_2d_msgs
Starting >>> params
Starting >>> filesystem
Finished <<< xpack [9.03s]
Finished <<< rapidjson [10.5s]
Starting >>> nvinference
Starting >>> zxing
Finished <<< toml [12.5s]
Finished <<< params [11.9s]
Starting >>> cpp_httplib
Starting >>> cyberdog_bringup
Finished <<< filesystem [13.2s]
Starting >>> mqttc
Finished <<< nav2_common [22.4s]
Finished <<< nvinference [14.2s]
Starting >>> nav2_msgs
Starting >>> nav2_voxel_grid
Finished <<< cpp_httplib [14.2s]
Starting >>> mcr_msgs
--- stderr: mqttc
CMake Error at /usr/local/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find MbedTLS (missing: MBEDCRYPTO_LIBRARY)
Call Stack (most recent call first):
/usr/local/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/FindMbedTLS.cmake:8 (find_package_handle_standard_args)
CMakeLists.txt:43 (find_package)


Failed <<< mqttc [15.2s, exited with code 1]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the workspace build and inspect mqttc/CMakeLists.txt at line 43 together with cmake/FindMbedTLS.cmake at line 8. Compare the dependency discovery behavior before and after version 1.3.1; the work is done when mqttc and the full workspace build without the missing MBEDCRYPTO_LIBRARY error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.