[vtkusers] Trouble building VTK and using with C++

Bill Lorensen bill.lorensen at gmail.com
Wed Sep 5 23:23:42 EDT 2012


You are much better off using CMake

When VTK6, which is modularized, there are almost 90 libraries in a full
build of VTK.
CMake will allow you to choose the libraries that are needed by your
application.

On Wed, Sep 5, 2012 at 9:34 PM, Alex Malyushytskyy <alexmalvtk at gmail.com>wrote:

> You do not have to use CMake in your project, but this means, you have
> to specify
>  paths to includes (which you probably do, cause that is linker errors)
> and make sure your application picks up libraries (which you probably
> have wrong).
> And the easiest way to find out what has to be done -  to use CMake to
> build example projects,
> so you can check what has to be done with yours.
>
> You had to use CMake anyway to build VTK itself, so you could check
> option to build examples.
>
> Alex
>
> On Tue, Sep 4, 2012 at 4:39 AM, John Drescher <drescherjm at gmail.com>
> wrote:
> >> I'm having serious troubles to compile the vtk's examples for c++, I'm
> using
> >> Visual C++ Express 2010 and building VTK many times but still can't
> figure
> >> out what's the right way to go. I'm working on an application for 3D
> >> ultrasound visualization I'll appreciate some help with these
> >>
> >
> > I highly recommend that you use CMake to generate the projects for
> > your applications.
> >
> > John
> > _______________________________________________
> > 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
> _______________________________________________
> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120905/ada4bcf2/attachment.htm>


More information about the vtkusers mailing list