[vtkusers] Linker error

Waldo Valenzuela waldo.valenzuela at hotmail.com
Wed Jun 18 11:18:43 EDT 2014


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,


Waldo.

On 09 Jun 2014, at 14:13, Jon Haitz Legarreta <jhlegarreta at vicomtech.org> wrote:

> 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> wrote:
> 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.
> 
> Best,
> 
> Waldo.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140618/2e18960f/attachment.html>


More information about the vtkusers mailing list