Turn off PARAVIEW_USE_MPI in CMake and recompile. If that doesn't work (because of stale dependent build option settings) you will have to clear out the build directory and recompile.<div><br></div><div>Alternatively you could install MPICH2 or OpenMPI for Windows and then rebuild. When you turn on PARAVIEW_USE_MPI the first time, CMake should find MPI in your path and and determine what the correct settings for MPI_INLCUDE, MPI_LIBRARY and MPI_EXTRA_LIBRARY accordingly. The VTK and ParaView dashboards have a few examples, but it appears the Kitware hosted machines (see <a href="http://www.cdash.org/CDash/viewNotes.php?buildid=1886001">http://www.cdash.org/CDash/viewNotes.php?buildid=1886001</a> for example) all use Microsoft's MPI.</div>
<div><div><div><div><br></div><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909<br>
<br><br><div class="gmail_quote">On Thu, Jan 5, 2012 at 2:58 PM, Mingcheng Chen <span dir="ltr"><<a href="mailto:linyufly@gmail.com">linyufly@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everybody,<div><br></div><div>These days I was puzzled by different kinds of errors when I tried to build paraview from open source code.</div><div><br></div><div>My machine is AMD64 and my OS is Windows 7 64bits.
</div><div><br></div><div>My IDE is Visual Studio 2010.</div><div><br></div><div>My CMake is 2.8.</div><div><br></div><div>I choose to build a 32bit version.</div><div><br></div><div>A kind of errors is as follows.</div>
<div><br></div><div><div>"Error<span style="white-space:pre-wrap">        </span>31<span style="white-space:pre-wrap">        </span>error LNK1120: 12 unresolved externals<span style="white-space:pre-wrap">        </span>D:\LCSWorkSpace\ParaViewTest\ParaViewDev\bin\Release\Cosmo.dll<span style="white-space:pre-wrap">        </span>Cosmo"</div>
</div><div><br></div><div>"Cosmo" is a project in ParaView.sln generated by CMake.</div><div>"D:\LCSWorkSpace\ParaViewTest\ParaViewDev" is my output directory of CMake (where ParaView.sln is).</div><div>
<br></div><div>I do not know what the 12 unresolved externals are. Moreover, there is another kind of errors such as follows.</div><div><br></div><div><div>"Error<span style="white-space:pre-wrap">        </span>29<span style="white-space:pre-wrap">        </span>error LNK2019: unresolved external symbol _MPI_Recv referenced in function "public: void __thiscall Message::receive(int,int)" (?receive@Message@@QAEXHH@Z)<span style="white-space:pre-wrap">        </span>D:\LCSWorkSpace\ParaViewTest\ParaViewDev\VTK\Utilities\Cosmo\Message.obj<span style="white-space:pre-wrap">        </span>Cosmo"</div>
</div><div><br></div><div>Is it one of the 12 unresolved externals? What is the meaning of this error and how can I get rid of it?</div><div><br></div><div>Thanks!</div><div><br></div><div>I am very interested in whether there are people who have successfully built 32bit paraview using Visual Studio 2010 on 64bit machine.</div>
<div><br></div><div>Thanks again!</div><div><br></div><div>Best regards,</div><span class="HOEnZb"><font color="#888888"><div>Mingcheng Chen</div><div>January 5th, 2012</div><div><br></div>
</font></span><br>_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div></div></div></div>