Hello,
From c++ - error LNK2005, already defined? - Stack Overflow :
In the Project’s Settings, add
/FORCE:MULTIPLE
to the Linker’s Command Line options.From MSDN: “Use /FORCE:MULTIPLE to create an output file whether or not LINK finds more than one definition for a symbol.”
Though, this is considered dirty. It’s likely a guard, anonymous namespace or extern
is missing in VTK sources.
take care,
PC