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

Jagjeet Nain jagjeet.nain at gmail.com
Sun Feb 5 09:10:40 EST 2012


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/20120205/a5b9671f/attachment.htm>


More information about the ParaView mailing list