Jump to content
  • Advertisement
Sign in to follow this  
holdon

not related to gamedev

This topic is 2277 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone! by trying to use MPI to MergeSort i got these kind of errors on Visual Studio 2010 Prof

1>MergeSort2.obj : error LNK2019: unresolved external symbol _MPI_Finalize referenced in function _main
1>MergeSort2.obj : error LNK2019: unresolved external symbol _MPI_Send referenced in function _main
[/quote]
all required lib and .h files directories are set up correctly
thanks

Share this post


Link to post
Share on other sites
Advertisement
Those errors mean it can't find the definitions for the Finalize and Send MPI functions, which means that you probably aren't linking to the library (or at least the correct library). You can't just set up the directories correctly. You also need to actually link to the libs.

Share this post


Link to post
Share on other sites
i did link the libs and .h files and add mpi.lib to the Additional Dependencies too it's still showing the same errors

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!