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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Tatsunidas
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
TEL:080-1274-6433
Good Luck
==========================================

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Build/installation problem of VTK on Mac OSX High Sierra(10.13.5)

Sebastien Jourdain-2
I'm not sure to see what you mean here

> vtkRender replace vtkJoglPanelComponent class

Otherwise you can find some information on how to build VTK with Java here:

Hope that helps,

Seb

On Thu, Jun 28, 2018 at 3:20 AM Tatsunidas <[hidden email]> wrote:
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
TEL:080-1274-6433
Good Luck
==========================================
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Build/installation problem of VTK on Mac OSX High Sierra(10.13.5)

Tatsunidas
Dear, Mr Sebastien,

Thank you for your kind.
Sorry to my response delay.

I tried to install these jogl related jars through this readme file,
but, still I get same error.
I have attempt an error text.

My windows10, working well with VTK-9.0 without errors.
But macOS is not. ...very sad.

> vtkRender

This is my typo. I would be type tvkPanel.
This purpose that avoid a "Cocoa AWT: Not running on AppKit thread 0 when expected' error.

Thanks.

Tatsuaki



2018-06-28 23:17 GMT+09:00 Sebastien Jourdain <[hidden email]>:
I'm not sure to see what you mean here

> vtkRender replace vtkJoglPanelComponent class

Otherwise you can find some information on how to build VTK with Java here:

Hope that helps,

Seb

On Thu, Jun 28, 2018 at 3:20 AM Tatsunidas <[hidden email]> wrote:
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
TEL:080-1274-6433
Good Luck
==========================================
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers



--
==========================================
Tatsuaki KOBAYASHI
TEL:080-1274-6433
Good Luck
==========================================

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers

hs_err_pid59581.log (82K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Build/installation problem of VTK on Mac OSX High Sierra(10.13.5)

Sebastien Jourdain-2
vtkPanel does not work in OS X

On Fri, Jun 29, 2018 at 8:32 AM Tatsunidas <[hidden email]> wrote:
Dear, Mr Sebastien,

Thank you for your kind.
Sorry to my response delay.

I tried to install these jogl related jars through this readme file,
but, still I get same error.
I have attempt an error text.

My windows10, working well with VTK-9.0 without errors.
But macOS is not. ...very sad.

> vtkRender

This is my typo. I would be type tvkPanel.
This purpose that avoid a "Cocoa AWT: Not running on AppKit thread 0 when expected' error.

Thanks.

Tatsuaki



2018-06-28 23:17 GMT+09:00 Sebastien Jourdain <[hidden email]>:
I'm not sure to see what you mean here

> vtkRender replace vtkJoglPanelComponent class

Otherwise you can find some information on how to build VTK with Java here:

Hope that helps,

Seb

On Thu, Jun 28, 2018 at 3:20 AM Tatsunidas <[hidden email]> wrote:
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
TEL:080-1274-6433
Good Luck
==========================================
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers



--
==========================================
Tatsuaki KOBAYASHI
TEL:080-1274-6433
Good Luck
==========================================

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers