[vtkusers] terminate called after throwing an instance of 'std::bad_alloc'

David Cole david.cole at kitware.com
Tue Aug 26 13:16:26 EDT 2008


What cmake are you using?
(Output of 'cmake --version' / 'which cmake'...)


On Tue, Aug 26, 2008 at 1:14 PM, Axel Thimm <Axel.Thimm at atrpms.net> wrote:

> Hi,
>
> I'm packaging vtk for Fedora/RHEL. The upcoming Fedora 10 fails on
> vtk's build with:
>
> terminate called after throwing an instance of 'std::bad_alloc'
>  what():  std::bad_alloc
> /var/tmp/rpm-tmp.QfJ2sI: line 66: 27301 Aborted                 cmake .
> -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON
> -DBUILD_EXAMPLES:BOOL=ON -DBUILD_TESTING:BOOL=ON
> -DCMAKE_INSTALL_PREFIX:PATH=/builddir/VTK/tmpinstall
> -DVTK_INSTALL_BIN_DIR:PATH=/usr/bin
> -DVTK_INSTALL_INCLUDE_DIR:PATH=/usr/include/vtk
> -DVTK_INSTALL_LIB_DIR:PATH=/usr/lib64
> -DVTK_DATA_ROOT:PATH=/usr/share/vtkdata-5.0.4
> -DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic
> -DVTK_OPENGL_HAS_OSMESA:BOOL=ON -DVTK_WRAP_PYTHON:BOOL=ON
> -DVTK_WRAP_JAVA:BOOL=ON -DJAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include
> -DJAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java/include/linux
> -DJAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include
> -DVTK_WRAP_TCL:BOOL=ON -DVTK_USE_GL2PS:BOOL=ON -DVTK_USE_GUISUPPORT:BOOL=ON
> -DVTK_USE_PARALLEL:BOOL=ON -DVTK_USE_SYSTEM_EXPAT=ON
> -DVTK_USE_SYSTEM_FREETYPE=ON -DVTK_USE_SYSTEM_JPEG=ON
> -DVTK_USE_SYSTEM_PNG=ON -DVTK_USE_SYSTEM_TIFF=ON -DVTK_USE_SYSTEM_ZLIB=ON
> -DVTK_USE_QVTK=ON -DVTK_INSTALL_QT_DIR=/usr/lib64/qt-3.3/plugins/designer
>
> The build steps are the same ones as used on F8/F9/RHEL4/RHEL5, I
> guess the difference will be in newer gcc/glibc. Any idea on how to
> fix this? Thanks!
> --
> Axel.Thimm at ATrpms.net
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080826/489e1848/attachment.htm>


More information about the vtkusers mailing list