[Paraview] Strange problem Paraview plug-in compilation with VS 2008

Jagjeet Nain jagjeet.nain at gmail.com
Mon Feb 6 02:57:23 EST 2012


Little correction: Below problem is not at the compile time, it is at the
solution file generation time with CMake.

On Sun, Feb 5, 2012 at 3:10 PM, Jagjeet Nain <jagjeet.nain at gmail.com> wrote:

> Hi ALL,
>
> I am facing a strange problem with my ParaView 3.12 "Plugin" compilation.
> My Paraview 3.12 build with VS2008 was ok and I am successfully able to run
> Paraview client.
>
> However when I tries to compile Example plugin, I gets below error. and
> this problem is not plugin specific, i get same error with any example
> compilation.
>
>
>  CMake Error at C:/Users/Paraview/Documents/Visual Studio
> 2008/Projects/ParaView-3.12.0Build/VTK/ParaViewTargets.cmake:16
> (ADD_EXECUTABLE):
>
> add_executable cannot create imported target "vtkEncodeString" because
>
> another target with the same name already exists.
>
> Call Stack (most recent call first):
>
> C:/Users/ Paraview/Documents/Visual Studio
> 2008/Projects/ParaView-3.12.0Build/VTK/VTKConfig.cmake:243 (INCLUDE)
>
> C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindVTK.cmake:73
> (FIND_PACKAGE)
>
> C:/Users/Paraview/Documents/Visual Studio
> 2008/Projects/ParaView-3.12.0/ParaViewUse.cmake:9 (FIND_PACKAGE)
>
> CMakeLists.txt:10 (INCLUDE)
>
>
> Another thing to note is that there is no such problem in Linux build.
>
> Any pointers to the problem will be greatly appreciated.
>
> with regards
>
> Jagjeet
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120206/4d0efc0f/attachment.htm>


More information about the ParaView mailing list