[vtkusers] Build/installation problem of VTK on Mac OSX High Sierra(10.13.5)

Tatsunidas choko1201 at gmail.com
Thu Jun 28 05:20:21 EDT 2018


Dear, the VTK (java wrapper) running on MacOSX users,

Thank you for reading this  message.
I'm Jpanese. My english is odd, sorry.

I have get following error,

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=744, tid=0x000000000001392b
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build
1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode
bsd-amd64 compressed oops)
# Problematic frame:
# C  0x0000000000000000
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/tatsunidas/Documents/I2WI/VTK/hs_err_pid744.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

My environment are,

iMac (27-inch, Mid 2010)
2.8 GHz Intel Core i5
12 GB 1333 MHz DDR3
ATI Radeon HD 5750 1024 MB
Java SE 8 131(64-bit)

using,

Cmake 3.7.1
GCC Defalut compilar(4.2.1)

My procedure are,

Download VTK-9.0 from git
create blank "build" dir
run Cmake,
set src to VTK src
set build to "build" dir

then "configure"

and...

Add Entry CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
Add Entry CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE
Add Entry CMAKE_INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib
CMAKE_BUILD_TYPE Release

Checked Java wrappers, then "configure"

and

set to some JDK's paths(to related to JDK 8_131),
change 1.6 to 1.8
check JOGL

then "configure"

set jogl-all.jar and gluegen-rt.jar for JOGL path,

then "configure"

Uncheck related TEST, EXAMPLE

then "configure" and Generate.

cd build
make
make install

Build and Install process are nothing with problem.

Then,

Run Eclipse oxygen (.3a),
add external Jars(vtk.jar and joglamp's jar)
Create my project and copy sample(SimpleVTK.java),
vtkRender replace vtkJoglPanelComponent class
run

get error

If you know that how to fix it,
please tell me.

Thank you.

Tatsuaki

-- 
==========================================
Tatsuaki KOBAYASHI
e-mail:choko1201 at gmail.com
TEL:080-1274-6433
Good Luck
==========================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180628/a0c0c1a6/attachment.html>


More information about the vtkusers mailing list