[Paraview] "another target with the same name already exists" when executing CMake for plugin project

Boettcher, Prof. Dr. Peter Boettcher at kleintierklinik.uni-leipzig.de
Sun Mar 25 15:53:31 EDT 2012


I try to compile one of the example plugins (GUIView) and get the
following error when executing CMake (2.8.6)

 

CMake Error at C:/ParaView-3.14.0/bin/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:/ParaView-3.14.0/bin/VTK/VTKConfig.cmake:244 (INCLUDE)

C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/FindVTK.cmake:73 (FIND_PACKAGE)

C:/ParaView-3.14.0/ParaViewUse.cmake:9 (FIND_PACKAGE)

CMakeLists.txt:9 (INCLUDE)

 

I build Paraview (3.14.0) and QT with VS2005 successfully. I have
another Paraview binary (3.14.0) installed on the same machine but no
separate VTK sources.

 

Any idea what is going on?

 

Regards, Peter.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120325/542355e1/attachment.htm>


More information about the ParaView mailing list