How To Build VTK for Python on Windows
Posted by giuamato | 19 Apr, 2009
Starting by these instructions instructions, I created a guide to build VTK libraries for Python under Windows (Vista)
1) Download and install:
- Cmake
- Visual C++ Express (2008)
- Python
2) Download source for vtk and extract them to a folder (ie. VTK_SOURCE).
3) Make a new folder where the compiler can put builded files (ie. BUILD).
4) Start Cmake.
5) Setup fields:
- Where is the source code = VTK_SOURCE.
- Where to build the binaries = BUILD.
6) Clic on Configure and select as compiler "Visual C 9 (2008)".
7) Setup fields:
- VTK_WRAP_PYTHON=ON.
- BUILD_SHARED_LIBS=ON.
8) Clic on Configure.
9) If there are any problem solve them and then clic on Configure each time. Here are problems I found and the solutions:
- CMake Error at CMake/vtkWrapTcl.cmake:180 (MESSAGE): Tk was not found. Install the Tk development package (see http://tcl.tk or ActiveState Tcl) and set the appropriate variables (TK_INCLUDE_PATH, TK_LIBRARY, TK_WISH) or disable VTK_USE_TK. Call Stack (most recent call first): CMakeLists.txt:831 (INCLUDE).
- Show Advanced Values.
- SetVTK_USE_TK to OFF.
- CMake Error: The following variables are used in this project, but they are set to NOTFOUND.Please set them or make sure they are set and tested correctly in the CMake files: PYTHON_INCLUDE_PATH (ADVANCED). used as include directory in directory C:/Users/Giuseppe/Desktop/Nuova cartella/vtk-5.2.1.
- Show Advanced Values.
- Setup PYTHON_INCLUDE_PATH to the python include directory (ie. C:/Python26/include).
- CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PYTHON_LIBRARY (ADVANCED).
- Show Advanced Values.
- Setup PYTHON_LIBRARY to the file pythonXX.lib in the folder libs in Python (es.: C:/Python26/libs/python26.lib).
10) Clic on Ok when everything goes well.
11) Start the file INSTALL.vcproj in thefolder BUILD with Visual C++.
12) From Menu Project select Properties then Configuratione Manager and setup the active configuration on Release.
13) From menu Debug select Start Debug or F5.
14) Wait until the end of the build (it may require some time).
At the end the build has been succesfull using python 2.5, while with pyhon 2.6 for 64bit OS Visual Basic gave me linker error because it was impossible to find definition of python calls.
thanks for this tutorial. seems the most promising to me. hope many people will find it useful as I have
Posted by Torrents Search 27 Oct 2009, 14:32aqian100324
Posted by Replicawatches 24 Mar 2010, 09:18Designer Watches
Wrist Watches
Replica Sunglasses
Replica Scarf
Vacations, Cruises & Car Rentals
Audemars Piguet Watches 2010
Wholesale Rolex Watches 2010
Bvlgari Watches 2010
Cartier Watches 2010
Chanel Watches 2010
hermes handbags
replica handbags
Cheap Airfare, Hotels, Flights
adidas shoes, air jordans
Hotels, Flights, Vacations
How to setup the environment variables after this to use with python
Posted by Jothy 26 Mar 2010, 17:04Hate buying wow gold, just to find out that you could have gotten it at half the price somewhere else? Can't stand getting ripped off by fraudulent gold sellers? Then MMOBUX can help. MMOBUX compares prices and provides reviews for more than 427 online shops that sell currencies like World of Warcraftwow po Gold, Eve Online ISK or Lord of the Rings Online Gold. On our site you can find the cheapest and most reliable sellers in a matter of seconds.
Posted by dadfsa 23 Jun 2010, 09:55Expanding your cube space should be your first major purchase in AION kinah. Every class is capable of leveling easily with the gear and weapons wow gold collected along the way through quest rewards. Even though you may get a lucky drop that is a perfect upgrade for your class, you will probably reap bigger rewards in the long run by selling it to another, less savvy player.
Posted by dadfsa 24 Jun 2010, 03:14sts and picking up new ones, secondly, many of the quests in the same areawow powerleveling involve killing or collecting items near the same location, queuing quests will make it easier to get all of them done
Posted by dadfsafasd 24 Jun 2010, 03:37Thanks for the information! Now I know what i will do the next time i travel. Looking forward to go to Thailand later this year! Thanks for some pointers!
Posted by coach outlet online 23 Jul 2010, 08:18coach bags outlet
coach bags
coach outlet
coach outlet online
chanel bags
chanel bags 2010
chanel bags online
zocy005 on 2010-7-23
Gucci outlet Gucci outlet
Coach outlet Coach outlet
Gucci handbags Gucci handbags
Coach outlet store Coach outlet store
Coach factory outlet Coach factory outlet
coach outlet online Coach outlet online
Gucci outlet online Gucci outlet online
This article is written by zocy003 on 2010-7-23 http://www.coachoutletmalls.com
Posted by Coach outlet 23 Jul 2010, 11:45Hi,
Trying to build VTK for Python2.6 within Windows platform, not successful ended with the following errors, someone direct me in the right path.????
CMake Error at CMakeLists.txt:5 (message):
VTK has moved! See
http://www.vtk.org/VTK/resources/software.html#dev
for details. This source tree comes from the legacy CVS repository at
:pserver:anoncvs@www.vtk.org:/cvsroot/VTK
and exists only to report this message.
The legacy repository is no longer maintained. Old versions are still
available by date- or tag-based checkout, but the new repository is
preferred.
Configuring incomplete, errors occurred!
Posted by Andiappa P Sankar 25 Jul 2010, 17:36