[vtkusers] More on mac os x installation
Mike Robertson
fermion at mac.com
Mon Apr 22 09:16:01 EDT 2002
Hi. Everything is fine now, as long as I don't want to wrap the libraries
into TCL. When I tell it to do that (the ultimate goal is python, but
there's some bizarre file that the TCL wrapping creates that is necessary
for the python wrapping to function...), it returns this error without fail:
make[3]: *** [/usr/local/vtk/vtk/bin/vtk] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping_Tcl] Error 2
make: *** [default_target] Error 2
I'm not sure what's going on here... I'm looking through the 41MB mbox now,
but if anyone has any idea how I can fix this problem, I'd appreciate it
(or, for that matter, any suggestions of simply getting around the TCL wrap
to create that file... vtkTkRenderWidgetPython).
Thanks.
mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael Robertson
fermion at mac.com
http://thenewcosmos.com
". . . The Egyptians were obsessed with salt. They salted everything,
including their relatives. . ."
- NPR, 2/26/02
> From: "William A. Hoffman" <billlist at nycap.rr.com>
> Date: Wed, 17 Apr 2002 08:25:31 -0400
> To: Mike Robertson <fermion at mac.com>, <vtkusers at public.kitware.com>
> Subject: Re: [vtkusers] More on mac os x installation
>
> My mistake, you do not need advanced values, but you do need:
> OPENGL_LIBRARY:FILEPATH=-framework AppKit -framework OpenGL
>
> (I will fix that now.)
>
> -Bill
>
>
> At 07:59 AM 4/17/2002 -0400, William A. Hoffman wrote:
>> I would suggest cleaning your build directory (rm -rf *). Then re-run
>> cmake -i and do not ask to see the advanced values.
>> All of the defaults should work on Mac/OSX.
>>
>> This is the libtool problem:
>>
>> Variable Name: CMAKE_DL_LIBS
>> Description: Dynamic link library to link in.
>> Current Value:
>> New Value (Enter to keep current value): /usr/share/libtool/
>>
>> This is asking for the name of a library to link in. You have given
>> it the name of an executable.
>>
>>
>> When it asked:
>> Would you like to see advanced options? [No]:
>>
>> Did you say yes? If so, why? Did you have trouble with no advanced
>> options?
>> If you said, no, what version of cmake are you using?
>>
>> Thanks.
>>
>> -Bill
>>
>>
>>
>> At 11:53 PM 4/16/2002 -0400, Mike Robertson wrote:
>>> Hi! I'm relatively new to the unix world, oddly enough, but I'm determined
>>> to get VTK running on my machine within or outside of this X-11 environment
>>> with the intent of running MayaVi. Despite its intention to simplify, this
>>> entire cmake process seems to make things far more cryptic than they would
>>> otherwise be. Here's my confusion (and, naturally, I've tried this several
>>> times before dragging myself to this listserv).
>>>
>>> After a highly verbose make process, the program concludes with this:
>>>
>>> /usr/bin/libtool: internal link edit command failed
>>> make[3]: *** [/usr/local/vtk/VTK/bin/libvtkRendering.dylib] Error 1
>>> make[2]: *** [default_target] Error 2
>>> make[1]: *** [default_target_Rendering] Error 2
>>> make: *** [default_target] Error 2
>>> [localhost:local/vtk/VTK] root# hmm...
>>>
>>> Here are the questions that I'm not so sure about (and that are probably
>>> relevant to this `target' issue... (?))
>>>
>>> Thanks for any help anyone can provide me with this. (the libtool error
>>> resulted because I have no idea what it's asking for in the dynamic link
>>> library question...)
>>>
>>> mike
>>>
>>> Variable Name: CMAKE_DL_LIBS
>>> Description: Dynamic link library to link in.
>>> Current Value:
>>> New Value (Enter to keep current value): /usr/share/libtool/
>>
>>
>>
>>
>>
>>> Variable Name: CMAKE_HP_PTHREADS
>>> Description: Use HP pthreads.
>>> Current Value: 0
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_INSTALL_PREFIX
>>> Description: Install path prefix, prepended onto install directories.
>>> Current Value: /usr/local
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_LIB_EXT
>>> Description: Library extension used by this machine.
>>> Current Value:
>>> New Value (Enter to keep current value): .lib
>>>
>>> Variable Name: CMAKE_MAKE_PROGRAM
>>> Description: Path to a program.
>>> Current Value: /usr/bin/make
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_MODULE_BUILD_FLAGS
>>> Description: Flag used by CXX to build a shared library.
>>> Current Value: -bundle -flat_namespace -undefined suppress
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_MODULE_LINK_FLAGS
>>> Description: Flags used to link a shared library.
>>> Current Value:
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_MODULE_SUFFIX
>>> Description: Module library suffix.
>>> Current Value: .so
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_RANLIB
>>> Description: Library randomizer program used on archive libraries.
>>> Current Value: ranlib
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_SHLIB_BUILD_FLAGS
>>> Description: Flag used by CXX to build a shared library.
>>> Current Value: -dynamiclib
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_SHLIB_CFLAGS
>>> Description: Flag used for building shared library objects.
>>> Current Value:
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_SHLIB_LD_LIBS
>>> Description: Libraries used by LD for shared libraries.
>>> Current Value:
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_SHLIB_LINK_FLAGS
>>> Description: Flags used to link a shared library.
>>> Current Value:
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_SHLIB_RUNTIME_FLAG
>>> Description: Flag used to specify run-time search paths.
>>> Current Value:
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_SHLIB_RUNTIME_SEP
>>> Description: If null, each runtime path is a separate option. Otherwise,
>>> they are all joined, separated by this.
>>> Current Value: :
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_SHLIB_SUFFIX
>>> Description: Shared library suffix.
>>> Current Value: .dylib
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_SKIP_RPATH
>>> Description: If set, runtime paths are not added when using shared
>>> libraries.
>>> Current Value: NO
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_TEMPLATE_FLAGS
>>> Description: CXX template flags used by compiler.
>>> Current Value:
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_THREAD_LIBS
>>> Description: Thread library used.
>>> Current Value: -lpthread
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_USE_PTHREADS
>>> Description: Use the pthreads library.
>>> Current Value: 1
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_USE_SPROC
>>> Description: Use sproc libs.
>>> Current Value: 0
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_WORDS_BIGENDIAN
>>> Description: is this system big endian
>>> Current Value: 1
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_X_CFLAGS
>>> Description: X11 extra flags.
>>> Current Value: -I/usr/X11R6/include
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: CMAKE_X_LIBS
>>> Description: Libraries and options used in X11 programs.
>>> Current Value: -lSM -lICE -L/usr/X11R6/lib -lX11 -lXext
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: DART_ROOT
>>> Description: If you have Dart installed, where is it located?
>>> Current Value: NOTFOUND
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: EXECUTABLE_OUTPUT_PATH
>>> Description: Single output directory for building all executables.
>>> Current Value: /usr/local/vtk/VTK/bin
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: LIBRARY_OUTPUT_PATH
>>> Description: Single output directory for building all libraries.
>>> Current Value: /usr/local/vtk/VTK/bin
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: OPENGL_INCLUDE_PATH
>>> Description: What is the path where the file GL/gl.h can be found
>>> Current Value: /usr/X11R6/include
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: OPENGL_LIBRARY
>>> Description: Where can the GL library be found
>>> Current Value: /usr/X11R6/lib/libGL.a
>>> New Value (Enter to keep current value): /usr/X11R6/lib/libGL.a -framework
>>> Cocoa -framework OpenGL
>>>
>>> Variable Name: VTK_DATA_ROOT
>>> Description: What is the path where the file VTKData.readme can be found
>>> Current Value: NOTFOUND
>>> New Value (Enter to keep current value): /usr/local/vtk/VTKData/
>>>
>>> Variable Name: VTK_DEBUG_LEAKS
>>> Description: Build leak checking support into vtk.
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_MANGLE_MESA
>>> Description: Use mangled Mesa with OpenGL
>>> Current Value: OFF
>>> New Value (Enter to keep current value): ON
>>>
>>> Variable Name: VTK_OPENGL_HAS_OSMESA
>>> Description: The opengl library being used supports off screen Mesa calls.
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_64BIT_IDS
>>> Description: Build VTK with 64 bit ids
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_ANSI_STDLIB
>>> Description: Use the ANSI standard iostream library
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_HYBRID
>>> Description: Build the hybrid directory classes
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_PARALLEL
>>> Description: Build the parallel directory classes
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_PATENTED
>>> Description: Build the patented directory classes, these classes are
>>> patented and may require a license to use
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_QUARTZ
>>> Description: Build classes for the Quartz window manager
>>> Current Value: ON
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_RENDERING
>>> Description: Build the rendering classes used for displaying
>>> Current Value: ON
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_VOLUMEPRO
>>> Description: Build VTK with volume pro support
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_USE_X
>>> Description: Build classes for the X11 window manager
>>> Current Value: OFF
>>> New Value (Enter to keep current value): ON
>>>
>>> Variable Name: VTK_WRAP_JAVA
>>> Description: wrap classes into the Java language
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_WRAP_PYTHON
>>> Description: wrap classes into the Python interpreted language
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>> Variable Name: VTK_WRAP_TCL
>>> Description: wrap classes into the TCL intepreted language
>>> Current Value: OFF
>>> New Value (Enter to keep current value):
>>>
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> Michael Robertson
>>> fermion at mac.com
>>> http://thenewcosmos.com
>>>
>>>
>>> "By [reason] we gain a multitude of cognitions, which although really
>>> nothing more than elucidations or explanations of that which (though in a
>>> confused manner) was already thought in our conceptions, are, at least in
>>> respect of their form, prized as new introspections; whilst, so far as
>>> regards their matter or content, we have really made no addition to our
>>> conceptions, but only disinvolved them."
>>>
>>> -Immanuel Kant, The Critique of Pure Reason
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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