[vtkusers] Problems building VTK on Mac OSX 10.2.1

Sandor Heman saanti at xs4all.nl
Sun Sep 22 12:04:17 EDT 2002


On 9/22/02 17:39, "Yves Starreveld" <ystarrev at uwo.ca> wrote:

> Patrick, Sandor,
> 
> Both carbon and cocoa now build 'out of the box' with Tk/Tcl and Python
> all working, as long as all the required frameworks are in
> /Library/Frameworks. I checked in a few changes last night to deal with

What do you mean with ALL frameworks? The Cocoa, Carbon and OpenGL
frameworks are in /System/Library/Frameworks/ I suppose you do not have to
move them? Or do you mean just the tcl/tk and python frameworks?

Bye

Sandor
 
> tcl 8.4
> 
> Create a new directory, drop the following CMakeCache.txt settings into
> it:
> 
> //Build VTK examples.
> BUILD_EXAMPLES:BOOL=ON
> 
> //Build VTK with shared libraries.
> BUILD_SHARED_LIBS:BOOL=ON
> 
> //Build the testing tree.
> BUILD_TESTING:BOOL=ON
> 
> //Flag used by CXX to build a shared library.
> CMAKE_CXX_MODULE_BUILD_FLAGS:STRING=-Wl,-flat_namespace,-U,_environ
> -bundle -framework Python -undefined suppres
> s
> 
> //Flag used by CXX to build a shared library.
> CMAKE_MODULE_BUILD_FLAGS:STRING=-bundle -flat_namespace -undefined
> suppress
> 
> //Path to a program.
> PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python
> 
> //What is the path where the file Python.h can be found
> PYTHON_INCLUDE_PATH:PATH=/Library/Frameworks/Python.framework/Headers
> 
> //Where can one of the python, python21, python2.1, python20, python2.0,
> // python1.5, python15, python22 or python2.2 libraries be found
> //
> PYTHON_LIBRARY:FILEPATH=-framework Python
> 
> //Build the hybrid directory classes
> VTK_USE_HYBRID:BOOL=ON
> 
> //Build the parallel directory classes
> VTK_USE_PARALLEL:BOOL=ON
> 
> //Build the patented directory classes, these classes are patented
> // and may require a license to use
> VTK_USE_PATENTED:BOOL=ON
> 
> //wrap classes into the Python interpreted language
> VTK_WRAP_PYTHON:BOOL=ON
> 
> //wrap classes into the TCL intepreted language
> VTK_WRAP_TCL:BOOL=ON
> 
> //What is the path where the file tcl.h can be found
> TCL_INCLUDE_PATH:PATH=/Library/Frameworks/Tcl.framework/Headers;/
> Library/Frameworks/Tcl.framework/PrivateHeaders
> 
> //Where can one of the tcl, tcl84, tcl8.4, tcl83, tcl8.3, tcl82,
> // tcl8.2, tcl80 or tcl8.0 libraries be found
> TCL_LIBRARY:FILEPATH=-framework Tcl
> 
> //What is the path where the file tk.h can be found
> TK_INCLUDE_PATH:PATH=/Library/Frameworks/Tk.framework/Headers;/Library/
> Frameworks/Tk.framework/PrivateHeaders
> 
> //Where can one of the tk, tk84, tk8.4, tk83, tk8.3, tk82, tk8.2,
> // tk80 or tk8.0 libraries be found
> TK_LIBRARY:FILEPATH=-framework Tk
> 
> 
> Type cmake ../VTK
> (assuming you have a fresh cvs checkout of vtk in ../VTK)
> 
> and make.
> 
> That is how the nightly on the dash got built last night.
> 
> If you want to use shared libs, you must use gcc2 rather than gcc3 on
> the 10.2 install.
> 
> Yves
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list