[CMake] compilation errors of a program that uses VTK and GDCM via CMake
Stéphane CALANDE
scalande at gmail.com
Tue Oct 7 14:21:04 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<http://info.fundp.ac.be/%7Escalande/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<http://info.fundp.ac.be/%7Escalande/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.cmake.org/pipermail/cmake/attachments/20081007/8adcc3cf/attachment.htm>
More information about the CMake
mailing list