[vtkusers] [vtk-developers] error in configuration process
David Doria
daviddoria at gmail.com
Sat Nov 27 18:34:10 EST 2010
> I have installed VTK and when i run vtk example "Creating a Sphere" i am
> getting the link error.
>
>
> 1>------ Build started: Project: ss, Configuration: Debug Win32 ------
>
> 1>Compiling...
>
> 1>main.cpp
>
> 1>Compiling manifest to resources...
>
> 1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
>
> 1>Copyright (C) Microsoft Corporation. All rights reserved.
>
> 1>Linking...
>
> 1>LINK : fatal error LNK1104: cannot open file 'vtkalglib.lib'
>
> 1>Build log was saved at "file://c:\Users\Satvik\Documents\Visual Studio
> 2008\Projects\ss\ss\Debug\BuildLog.htm"
>
> 1>ss - 1 error(s), 0 warning(s)
>
Please keep the discussion on the list so everyone can help and benefit.
Can you show us the CMakeLists.txt file you are trying to use to build
the sphere example?
It should look like this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere
You should link to vtkHybrid. It looks like you are trying to link to vtkalglib.
David
More information about the vtkusers
mailing list