Configuration -> Properties -> Debugging : MPI Cluster Debugger
MPIRun Working Directory : localhost/NUM PROCS TO LAUNCH
MPIRun Command: C:\Program Files\OpenMPI_v1.6-win32\bin\mpiexec.exe
C/C++ -> Additional Include Directories: C:\Program Files\OpenMPI_v1.6-win32\include
C/C++ -> Preprocessor-> Preprocessor Definitions:
OMPI_IMPORTS
Linker -> Additioanl Library Directories: C:\Program Files\OpenMPI_v1.6-win32\lib
Linker -> Additional Dependencies: libmpid.lib
libopen-rted.lib
libopen-pald.lib
libmpi_cxxd.lib
: warning LNK4248: unresolved typeref token (01000015) for 'ompi_datatype_t'; image may not run
warning LNK4248: unresolved typeref token (01000016) for 'ompi_request_t'; image may not run
f warning LNK4248: unresolved typeref token (01000017) for 'ompi_group_t'; image may not run
warning LNK4248: unresolved typeref token (01000018) for 'ompi_communicator_t'; image may not run
warning LNK4248: unresolved typeref token (01000019) for 'ompi_win_t'; image may not run
warning LNK4248: unresolved typeref token (0100001B) for 'ompi_errhandler_t'; image may not run
warning LNK4248: unresolved typeref token (0100001C) for 'ompi_info_t'; image may not run
warning LNK4248: unresolved typeref token (0100001D) for 'ompi_op_t'; image may not run
warning LNK4248: unresolved typeref token (01000022) for 'ompi_predefined_communicator_t'; image may not run
error LNK2020: unresolved token (0A0003B5) ompi_mpi_comm_null
error LNK2020: unresolved token (0A000486) ompi_mpi_comm_world
error LNK2028: unresolved token (0A0004AF) "public: __thiscall MPI::Comm::Comm(void)" (??0Comm@MPI@@$$FQAE@XZ) referenced in function "public: __thiscall MPI::Intracomm::Intracomm(struct ompi_communicator_t *)" (??0Intracomm@MPI@@$$FQAE@PAUompi_communicator_t@@@Z)
error LNK2001: unresolved external symbol "public: virtual void __thiscall MPI::Datatype::Free(void)" (?Free@Datatype@MPI@@UAEXXZ)
error LNK2001: unresolved external symbol "public: virtual void __thiscall MPI::Win::Free(void)" (?Free@Win@MPI@@UAEXXZ)
error LNK2001: unresolved external symbol _ompi_mpi_comm_null
error LNK2019: unresolved external symbol "public: __thiscall MPI::Comm::Comm(void)" (??0Comm@MPI@@$$FQAE@XZ) referenced in function "public: __thiscall MPI::Intracomm::Intracomm(struct ompi_communicator_t *)" (??0Intracomm@MPI@@$$FQAE@PAUompi_communicator_t@@@Z)
error LNK2001: unresolved external symbol _ompi_mpi_cxx_op_intercept
error LNK2001: unresolved external symbol _ompi_mpi_comm_world
Does anyone know how to fix this ? Thank you.