Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 28
Posts: 28   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3401 times and has 27 replies Next Thread
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Oct 11, 2023, 12:19:41 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9183
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[Oct 11, 2023, 6:55:41 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
Re: automatically open .sh3d file on a Mac

I would never have found this on my own :)
[Oct 12, 2023, 12:00:57 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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 ?
[Oct 12, 2023, 12:02:05 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9183
Status: Offline
Reply to this Post  Reply with Quote 
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
Is that correct ?
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.

Note that if you encounter an error "hdiutil: create failed- Permission denied" at the end, add the line:
<arg value="-L"/>
in the statement which copies legal files to copy files matching symlinks, or use XCode 12 tools.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Oct 12, 2023, 11:05:02 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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 :)
[Oct 12, 2023, 1:30:46 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Nov 22, 2023, 11:54:42 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9183
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[Nov 22, 2023, 2:07:46 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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 ?
[Nov 24, 2023, 1:40:49 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9183
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[Nov 24, 2023, 9:05:36 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 28   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved