[vtkusers] Problem running VTK on Mac OSX 10.2.1

Sandor Heman saanti at xs4all.nl
Tue Sep 24 12:36:36 EDT 2002


Hi,

OK, after some tries VTK finally compiles (at least without tcl/tk) on OSX
10.2.1 But when I try to execute the binaries in vtk/bin most of them simply
do NOTHING. Some test finish but others just keep 'hanging'
For example TimeRenderer and TimeRenderer2 start up but do not output
anything...not even an error message.
For Mace the same, not even it's window opens up...
During compilation I had a lot af these messages.
Don¹t know if that can be the problem and how to solve it...

Regards

Sandor Heman


symbol _inflate_mask used from dynamic library
/usr/lib/libz.1.1.3.dylib(infutil.o) not from earlier dynamic library
/usr/local/vtk/bin/libvtkzlib.dylib(infutil.o)
symbol _inflate_flush used from dynamic library
/usr/lib/libz.1.1.3.dylib(infutil.o) not from earlier dynamic library
/usr/local/vtk/bin/libvtkzlib.dylib(infutil.o)
symbol _inflate_trees_dynamic used from dynamic library
/usr/lib/libz.1.1.3.dylib(inftrees.o) not from earlier dynamic library
/usr/local/vtk/bin/libvtkzlib.dylib(inftrees.o)
symbol _inflate_copyright used from dynamic library
/usr/lib/libz.1.1.3.dylib(inftrees.o) not from earlier dynamic library
/usr/local/vtk/bin/libvtkzlib.dylib(inftrees.o)
symbol _inflate_trees_fixed used from dynamic library
/usr/lib/libz.1.1.3.dylib(inftrees.o) not from earlier dynamic library
/usr/local/vtk/bin/libvtkzlib.dylib(inftrees.o)
symbol _inflate_trees_bits used from dynamic library
/usr/lib/libz.1.1.3.dylib(inftrees.o) not from earlier dynamic library
/usr/local/vtk/bin/libvtkzlib.dylib(inftrees.o)
symbol _inflate_fast used from dynamic library
/usr/lib/libz.1.1.3.dylib(inffast.o) not from earlier dynamic library
/usr/local/vtk/bin/libvtkzlib.dylib(inffast.o)


I had my cmake config as follows:

# This is the CMakeCache file.
# For build in directory: /usr/local/vtk
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a varible in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Build the documentation (Doxygen).
BUILD_DOCUMENTATION:BOOL=OFF

//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

//Archive program used to make archive libraries.
CMAKE_AR:FILEPATH=/usr/bin/ar

//Arguments for CMAKE_AR program to create an archive library.
CMAKE_AR_ARGS:STRING=cr

//Archive program used to make archive libraries of c++ object
// files.
CMAKE_CXX_AR:FILEPATH=/usr/bin/ar

//Arguments for CMAKE_CXX_AR program to create an archive library.
//
CMAKE_CXX_AR_ARGS:STRING=cr

//Name of C++ compiler used.
CMAKE_CXX_COMPILER:FILEPATH=c++

//Flags used by CXX compiler.
CMAKE_CXX_FLAGS:STRING=

//program used to link c++ shared libraries
CMAKE_CXX_LINK_SHARED:STRING=c++

//Flag used by CXX to build a shared library.
CMAKE_CXX_MODULE_BUILD_FLAGS:STRING=-Wl,-flat_namespace,-U,_environ -bundle
-framework Python -undefined suppress

//Flags used to link a shared library.
CMAKE_CXX_MODULE_LINK_FLAGS:STRING=

//Flag used by CXX to build a shared library.
CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=-dynamiclib

//Flag used for building shared library objects.
CMAKE_CXX_SHLIB_CFLAGS:STRING=

//Flags used to link a shared library.
CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=

//Flag used to specify run-time search paths.
CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=

//If null, each runtime path is a separate option. Otherwise, they
// are all joined, separated by this.
CMAKE_CXX_SHLIB_RUNTIME_SEP:STRING=:

//Name of C compiler used.
CMAKE_C_COMPILER:FILEPATH=gcc2

//Flags for C compiler.
CMAKE_C_FLAGS:STRING=

//program used to link c shared libraries
CMAKE_C_LINK_SHARED:STRING=gcc

//Dynamic link library to link in.
CMAKE_DL_LIBS:STRING=

//Use HP pthreads.
CMAKE_HP_PTHREADS:BOOL=0

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make

//Flag used by CXX to build a shared library.
CMAKE_MODULE_BUILD_FLAGS:STRING=-bundle -flat_namespace -undefined suppress

//Flags used to link a shared library.
CMAKE_MODULE_LINK_FLAGS:STRING=

//Module library suffix.
CMAKE_MODULE_SUFFIX:STRING=.so

//Library randomizer program used on archive libraries.
CMAKE_RANLIB:FILEPATH=ranlib

//Flag used by CXX to build a shared library.
CMAKE_SHLIB_BUILD_FLAGS:STRING=-dynamiclib

//Flag used for building shared library objects.
CMAKE_SHLIB_CFLAGS:STRING=

//Libraries used by LD for shared libraries.
CMAKE_SHLIB_LD_LIBS:STRING=

//Flags used to link a shared library.
CMAKE_SHLIB_LINK_FLAGS:STRING=

//Flag used to specify run-time search paths.
CMAKE_SHLIB_RUNTIME_FLAG:STRING=

//If null, each runtime path is a separate option. Otherwise, they
// are all joined, separated by this.
CMAKE_SHLIB_RUNTIME_SEP:STRING=:

//Shared library suffix.
CMAKE_SHLIB_SUFFIX:STRING=.dylib

//If set, runtime paths are not added when using shared libraries.
//
CMAKE_SKIP_RPATH:BOOL=NO

//CXX template flags used by compiler.
CMAKE_TEMPLATE_FLAGS:STRING=

//Thread library used.
CMAKE_THREAD_LIBS:STRING=-lpthread

//Use the pthreads library.
CMAKE_USE_PTHREADS:BOOL=1

//Use sproc libs.
CMAKE_USE_SPROC:BOOL=0

//The system uses big endian byte ordering.
CMAKE_WORDS_BIGENDIAN:BOOL=1

//X11 extra flags.
CMAKE_X_CFLAGS:STRING=

//Libraries and options used in X11 programs.
CMAKE_X_LIBS:STRING='  -lX11 -lXext '

//If you have Dart installed, where is it located?
DART_ROOT:PATH=NOTFOUND

//Single output directory for building all executables.
EXECUTABLE_OUTPUT_PATH:PATH=/usr/local/vtk/bin

//Build FTGL examples (warning: you need Glut)
FTGL_BUILD_EXAMPLES:BOOL=OFF

//Single output directory for building all libraries.
LIBRARY_OUTPUT_PATH:PATH=/usr/local/vtk/bin

//What is the path where the file GL/gl.h can be found
OPENGL_INCLUDE_DIR:PATH=NOTFOUND

//OpenGL lib for OSX
OPENGL_LIBRARIES:STRING=-framework AGL -framework OpenGL

//OpenGL lib for OSX (for CMake 1.4)
OPENGL_LIBRARY:STRING=-framework AGL -framework OpenGL

//Where can one of the MesaGL or GL libraries be found
OPENGL_gl_LIBRARY:FILEPATH=NOTFOUND

//Where can one of the MesaGLU or GLU libraries be found
OPENGL_glu_LIBRARY:FILEPATH=NOTFOUND

//What is the path where the file GL/xmesa.h can be found
OPENGL_xmesa_INCLUDE_DIR:PATH=NOTFOUND

//Value Computed by CMake
VTKEXPAT_BINARY_DIR:STATIC=/usr/local/vtk/Utilities/expat

//Value Computed by CMake
VTKEXPAT_SOURCE_DIR:STATIC=/usr/src/VTK/Utilities/expat

//Value Computed by CMake
VTKFREETYPE_BINARY_DIR:STATIC=/usr/local/vtk/Utilities/freetype

//Value Computed by CMake
VTKFREETYPE_SOURCE_DIR:STATIC=/usr/src/VTK/Utilities/freetype

//Value Computed by CMake
VTKFTGL_BINARY_DIR:STATIC=/usr/local/vtk/Utilities/ftgl

//Value Computed by CMake
VTKFTGL_SOURCE_DIR:STATIC=/usr/src/VTK/Utilities/ftgl

//Value Computed by CMake
VTKJPEG_BINARY_DIR:STATIC=/usr/local/vtk/Utilities/jpeg

//Value Computed by CMake
VTKJPEG_SOURCE_DIR:STATIC=/usr/src/VTK/Utilities/jpeg

//Value Computed by CMake
VTKPNG_BINARY_DIR:STATIC=/usr/local/vtk/Utilities/png

//Value Computed by CMake
VTKPNG_SOURCE_DIR:STATIC=/usr/src/VTK/Utilities/png

//Value Computed by CMake
VTKTIFF_BINARY_DIR:STATIC=/usr/local/vtk/Utilities/tiff

//Value Computed by CMake
VTKTIFF_SOURCE_DIR:STATIC=/usr/src/VTK/Utilities/tiff

//Value Computed by CMake
VTKZLIB_BINARY_DIR:STATIC=/usr/local/vtk/Utilities/zlib

//Value Computed by CMake
VTKZLIB_SOURCE_DIR:STATIC=/usr/src/VTK/Utilities/zlib

//Value Computed by CMake
VTK_BINARY_DIR:STATIC=/usr/local/vtk

//What is the path where the file VTKData.readme can be found
VTK_DATA_ROOT:PATH=/usr/local/VTKData

//Build leak checking support into vtk.
VTK_DEBUG_LEAKS:BOOL=OFF

//Use mangled Mesa with OpenGL
VTK_MANGLE_MESA:BOOL=OFF

//The opengl library being used supports off screen Mesa calls.
//
VTK_OPENGL_HAS_OSMESA:BOOL=OFF

//Value Computed by CMake
VTK_SOURCE_DIR:STATIC=/usr/src/VTK

//Build VTK with 64 bit ids
VTK_USE_64BIT_IDS:BOOL=OFF

//Use the ANSI standard iostream library
VTK_USE_ANSI_STDLIB:BOOL=OFF

//Build classes using Carbon API
VTK_USE_CARBON:BOOL=ON

//Build classes using Cocoa API - Can only use one of these!
VTK_USE_COCOA:BOOL=OFF

//Build VTK with Freetype support)
VTK_USE_FREETYPE:BOOL=ON

//Build the hybrid directory classes
VTK_USE_HYBRID:BOOL=ON

//use MPI (Message Passing Interface) library for parallel support
//
VTK_USE_MPI:BOOL=OFF

//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

//Build the rendering classes used for displaying
VTK_USE_RENDERING:BOOL=ON

//Build VTK with volume pro support
VTK_USE_VOLUMEPRO:BOOL=OFF

//wrap classes into the Java language
VTK_WRAP_JAVA:BOOL=OFF

//wrap classes into the Python interpreted language
VTK_WRAP_PYTHON:BOOL=OFF

//wrap classes into the TCL intepreted language
VTK_WRAP_TCL:BOOL=OFF

//Dependencies for the target
vtkCommon_LIB_DEPENDS:STATIC=-lpthread;-lm;

//Dependencies for the target
vtkFiltering_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkCommon;

//Dependencies for the target
vtkGraphics_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkFiltering;

//Dependencies for the target
vtkHybrid_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkRendering;vtkIO;

//Dependencies for the target
vtkIO_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkFiltering;vtkpng;vtkzlib;vtkjpeg;v
tktiff;vtkexpat;

//Dependencies for the target
vtkImaging_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkFiltering;

//Dependencies for the target
vtkParallel_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkRendering;vtkIO;

//Dependencies for the target
vtkPatented_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkImaging;vtkGraphics;vtkIO;

//Dependencies for the target
vtkRendering_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkGraphics;vtkImaging;-framew
ork AGL -framework OpenGL;vtkftgl;vtkfreetype;

//Dependencies for the target
vtkexpat_LIB_DEPENDS:STATIC=-lpthread;-lm;

//Dependencies for the target
vtkfreetype_LIB_DEPENDS:STATIC=-lpthread;-lm;

//Dependencies for the target
vtkftgl_LIB_DEPENDS:STATIC=-lpthread;-lm;-framework AGL -framework
OpenGL;vtkfreetype;

//Dependencies for the target
vtkjpeg_LIB_DEPENDS:STATIC=-lpthread;-lm;

//Dependencies for the target
vtkpng_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkzlib;

//Dependencies for the target
vtktiff_LIB_DEPENDS:STATIC=-lpthread;-lm;vtkzlib;vtkjpeg;

//Dependencies for the target
vtkzlib_LIB_DEPENDS:STATIC=-lpthread;-lm;


########################
# INTERNAL cache entries
########################

//What flags are required by the c++ compiler to make it ansi.
CMAKE_ANSI_CFLAGS:INTERNAL=
//What flags are required by the c++ compiler to make it ansi.
CMAKE_ANSI_CXXFLAGS:INTERNAL=
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=make
//This is the directory where this CMakeCahe.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/usr/local/vtk
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=1
//Minor version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MINOR_VERSION:INTERNAL=5
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/local/bin/cmake
//Is the compile GNU C++.
CMAKE_COMPILER_IS_GNUCXX:INTERNAL=1
//shared link flags for cc
CMAKE_C_SHLIB_LINK_FLAGS:INTERNAL=
//runtime directory flag for cc
CMAKE_C_SHLIB_RUNTIME_FLAG:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Is X11 around.
CMAKE_HAS_X:INTERNAL=0
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/usr/src/VTK
//Does the compiler support ansi for scoping.
CMAKE_NO_ANSI_FOR_SCOPE:INTERNAL=
//Does the compiler support headers like iostream.
CMAKE_NO_ANSI_STREAM_HEADERS:INTERNAL=0
//Does the compiler support the ansi stringstream class.
CMAKE_NO_ANSI_STRING_STREAM:INTERNAL=
//Does the compiler not support explicit template instantiation.
//
CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION:INTERNAL=1
//Does the compiler support std::.
CMAKE_NO_STD_NAMESPACE:INTERNAL=
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/local/share/CMake
//Size of char data type
CMAKE_SIZEOF_CHAR:INTERNAL=1
//Size of double data type
CMAKE_SIZEOF_DOUBLE:INTERNAL=8
//Size of float data type
CMAKE_SIZEOF_FLOAT:INTERNAL=4
//Size of int data type
CMAKE_SIZEOF_INT:INTERNAL=4
//Size of long data type
CMAKE_SIZEOF_LONG:INTERNAL=4
//Size of short data type
CMAKE_SIZEOF_SHORT:INTERNAL=2
//Size of void* data type
CMAKE_SIZEOF_VOID_P:INTERNAL=4
//What system is this.  Result of uname.
CMAKE_SYSTEM:INTERNAL=Darwin-6.1
//Path to an executable
CommonCxxTests_CMAKE_PATH:INTERNAL=/usr/local/vtk/Common/Testing/Cxx
//Path to an executable
FilteringCxxTests_CMAKE_PATH:INTERNAL=/usr/local/vtk/Filtering/Testing/Cxx
//Path to an executable
GenericCommunicator_CMAKE_PATH:INTERNAL=/usr/local/vtk/Parallel/Testing/Cxx
//Path to an executable
GraphicsCxxTests_CMAKE_PATH:INTERNAL=/usr/local/vtk/Graphics/Testing/Cxx
//Path to an executable
HybridCxxTests_CMAKE_PATH:INTERNAL=/usr/local/vtk/Hybrid/Testing/Cxx
//Path to an executable
IOCxxTests_CMAKE_PATH:INTERNAL=/usr/local/vtk/IO/Testing/Cxx
//Path to an executable
ImagingCxxTests_CMAKE_PATH:INTERNAL=/usr/local/vtk/Imaging/Testing/Cxx
//Path to an executable
ParallelIsoTest_CMAKE_PATH:INTERNAL=/usr/local/vtk/Parallel/Testing/Cxx
//Path to an executable
ParallelIso_CMAKE_PATH:INTERNAL=/usr/local/vtk/Examples/ParallelProcessing/G
eneric/Cxx
//Path to an executable
PipelineParallelism_CMAKE_PATH:INTERNAL=/usr/local/vtk/Examples/ParallelProc
essing/Generic/Cxx
//Path to an executable
RenderingCxxTests_CMAKE_PATH:INTERNAL=/usr/local/vtk/Rendering/Testing/Cxx
//Path to an executable
SocketClient_CMAKE_PATH:INTERNAL=/usr/local/vtk/Parallel/Testing/Cxx
//Path to an executable
SocketServer_CMAKE_PATH:INTERNAL=/usr/local/vtk/Parallel/Testing/Cxx
//Path to an executable
TaskParallelismWithPorts_CMAKE_PATH:INTERNAL=/usr/local/vtk/Examples/Paralle
lProcessing/Generic/Cxx
//Path to an executable
TaskParallelism_CMAKE_PATH:INTERNAL=/usr/local/vtk/Examples/ParallelProcessi
ng/Generic/Cxx
//Path to an executable
TestCxxFeatures_CMAKE_PATH:INTERNAL=/usr/local/vtk/Common/Testing/Cxx
//Path to an executable
TestInstantiator_CMAKE_PATH:INTERNAL=/usr/local/vtk/Common/Testing/Cxx
//Path to an executable
ThreadedCommunicator_CMAKE_PATH:INTERNAL=/usr/local/vtk/Parallel/Testing/Cxx
//Path to an executable
TimeRenderer2_CMAKE_PATH:INTERNAL=/usr/local/vtk/Rendering/Testing/Cxx
//Path to an executable
TimeRenderer_CMAKE_PATH:INTERNAL=/usr/local/vtk/Rendering/Testing/Cxx
//Is this VTK built with shared libraries.
VTK_BUILD_SHARED_LIBS:INTERNAL=ON
//Where VTK executables are. Used by projects which depend on VTK.
// Do not remove.
VTK_EXECUTABLE_PATH:INTERNAL=/usr/local/vtk/bin
//Where VTK libraries are. Used by projects which depend on VTK.
// Do not remove.
VTK_LIBRARY_PATH:INTERNAL=/usr/local/vtk/bin
//Path to an executable
mkg3states_CMAKE_PATH:INTERNAL=/usr/local/vtk/Utilities/tiff
//Path to a library
vtkCommon_CMAKE_PATH:INTERNAL=/usr/local/vtk/Common
//Whether a library is static, shared or module.
vtkCommon_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkFiltering_CMAKE_PATH:INTERNAL=/usr/local/vtk/Filtering
//Whether a library is static, shared or module.
vtkFiltering_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkGraphics_CMAKE_PATH:INTERNAL=/usr/local/vtk/Graphics
//Whether a library is static, shared or module.
vtkGraphics_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkHybrid_CMAKE_PATH:INTERNAL=/usr/local/vtk/Hybrid
//Whether a library is static, shared or module.
vtkHybrid_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkIO_CMAKE_PATH:INTERNAL=/usr/local/vtk/IO
//Whether a library is static, shared or module.
vtkIO_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkImaging_CMAKE_PATH:INTERNAL=/usr/local/vtk/Imaging
//Whether a library is static, shared or module.
vtkImaging_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkParallel_CMAKE_PATH:INTERNAL=/usr/local/vtk/Parallel
//Whether a library is static, shared or module.
vtkParallel_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkPatented_CMAKE_PATH:INTERNAL=/usr/local/vtk/Patented
//Whether a library is static, shared or module.
vtkPatented_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkRendering_CMAKE_PATH:INTERNAL=/usr/local/vtk/Rendering
//Whether a library is static, shared or module.
vtkRendering_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkexpat_CMAKE_PATH:INTERNAL=/usr/local/vtk/Utilities/expat
//Whether a library is static, shared or module.
vtkexpat_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkfreetype_CMAKE_PATH:INTERNAL=/usr/local/vtk/Utilities/freetype
//Whether a library is static, shared or module.
vtkfreetype_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkftgl_CMAKE_PATH:INTERNAL=/usr/local/vtk/Utilities/ftgl
//Whether a library is static, shared or module.
vtkftgl_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkjpeg_CMAKE_PATH:INTERNAL=/usr/local/vtk/Utilities/jpeg
//Whether a library is static, shared or module.
vtkjpeg_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkpng_CMAKE_PATH:INTERNAL=/usr/local/vtk/Utilities/png
//Whether a library is static, shared or module.
vtkpng_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtktiff_CMAKE_PATH:INTERNAL=/usr/local/vtk/Utilities/tiff
//Whether a library is static, shared or module.
vtktiff_LIBRARY_TYPE:INTERNAL=SHARED
//Path to a library
vtkzlib_CMAKE_PATH:INTERNAL=/usr/local/vtk/Utilities/zlib
//Whether a library is static, shared or module.
vtkzlib_LIBRARY_TYPE:INTERNAL=SHARED

 




More information about the vtkusers mailing list