[Paraview-developers] [paraview-developers] A kind of building errors of paraview development version under Visual Studio 2010 on Windows 7 64bits
David E DeMarle
dave.demarle at kitware.com
Thu Jan 5 15:30:02 EST 2012
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.
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 http://www.cdash.org/CDash/viewNotes.php?buildid=1886001 for
example) all use Microsoft's MPI.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Jan 5, 2012 at 2:58 PM, Mingcheng Chen <linyufly at gmail.com> wrote:
> Hi everybody,
>
> These days I was puzzled by different kinds of errors when I tried to
> build paraview from open source code.
>
> My machine is AMD64 and my OS is Windows 7 64bits.
>
> My IDE is Visual Studio 2010.
>
> My CMake is 2.8.
>
> I choose to build a 32bit version.
>
> A kind of errors is as follows.
>
> "Error 31 error LNK1120: 12 unresolved externals
> D:\LCSWorkSpace\ParaViewTest\ParaViewDev\bin\Release\Cosmo.dll Cosmo"
>
> "Cosmo" is a project in ParaView.sln generated by CMake.
> "D:\LCSWorkSpace\ParaViewTest\ParaViewDev" is my output directory of CMake
> (where ParaView.sln is).
>
> I do not know what the 12 unresolved externals are. Moreover, there is
> another kind of errors such as follows.
>
> "Error 29 error LNK2019: unresolved external symbol _MPI_Recv referenced
> in function "public: void __thiscall Message::receive(int,int)"
> (?receive at Message@@QAEXHH at Z)
> D:\LCSWorkSpace\ParaViewTest\ParaViewDev\VTK\Utilities\Cosmo\Message.obj
> Cosmo"
>
> Is it one of the 12 unresolved externals? What is the meaning of this
> error and how can I get rid of it?
>
> Thanks!
>
> I am very interested in whether there are people who have successfully
> built 32bit paraview using Visual Studio 2010 on 64bit machine.
>
> Thanks again!
>
> Best regards,
> Mingcheng Chen
> January 5th, 2012
>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20120105/c70b539e/attachment.htm>
More information about the Paraview-developers
mailing list