-
Notifications
You must be signed in to change notification settings - Fork 44
Document static SFML library linking and dependencies #269
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
base: master
Are you sure you want to change the base?
Document static SFML library linking and dependencies #269
Conversation
Added information about linking static SFML libraries and their dependencies.
Added note about the beginner-hostile workflow and the need to define SFML_STATIC macro.
|
|
||
| !!! note | ||
|
|
||
| This is a very beginner-hostile workflow and not the recommended way to start learning SFML. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment seems unnecessary - what's particularly hostile about it for beginners?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk, the people on discord called it beginer hostile
| | sfml-network-s |<ol><li>sfml-system-s</li></ol>| | ||
| | sfml-audio-s |<ol><li>sfml-system-s<li>FLAC<li>vorbisenc<li>vorbisfile<li>vorbis<li>ogg</li></ol>| | ||
|
|
||
| Example with sfml-window and sfml-system. You will also need to define SFML_STATIC as a macro either in the script or in the compiler flags. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SFML_STATIC is not necessary on linux
JonnyPtn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to warn beginners against static linking, and SFML_STATIC define is also not required for linux
Removed note about beginner-hostile workflow and clarified example.
Added information about linking static SFML libraries and their dependencies.