[vtkusers] Linker error
Jon Haitz Legarreta
jhlegarreta at vicomtech.org
Wed Jun 18 11:23:01 EDT 2014
However, you may perfectly have different versions of VTK in the same
machine. So may be the problem was deeper than just having multiple
versions of VTK.
On 18 June 2014 17:18, Waldo Valenzuela <waldo.valenzuela at hotmail.com>
> Hi Jon,
> Thanks very much for your reply. At the end, was a problem with the
> previous version of VTK that I have installed, I had to format the computer
> and after that, I followed your suggestions and it work.
> Best regards,
> On 09 Jun 2014, at 14:13, Jon Haitz Legarreta <jhlegarreta at vicomtech.org>
> Dear Waldo,
> I'm running VTK 6.1.0 with VS 2010, and found no linking errors when
> trying to build any of VTK's built-in examples.
> Just checked the BUILD_EXAMPLES flag (had to check as well the
> BUILD_TESTING flag; otherwise CMake complained) (linking statically, on the
> other hand, the same as you: had the BUILD_SHARED_LIBRARIES flag unchecked
> in CMake), re-configured, re-generated, re-built VTK, and executed an
> example (\Examples\Tutorial\Step2\Cxx\Cone2) with no problems.
> VTK's CMakeLists.txt files should care about finding and linking against
> the appropriate libraries, so unless you've modified either the CMakeLists
> or the project's properties in VS (which is neither required nor expected),
> I cannot find a reasonable explanation.
> JON HAITZ
> On 8 June 2014 19:28, Waldo Valenzuela <waldo.valenzuela at hotmail.com>
>> Hi guys,
>> I have linker error in visual studio 2010, after compile vtk 6.1 all the
>> library are named "NAMELIBRARY-6.1.lib", and when I try to run any example
>> of vtk visual studio is looking for the vtk library without the -6.1.
>> What I am doing wrong?
>> Any help is always welcome.
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at
>> Please keep messages on-topic and check the VTK FAQ at:
>> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers