Question
Issue with "--multi-lib-config" error when using ST-ARM-CLANG in VS Code
- December 18, 2025
- 2 replies
- 140 views
hi dear,
I created a project by selecting CMake as the toolchain and ST-ARM-CLANG as the compiler using the STM32Cube extension for VS Code (3.7.0) on macOS. Attached below are my configuration settings.



The project builds successfully without any issues in the terminal. However, I am seeing the following error in the VS Code editor:
"error: unknown argument: '--multi-lib-config=...'"
"message": "Unknown argument: '--multi-lib-config=/Users/myName/Library/Application Support/stm32cube/bundles/st-arm-clang-hybrid-19_1_6-description/0.0.6+st.1/etc/multilib.gnu_tools_for_stm32.yaml'",
clang(drv_unknown_argument)
Please let me know if there`s a solution for this. Thanks!
Also, I would like to know how to enable float support for printf() in the CMake-based ST-ARM-CLANG environment.
