automatically open .sh3d file on a Mac
This topic has been viewed 13115 times and has 27 replies
Re: automatically open .sh3d file on a Mac
When I install the version of Zulu 15.0.10, it installs in the folder Library/Java/JavaVirtualMachines/zulu-15.jdk/Contents/Home
In build xml: I notice 2 differents paths depending on the architecture :
value="/Library/Java/JavaVirtualMachines/zulu-15.0.10-macosx_x86_64.jdk/Contents/Home"/>
and
<property name="javaHome_macosx_arm64" value="/Library/Java/JavaVirtualMachines/zulu-15.0.10-macosx_aarch64.jdk/Contents/Home"/>
I do not see how to obtain these two different folders..
So, Im a bit embarassed, because I do not have the dylib for the arm version.
In build xml: I notice 2 differents paths depending on the architecture :
value="/Library/Java/JavaVirtualMachines/zulu-15.0.10-macosx_x86_64.jdk/Contents/Home"/>
and
<property name="javaHome_macosx_arm64" value="/Library/Java/JavaVirtualMachines/zulu-15.0.10-macosx_aarch64.jdk/Contents/Home"/>
I do not see how to obtain these two different folders..
So, Im a bit embarassed, because I do not have the dylib for the arm version.
Re: automatically open .sh3d file on a Mac
[font=courier new]zulu-15.0.10-macosx_x86_64.jdk[/font] and [font=courier new]zulu-15.0.10-macosx_aarch64.jdk[/font] folders are just renamed folders. As the build procedure needs both x86-64 and arm JDKs, I had to rename [font=courier new]zulu-15.jdk[/font] folder.
By the way, take the [font=courier new]zulu-15.jdk[/font] folder found in Zulu tar.gz files at Azul, not dmg files.
By the way, take the [font=courier new]zulu-15.jdk[/font] folder found in Zulu tar.gz files at Azul, not dmg files.
Emmanuel Puybaret, Sweet Home 3D creator
Re: automatically open .sh3d file on a Mac
I would never have found this on my own 
Re: automatically open .sh3d file on a Mac
Just a quick question, to build the dmg/app of SW for macos 13, I have to use : ant macosxInstaller
Is that correct ?
Is that correct ?
Re: automatically open .sh3d file on a Mac
It's noted in build.xml here but it could be more detailed...I would never have found this on my own
macosxInstaller target will build a dmg but it won't be signed and can't be notarized, i.e. end users who download it will be able to run the application it contains only if they right click on it to select Open item in contextual menu. It's required only the fist time, and afterwards a simple double click will launch the program.to build the dmg/app of SW for macos 13, I have to use : ant macosxInstaller
Is that correct ?
Note that if you encounter an error "hdiutil: create failed- Permission denied" at the end, add the line:
Code: Select all
<arg value="-L"/>Emmanuel Puybaret, Sweet Home 3D creator
Re: automatically open .sh3d file on a Mac
Thks,
Yes, sometimes I randomly have strange folder errors like this.
Generally, I write: sudo ant macosxInstaller and it works
Yes, sometimes I randomly have strange folder errors like this.
Generally, I write: sudo ant macosxInstaller and it works
Re: automatically open .sh3d file on a Mac
Hi,
I have created an .app working fine for intel Mac but not in M1/M2 OS.
First, I would want to know if I have to rebuild the app on an M1 Mac in order to make it works ?
Second, I take a look at the folder : \lib\java3d-1.6 and I see only one dylib file. Is it compatible with both Intel and M1/M2 chipsets ?
Thx for help.
I have created an .app working fine for intel Mac but not in M1/M2 OS.
First, I would want to know if I have to rebuild the app on an M1 Mac in order to make it works ?
Second, I take a look at the folder : \lib\java3d-1.6 and I see only one dylib file. Is it compatible with both Intel and M1/M2 chipsets ?
Thx for help.
Re: automatically open .sh3d file on a Mac
dylib files coming with the current version of Sweet Home 3D are universal libraries containing binary code for Intel 64 bit and ARM processors. Are you sure you use the last version of these dylibs? Does your build.xml file builds a universal JRE like Sweet Home 3D does?
Emmanuel Puybaret, Sweet Home 3D creator
Re: automatically open .sh3d file on a Mac
Hi
I work with the 7.1 version and I use the official build.xml of the repository.
Does this version normally works with M1/M2 ?
Is it better to upgrade it with the files of the 7.2 ? (libgluegen_rt / libjogl_desktop / libnativewindow_awt / libnativewindow_macosx)
I notice that you also update these files in 7.2 : gluegen-rt.jar / jogl-all.jar
Is it also a good idea to update them in my version ?
I work with the 7.1 version and I use the official build.xml of the repository.
Does this version normally works with M1/M2 ?
Is it better to upgrade it with the files of the 7.2 ? (libgluegen_rt / libjogl_desktop / libnativewindow_awt / libnativewindow_macosx)
I notice that you also update these files in 7.2 : gluegen-rt.jar / jogl-all.jar
Is it also a good idea to update them in my version ?
Re: automatically open .sh3d file on a Mac
Apple Mx processors have been supported since version 6.5.Does this version normally works with M1/M2 ?
Yes, you should better upgrade to JOGL 2.5 (dylib and jar files).Is it better to upgrade it with the files of the 7.2 ?
Emmanuel Puybaret, Sweet Home 3D creator
Who is online
Users browsing this forum: No registered users and 1 guest