|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: automatically open .sh3d file on a Mac |
||
| Print at Jan 21, 2026, 7:52:23 AM |
|
|
| Posted by buzzz at Oct 11, 2023, 2:19:41 PM |
|
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. |
| Posted by Puybaret at Oct 11, 2023, 8:55:41 PM |
|
Re: automatically open .sh3d file on a Mac zulu-15.0.10-macosx_x86_64.jdk and zulu-15.0.10-macosx_aarch64.jdk folders are just renamed folders. As the build procedure needs both x86-64 and arm JDKs, I had to rename zulu-15.jdk folder. By the way, take the zulu-15.jdk folder found in Zulu tar.gz files at Azul, not dmg files. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by buzzz at Oct 12, 2023, 2:00:57 AM |
|
Re: automatically open .sh3d file on a Mac I would never have found this on my own :) |
| Posted by buzzz at Oct 12, 2023, 2:02:05 AM |
|
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 ? |
| Posted by Puybaret at Oct 12, 2023, 1:05:02 PM |
|
Re: automatically open .sh3d file on a Mac I would never have found this on my own :) It's noted in build.xml here but it could be more detailed...to build the dmg/app of SW for macos 13, I have to use : ant macosxInstaller 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.Is that correct ? Note that if you encounter an error "hdiutil: create failed- Permission denied" at the end, add the line: <arg value="-L"/>---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by buzzz at Oct 12, 2023, 3:30:46 PM |
|
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 :) |
| Posted by buzzz at Nov 22, 2023, 12:54:42 PM |
|
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. |
| Posted by Puybaret at Nov 22, 2023, 3:07:46 PM |
|
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 |
| Posted by buzzz at Nov 24, 2023, 2:40:49 AM |
|
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 ? |
| Posted by Puybaret at Nov 24, 2023, 10:05:36 AM |
|
Re: automatically open .sh3d file on a Mac Does this version normally works with M1/M2 ? Apple Mx processors have been supported since version 6.5.Is it better to upgrade it with the files of the 7.2 ? Yes, you should better upgrade to JOGL 2.5 (dylib and jar files).---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
|
Current timezone is GMT Jan 21, 2026, 7:52:23 AM |