[vtkusers] Where are the libraries?

Jothy jothybasu at gmail.com
Mon Sep 27 11:44:13 EDT 2010


I think you have to select VS compiler before configuring the cmake files,
if you are going to build with visual studio.

After clicking configure it will pop-up a window asking "Specify a generator
for this project" there you should select the appropriate compiler.


Jothy

On Mon, Sep 27, 2010 at 4:40 PM, Barney Sperlin <bsperlinus at yahoo.com>wrote:

> Thanks Jothy,
>      I've loaded in VTK.sln into the IDE and tried to build it.  That also
> gives me errors.  When it comes to VTKCommon it complains about
> 6>Linking...
> 6>LINK : fatal error LNK1104: cannot open file '..\..\bin\Debug\vtksys.lib'
>
> and there are missing _mingw.h files:
> 7>C:\Program Files\vtk-5.6.0\Common\windows.h(13) : fatal error C1083:
> Cannot open include file: '_mingw.h': No such file or directory
>
> What steps have I skipped?  Is that how to build the libraries?
>      Barney
>
> --- On *Mon, 9/27/10, Jothy <jothybasu at gmail.com>* wrote:
>
>
> From: Jothy <jothybasu at gmail.com>
> Subject: Re: [vtkusers] Where are the libraries?
> To: "Barney Sperlin" <bsperlinus at yahoo.com>
> Cc: vtkusers at vtk.org
> Date: Monday, September 27, 2010, 11:16 AM
>
>
> After Configure-->Generate, you have to build the vtk libraries in order to
> use them.
>
> Jothy
>
> On Mon, Sep 27, 2010 at 4:14 PM, Barney Sperlin <bsperlinus at yahoo.com<http://mc/compose?to=bsperlinus@yahoo.com>
> > wrote:
>
> Hello,
>      I downloaded VTK and CMake, then ran CMake and both "configure" and
> "generate" worked (both said "done" in the lower window of CMake).
>      However, when I ran VS2005 Express with C++ and tried to get the
> project vtk_minimal to work the project compiles but doesn't link, stopping
> on the notice that vtkCommon.lib wasn't found.
>      When I used Windows search it couldn't find it and, actually, I don't
> see any other such libs.  What do I need to do?
>      Barney
>
>
> _______________________________________________
> 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
>
>
>
>


-- 
PhD Student
Dept. of Medical Physics
Clatterbridge Centre for Oncology
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100927/9784eba7/attachment.htm>


More information about the vtkusers mailing list