[vtkusers] Need Help Compiling VTK on OS X With Python Wrappers and a Local Python Installation
Smith, Mark E CTR USAF AFMC AEDC/ATA
Mark.E.Smith at arnold.af.mil
Mon Dec 21 16:45:14 EST 2009
Yes, but the build process complains that it wants a file and not a
directory (at least on the PYTHON_LIBRARY setting). But since the
default just points to the framework directory I cannot tell what is the
correct thing to put here.
-----Original Message-----
From: Berk Geveci [mailto:berk.geveci at kitware.com]
Sent: Monday, December 21, 2009 3:29 PM
To: Smith, Mark E CTR USAF AFMC AEDC/ATA
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Need Help Compiling VTK on OS X With Python
Wrappers and a Local Python Installation
Did you try setting PYTHON_INCLUDE_DIR and PYTHON_LIBRARY to point to
your Python build? Note that these are advanced settings so you will
have to turn on advanced mode in CMake.
On Mon, Dec 21, 2009 at 2:14 PM, Smith, Mark E CTR USAF AFMC AEDC/ATA
<Mark.E.Smith at arnold.af.mil> wrote:
> I suspect that this question has been answered, but so for I have not
> been able to find the answer. I want to build and install VTK with
> Python wrappers on OS X. I must install VTK locally since I do not
have
> root access. I have a local installation of Python. When I build VTK
the
> system installation of Python and the libraries in the Python
framework
> are used. Thus, when I run my local python and attempt to import vtk I
> get an error like below.
>
> Fatal Python error: Interpreter not initialized (version mismatch?)
>
> I have LD_LIBRARY_PATH and DYLD_LIBRARY_PATH set to the path where my
> local Python libraries exist. I have my path set to pickup my local
> python executable and that is what is reported when I configure with
> ccmake. My local python installation does not have frameworks or dylib
> files. I am using VTK 5.4.2. Any suggestions how to solve this
problem?
>
> Thanks
> _______________________________________________
> 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
>
More information about the vtkusers
mailing list