Login  Register

Re: Min version macOS

Posted by Manu on Feb 21, 2023; 4:29pm
URL: https://forum.jogamp.org/Min-version-macOS-tp4042193p4042204.html

Hello,

I don't want to throw away my old MacBook Pro that I can't upgrade to Catalina and would prefer not to force people to jump to macOS 11.
Therefore, I just tried to rebuild Gluegen and JOGL after replacing
mmacosx-version-min=11.0
by
mmacosx-version-min=10.5
in gluegen/make/gluegen-cpptasks-base.xml

Gluegen was built without issues but the linker refused to build JOGL because of the following error
Undefined symbols for architecture x86_64: 
  "__Unwind_Resume",referenced from:
      _updateContextRegister in MacOSXWindowSystemInterface.o
which comes from the new call to dispatch_sync in the function updateContextRegister of MacOSXWindowSystemInterface.m programmed in this commit.

Maybe someone here knows how to replace dispatch_sync by something which would perform the same thing? Or maybe call it by reflection if it's necessary in recent macOS versions?

mottelet wrote
Are the 2.4.0-rc-20210111 files available somewhere ?
The version 2.4.0-rc-20210111 of gluegen-rt.jar, jogl-all.jar and gluegen / jogl DLLs built for Windows, Linux and macOS x86_64/arm64 are available at:
https://sourceforge.net/p/sweethome3d/code/HEAD/tree/tags/V_7_0_2/SweetHome3D/lib/java3d-1.6/
and the version 2.4.0-rc-20221118 of jogall.jar file which fixes a hanging issue under macOS explained here is available in:
https://www.sweethome3d.com/downloads/jogl-all-2.4.0-rc-20221118.zip
Emmanuel Puybaret