Search code examples
c++cvisual-studio-codempims-mpi

Visual Studio Code for some reason changes '\' with '/' in Include Path


So I've been trying to set up MSMPI in Visual Studio Code but fore some reason it says "Cannot find: C:/Program Files(x86)/Microsoft SDKs/MPI/Include" when I'm trying to add ${MSMPI_INC} to the Include Path for C/C++. Have someone encountered this problem? Proof that this variable exists

I've tried putting the whole path not using environment variable, however it still changes the symbols and says he can't find that directory, which exists (I checked)


Solution

  • You have a typo in your environment variable. It's Program Files (x86). note the space between Files and (x86).