This content has been marked as final. Show 3 replies
Where is mpi.h located on your system? Did you add that to your include paths under your Visual Studio project? Most of the time, Visual Studio isn't going to be able to find .h and .lib files automatically for packages you download. You have to add them explicitly to the project properties yourself.
I have tried to adding the include path wich contain the mpi.h headers in the project property; but visual studio will forget the path when i say apply and so when i try to compile a mpi programm i receive the same error mpi.h no such file or lacation
Look the steps i have tried ...> project property...> enviroment cariables... >
but visual studio will forget the path .
This is very strange because if i try to compile a cal programm the compiler find the cal.h headers and will build it perfectly.
Can you try this ?
Have you tried going to Project Properties->Configuration Properties->C/C++->General and changed "Additional Include Directories"?
This should be the same place where "$(BROOKROOT)\sdk\include" is.