Skip to content

Conversation

@ShadowTheLegendary
Copy link

Added information about linking static SFML libraries and their dependencies.

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.
Copy link
Contributor

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?

Copy link
Author

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.
Copy link
Contributor

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

Copy link
Contributor

@JonnyPtn JonnyPtn left a 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants