You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a cross compile toolchain e.g. cortexa9t2hf-neon-linux-gnueabi with a sysroot folder for the target filesystem.
The CMake toolchain file sets architecture specific compile flags and the CMAKE_SYSROOT variable.
When using the cpptools integration, to autoconfigure the Microsoft C/C++ cpptools Extension, these flags and the sysroot folder are not respected from the cpptools extension. Seems cmake-tools does not hand these settings over to the cpptools extension.
We get error squiggles for not existing header files and incorrect intellisens due to wrong defines that describe the architectur e.g. hard-float vs. soft-float.
This issue has been addressed in CMake Tools 1.2.0 which is available in the VS Code Marketplace or on the Releases Page
Because the publisher id has changed, VS Code does not automatically upgrade you yet. The Marketplace team will enable this in the next few days. If you want to install 1.2.0 now, please make sure you uninstall any earlier versions of CMake Tools manually to avoid any conflicts.
Brief Issue Summary
Using a cross compile toolchain e.g.
cortexa9t2hf-neon-linux-gnueabi
with a sysroot folder for the target filesystem.The CMake toolchain file sets architecture specific compile flags and the CMAKE_SYSROOT variable.
When using the cpptools integration, to autoconfigure the Microsoft C/C++ cpptools Extension, these flags and the sysroot folder are not respected from the cpptools extension. Seems cmake-tools does not hand these settings over to the cpptools extension.
We get error squiggles for not existing header files and incorrect intellisens due to wrong defines that describe the architectur e.g. hard-float vs. soft-float.
Wrong:
cpptools extension output:
Expected:
cpptools extension output:
Note that the compiler flags and the sysroot is appended to the
compilerPath
for the cpptools configuration.Platform and Versions
The text was updated successfully, but these errors were encountered: