How to make .app with dynamic lib. ?

Mac OSX specific forum
dibor
Enthusiast
Enthusiast
Posts: 160
Joined: Wed May 20, 2020 5:19 pm
Location: The 3rd planet in the Solar System
Contact:

Re: How to make .app with dynamic lib. ?

Post by dibor »

Hi
Have add MyAppData folder inside my project folder and inside it Library and Resources folders.
dylib copied to the Library folder.
Now WORKS!!

Why process is too HARD and complicated :(

BIG thanks for the HELP!
Mac Studio M1Max, PB 6.12 Arm64 and x64.
Macbook Air M2, PB 6.12 Arm64 and x64.
Windows 10, PB 6.12 x64 and x86.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: How to make .app with dynamic lib. ?

Post by mk-soft »

It's just different for each OS how you have to deliver files.
With macOS, an APP is always a folder. I don't find that bad, because you can always put all the files that belong to the app in it.

Once you understand it, it's not so hard anymore.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
dibor
Enthusiast
Enthusiast
Posts: 160
Joined: Wed May 20, 2020 5:19 pm
Location: The 3rd planet in the Solar System
Contact:

Re: How to make .app with dynamic lib. ?

Post by dibor »

Why compiler do not do that?
Why needs additional tools for that?
If compiler for the MacOS, so compiler should make application structure.

Best Wishes.
Mac Studio M1Max, PB 6.12 Arm64 and x64.
Macbook Air M2, PB 6.12 Arm64 and x64.
Windows 10, PB 6.12 x64 and x86.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: How to make .app with dynamic lib. ?

Post by mk-soft »

It is only macOS specific and difficult for the compiler to distinguish what should or should not be in the APP folder. In addition, the compiler has to adjust the target path for resources especially for macOS. This is more of a guess.
So it is better to work with your own tools in the IDE. That is what it is intended for.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply