<p dir="ltr">Yes, that was the issue, and removing them from /usr/local/include works fine. Thanks, and sorry about any inconvenience. </p>
<div class="gmail_quote">On 26 Sep 2014 23:49, "James Cowgill" <<a href="mailto:james410@cowgill.org.uk">james410@cowgill.org.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: tags -1 moreinfo unreproducible<br>
<br>
Hi Alex,<br>
<br>
On Fri, 2014-09-26 at 22:46 +0100, Alex Kerr wrote:<br>
> While trying to package a game I made using this library, I found compilation<br>
> would not succeed with errors about an undefined reference to certain<br>
> functions. I had previously been compiling with the most recent version of the<br>
> library pulled from upstream (<a href="https://github.com/LaurentGomila/SFML" target="_blank">https://github.com/LaurentGomila/SFML</a>), which<br>
> worked fine. I made some sample code to see if it was just my program:<br>
<br>
Your test case compiles fine for me.<br>
<br>
It looks to me like you're using *upstream headers* with libraries from<br>
2.1 (which won't work). Do you have anything SFML related<br>
in /usr/local/include?<br>
<br>
This is the commit where upstream changed the declaration of sf::Window::setSize:<br>
 <a href="https://github.com/LaurentGomila/SFML/commit/fe12270d62b94931834b7605136ea6c9f951d9fc" target="_blank">https://github.com/LaurentGomila/SFML/commit/fe12270d62b94931834b7605136ea6c9f951d9fc</a><br>
<br>
James<br>
<br>
<br>
</blockquote></div>