Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - guglielmo.boi

Pages: [1]
1
General / Re: SFML linking libraries to CodeBlocks statically
« on: April 24, 2019, 02:56:41 pm »
Ah, that's because sfml-system-s needs to be after the other SFML libraries, as all SFML libraries depend on sfml-system. That's also why it's listed for every library in the tutorial. You should only copy a library once from that list, but keep the relative order as in the list.

The rule of thumb for linking order is: If library X depends on library Y, then X must come before Y.

It worked, thank you  :D

2
General / Re: SFML linking libraries to CodeBlocks statically
« on: April 24, 2019, 01:03:23 pm »
Code::Blocks actually helped you, because you should only ever link once to a library, otherwise you'd end up with multiple definitions of the same symbols. ;)
Well, the problem is sfml works only in the first case, while in the second case it gives me some problems about the audio library, which seem non correctly linked.

3
General / SFML linking libraries to CodeBlocks statically
« on: April 24, 2019, 12:24:36 pm »
Hi, I tried to link the sfml libraries statically to codeblocks following the tutorial; it all went perfect, all the libraries worked. Then, after closing and rebulding the project, I noticed codeblocks deleted the linking to the Dependencies that appeared two or more times. Such as 'sfml-system-s'.
How can I solve this problem?

Pages: [1]
anything