c++: error: unrecognized command line option ‘-stdlib=libc++‘ while installing a node package

Posted UsherYue

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了c++: error: unrecognized command line option ‘-stdlib=libc++‘ while installing a node package相关的知识,希望对你有一定的参考价值。

For those who are still having this problem, the below command worked for me on fish shell and macOS.

env CC=clang CXX=clang++ npm install XXX

以上是关于c++: error: unrecognized command line option ‘-stdlib=libc++‘ while installing a node package的主要内容,如果未能解决你的问题,请参考以下文章

rk3588编译opencv 出现 c++: error: unrecognized command-line option ‘--param=ipcp-unit-growth=100000’;

解决:main.py: error: unrecognized arguments: --html

无法写入文件 NS_ERROR_FILE_UNRECOGNIZED_PATH

Error: ‘X‘ is an unrecognized escape in character string starting

pytest: error: unrecognized arguments: --allure=./report

error: unrecognized command line option "-std=c11" 解决办法