Little correction: Below problem is not at the compile time, it is at the solution file generation time with CMake.<br><br>
<div class="gmail_quote">On Sun, Feb 5, 2012 at 3:10 PM, Jagjeet Nain <span dir="ltr">&lt;<a href="mailto:jagjeet.nain@gmail.com">jagjeet.nain@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<p style="MARGIN:0px"><font color="#000066">Hi ALL,</font></p>
<p style="MARGIN:0px"><font color="#000066">I am facing a strange problem with my ParaView 3.12 &quot;Plugin&quot; compilation. My Paraview 3.12 build with VS2008 was ok and I am successfully able to run Paraview client.</font></p>

<p style="MARGIN:0px"><font color="#000066">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.</font></p>
<p style="MARGIN:0px"><font color="#ff0000"><br></font></p>
<p style="MARGIN:0px"></p>
<p style="MARGIN:0px"><span style="COLOR:#ff0000">CMake Error at C:/Users/Paraview/Documents/Visual Studio 2008/Projects/ParaView-3.12.0Build/VTK/ParaViewTargets.cmake:16 (ADD_EXECUTABLE):</span></p>
<p style="MARGIN:0px"><span style="COLOR:#ff0000">add_executable cannot create imported target &quot;vtkEncodeString&quot; because</span></p>
<p style="MARGIN:0px"><span style="COLOR:#ff0000">another target with the same name already exists.</span></p>
<p style="MARGIN:0px"><span style="COLOR:#ff0000">Call Stack (most recent call first):</span></p>
<p style="MARGIN:0px"><span style="COLOR:#ff0000">C:/Users/</span> <span style="COLOR:rgb(255,0,0)">Paraview</span><span style="COLOR:#ff0000">/Documents/Visual Studio 2008/Projects/ParaView-3.12.0Build/VTK/VTKConfig.cmake:243 (INCLUDE)</span></p>

<p style="MARGIN:0px"><span style="COLOR:#ff0000">C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindVTK.cmake:73 (FIND_PACKAGE)</span></p>
<p style="MARGIN:0px"><span style="COLOR:#ff0000">C:/Users/</span><span style="COLOR:rgb(255,0,0)">Paraview</span><span style="COLOR:rgb(255,0,0)">/Documents/Visual Studio 2008/Projects/ParaView-3.12.0/ParaViewUse.cmake:9 (FIND_PACKAGE)</span></p>

<p style="MARGIN:0px"><span style="COLOR:#ff0000">CMakeLists.txt:10 (INCLUDE)</span></p>
<p style="MARGIN:0px"><span style="COLOR:#ff0000"><br></span></p>
<p style="MARGIN:0px"><font color="#000066">Another thing to note is that there is no such problem in Linux build.</font></p>
<p style="MARGIN:0px"><font color="#000066">Any pointers to the problem will be greatly appreciated.</font></p>
<p style="MARGIN:0px"><font color="#000066">with regards</font></p><span class="HOEnZb"><font color="#888888">
<p style="MARGIN:0px"><font color="#000066">Jagjeet</font></p>
<p style="MARGIN:0px;COLOR:rgb(255,0,0)"></p>
<p></p>
<p style="MARGIN:0px;COLOR:rgb(255,0,0)"></p></font></span></blockquote></div><br>