[11 Apr 2011] MacOS Binary
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 11 Apr 2011 13:33:13 +0200 (CEST)
I tried to compile a MacOS binary. However, I don't know where to put the directories/files that have to be dynamically loaded during the runtime of my hollywood application.
I have four directories:
and the hollywood application itself:
When compiling "hwapp" to a mac binary, you get the follwoing filesystem layout:
However, when i copy the entire <path-to-project-dir> to a MacOS machine and execute the "hwapp" binary, then I get error messages like: "Cannot open font fonts/cmunss.otf with size 30"
So, where do I have to store my directories like "fonts", "pics", etc, such that MacOS can find them in a relative path from whereever it defines its working directory?
I have no clue about MacOS, so please be as specific as possible in your response
Thanks, Tom
I tried to compile a MacOS binary. However, I don't know where to put the directories/files that have to be dynamically loaded during the runtime of my hollywood application.
I have four directories:
Code: Select all
<path-to-project-dir>/
-->fonts/
-->pics/
-->init/
-->data/
Code: Select all
<path-to-project-dir>/
-->hwapp
Code: Select all
<path-to-project-dir>/
-->hwapp.app/
-->-->Contents/
-->-->-->Info.plist
-->-->-->MacOS/
-->-->-->-->hwapp
-->-->-->Resources/
-->-->-->-->hwapp.icns
So, where do I have to store my directories like "fonts", "pics", etc, such that MacOS can find them in a relative path from whereever it defines its working directory?
I have no clue about MacOS, so please be as specific as possible in your response
Thanks, Tom