- Highlight your project in the Navigation pane.
- Select Properties in the Project menu
- Select C/C++ Build in the left pane of the new window
- Open the Tool Settings tab in the right pane
- Select Libraries in the Linker category
- Type mpich into the "Additional Libraries (-l)" textbox
- Click the Apply and OK buttons to save your choice
Then build your application. Note that this must be done for both
the Debug and Release configurations of your project if you will be using
them both.