سؤال

I've just correctly installed Visual Studio Express C++ and OpenMPI. I've added the path to PATH variable:

C:\Program Files\OpenMPI_v1.5.5-win32\bin;
C:\Program Files\Microsoft Visual Studio 10.0\VC\bin;
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE;
C:\Program Files\Microsoft Visual Studio 10.0\VC\include

and I've written a simple program in MPI on visual c++ express. The problem is that when I try to compile from prompt dos

mpicxx -o mpi mpi01.cpp

it tells me that there are a lot of missing files.h (no such file od directory) which are all inside C:\Program Files\Microsoft Visual Studio 10.0\VC\include But, as I've just said, I've included this in PATH. Why does it miss them all?

هل كانت مفيدة؟

المحلول

Your "prompt dos" should be the one you get when you launch the Visual Studio "Developper Command prompt". Shortcut located in your Start Menu -> Programs -> Microsoft Visual Studio -> Visual Studio Tools

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top