-
Hi there, I'm having an issue with cmake tools. When I use them, to build my target in VsCode, I get different results compared to building with cmake and make from the console under linux. I build in the console with The targets run fine The result however is not working correctly, and I get an "inlining failed in call to always_inline '__mm256i _mm256-LOAD_SI256(CONST _MM256I*)': target specific option mismatch Is there a way to configure cmake tools in a way, that it uses the command I also use in the console? Or do you have any other directions for me to solve my problem? In case that this board is not the right place to ask my question, please tell me, where I can do it instead. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
I'm missing some information. When you build in the terminal, what command do you use to generate the unix makefiles? (e.g. I'm looking for the command that includes
-G "Unix Makefiles"
). This is where I expect your compiler to be set and it's possible that the extension is attempting to build with a different compiler. If you let cmake figure this out for you, you'd want to select an[Unspecified]
Kit in the status bar.Otherwise, you'd want to select the Kit that matches what you're setting for
CMAKE_C_COMPILER
andCMAKE_CXX_COMPILER
.If that's not it, you can inspect the cmake commands that we're invoking for you using these new VS Code commands:
You can share the output of those com…