[vtkusers] compilating errors of a program that uses VTK and GDCM (via CMake)

Stéphane CALANDE scalande at gmail.com
Tue Oct 7 13:55:24 EDT 2008


Hi,


I'm trying to compile a source c++ that uses VTK and GDCM libraries (
http://info.fundp.ac.be/~scalande/problem/gdcmorthoplanes.cxx if it is
useful... ).

I have installed the last versions of VTK and GDCM, and I use CMake to
generate the Makefile. (I'm on Windows)
But, when I compile, I always meet the same errors, even if I take other
example files.
The errors I receive are "multiple definition of"...

I'm a newbie and I have tried everything today to manage to compile my
examples but without any result.


In order to be easier to understand the problem I meet, I created a little
.png file that summarize my problem.
http://info.fundp.ac.be/~scalande/problem/error01.PNG


I would really appreciate it if someone could help me by explaining me the
problem or by giving solutions to resolve it.


Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081007/f6928087/attachment.htm>


More information about the vtkusers mailing list