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.n...@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
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to