cmake: undefined symbol: uv_fs_get_system_error

Hello,
After adding the path to cmake (ubuntu 22.04, whereis cmake) into the 'Set Path' folder, I try:
>> [status,cmdout] = system('cmake --version')
status =
127
cmdout =
'cmake: symbol lookup error: cmake: undefined symbol: uv_fs_get_system_error '
I run 'cmake --version' on terminal and it works fine. I have not found any other thread with uv_fs_get_system_error on cmake. Is this a matlab error or a cmake error? I have tried other commands using system() with no issues. Any help is greatly appreciated.

1 件のコメント

Nate Rolfes
Nate Rolfes 2024 年 2 月 29 日
編集済み: Nate Rolfes 2024 年 2 月 29 日
I"m also getting the same error with 22.04 and Matlab R2023b

サインインしてコメントする。

回答 (1 件)

Nate Rolfes
Nate Rolfes 2024 年 2 月 29 日

0 投票

i think i figured it out. had an old version of Cmake (v3.21 or something) and updating to latest (v3.25, v3.28 both worked for me). fixes the issue. at the linux terminal:
sudo apt remove cmake
then
sudo snap install cmake --classic
set me up with v3.28.3 and then running the
system('cmake --version')
command returns successfully

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2022b

タグ

質問済み:

2024 年 2 月 26 日

回答済み:

2024 年 2 月 29 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by