Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more precise information about library paths #9572

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

paddy-exe
Copy link
Contributor

Continuation of #9569

I looked at various application on my Mac and found that all are loaded into some folder named with Frameworks inside the Contens directory so the structure would be Game.app/Contents/Frameworks/libexample.dylib

Here XCode as example:
image

I added the explanation that when no path is supplied, the libraries will be moved to the same directory as the game executable.
For Windows at least the libraries are usually located in the same directory but not sure about Linux.

@paddy-exe paddy-exe added enhancement area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.0 cherrypick:4.1 cherrypick:4.2 labels Jul 2, 2024
@paddy-exe paddy-exe requested a review from dsnopek July 2, 2024 19:07
Copy link
Contributor

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I'm not entirely sure about the MacOS information, but otherwise, this looks great to me :-)

Comment on lines 155 to 156
like this: ``Game.app/Contents/Frameworks``. As long as the libraries are located inside the ``Contents`` directory
Godot will be able to load them into your game executable.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure that the libraries can be anywhere under Contents? Or, do they need to be in exactly Contents/Frameworks? I'm not familiar enough with MacOS.

Copy link
Contributor Author

@paddy-exe paddy-exe Jul 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm seems like I was wrong... will remove that sentence... my apologies. You were correct that they need to be inside a Frameworks folder to work

@paddy-exe
Copy link
Contributor Author

Updated with correct information that the libraries must be inside the Frameworks folder. Thanks @dsnopek for the feedback!

@mhilbrunner mhilbrunner merged commit 14f7c10 into godotengine:master Jul 3, 2024
1 check passed
@mhilbrunner
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.0 cherrypick:4.1 cherrypick:4.2 enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants