locked
error LNK1104: cannot open file 'msmpi.libkernel32.lib' RRS feed

  • Question

  • Hi, I am new to MS MPI. I have visual studio 2013 32bit installed on my windows 64bit because that is what my university offers through dreamspark (I cannot download a 64bit visual studio version). I have installed also Microsoft HPC Pack 2012.

    When I try to run the program i get the error LNK1104: cannot open file 'msmpi.libkernel32.lib' but there is not such file on Microsoft HPC pack 2012 folder.

    What should I do?

    Any ideas would be most appreciated

    Thanks


    Wednesday, November 27, 2013 12:21 AM

All replies

  • Did you specify any additional import libraries in the linker settings for your project? Are you building 32-bit binaries, or cross-compiling 64-bit?

    If I had to guess, I'd say you are missing a space between 'msmpi.lib' and 'kernel32.lib'.

    Cheers,
    -Fab

    Wednesday, November 27, 2013 5:20 AM
  • Thank you, Fab Tillier. It was a missing ; at the end of the list of dependencies (right before %).
    Tuesday, December 3, 2013 9:37 PM