Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] vs2010: MPI_Address() unresolved
From: MM (finjulhich_at_[hidden])
Date: 2011-11-18 19:02:24


Hi,

 

I get this style of errors when trying to link against libmpid.lib
(compiled with instructions from README.Windows part 1 cmake):

mylib.lib(myfile.obj): : error LNK2001: unresolved external symbol
__imp__MPI_Address

 

I set BUILD_SHARED_LIBS to false, so I generate static libs. I've also
checked that the /MDd is set and indeed libmpid.lib are built against the
DLL version of the C++ runtime when I open the solution in vs2010.

 

I myself link my application against the /MDd as well.

 

I don't know why it's looking for __impl__MPI_Address (__impl__ is a prefix
related to DLLs somehow).

I gather this MPI_Address() function resides in libmpi.lib and libmpid.lib

 

PS: I didn't have these link errors when I built against the prebuilt win
libraries from the website, what are the CMAke flags for those?

Thanks,

 

MM