[vtkusers] getting started4

Greg Hanowski greg at tekknow.net
Wed Aug 28 00:48:30 EDT 2013


Gib,

It would help if I clicked the Generate button after the Configure... oops.

 

Then the Build tree did show an ALL_BUILD.vcxproj.  I am compiling it now.

 

I recognize the difficulty of being a beginner on a product described in
several places as having a steep learning curve, especially with
incomplete/confusing documentation.  I was not at all anxious to dive in but
was a last resort.  My goal is to create centerlines of 3D artery and vein
models that I have in .obj format.  I can find only one software that claims
to be able to do that called the Vascular Modeling Toolkit.  It requires
models in .vtp format.

 

I simply want to use VTK to convert .obj to .vtp.  Unfortunately, the only
VTK code that can do that is written in c++.  Hence the need to compile in
c++.  

I have been programming in many languages for 35 years.  Java is the latest
for the last 5 and I haven't used Visual Studio C++ since 2005 and have
forgotten a lot.

 

I am commenting in excruciating detail in the hopes that Kitware or whoever
is providing the documentation sees the thought process of a VTK newbie, how
painful it is for them, and improves it.

 

Thanks for your help!

Greg

 

 

From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of Gib Bogle
Sent: Tuesday, August 27, 2013 8:25 PM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] getting started4

 

Visual Studio (I don't know about Express) uses .vcxproj files.  I'd expect
you to see ALL_BUILD.vcxproj.

It's very ambitious to build VTK without being familiar with your
tool-chain.

On 28/08/2013 2:20 p.m., Greg Hanowski wrote:

VTKers,

 

Ok, the CMakeSetup dialog appears to have completed the build tree
successfully.  Now how to compile it?

 

The README.html file says "Now that the build system has been generated the
corresponding native tools can be used to build VTK. In the case of the
Visual Studio IDE simply run it and load the VTK workspace or solution file
from the binary tree specified in the CMakeSetup dialog. Select and build
the ALL_BUILD target."

 

So I went into Visual Studio Express 2012 and did File>Open Project and
navigated to the build tree location,
C:/Users/Greg/Documents/VTK/VTK6.0.0.0/Build, but there is no .sln file
there.  (What is a VTK workspace?) 

 

Then I also read further down, "If VTK was built using a CMake Makefile
generator then this is done by running "make install" from the top of the
build tree."  

 

So I navigated to the build tree in a cmd shell and typed make install like
this: C:\Users\Greg\Documents\VTK\VTK6.0.0.0\Build>make install

 

but got the following error:

'make' is not recognized as an internal or external command, operable
program or batch file.

 

So I searched my entire c: drive for "make" but no make.xxx showed up.  Even
if one did, I don't see any file called install.xxx in the build directory
so I doubt it would work anyway.

 

Any ideas?

 

Greg

 






_______________________________________________
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






-- 
Dr. Gib Bogle
Senior Research Fellow
Auckland Bioengineering Institute
University of Auckland
New Zealand
 
http://www.bioeng.auckland.ac.nz
 
g.bogle at auckland.ac.nz
(64-9) 373-7599 Ext. 87030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130827/b5a8c732/attachment.htm>


More information about the vtkusers mailing list