Bug#762997: libsfml-dev: Fails to compile with undefined reference errors

Alex Kerr kirbyman62 at gmail.com
Fri Sep 26 22:58:06 UTC 2014


Yes, that was the issue, and removing them from /usr/local/include works
fine. Thanks, and sorry about any inconvenience.
On 26 Sep 2014 23:49, "James Cowgill" <james410 at cowgill.org.uk> wrote:

> Control: tags -1 moreinfo unreproducible
>
> Hi Alex,
>
> On Fri, 2014-09-26 at 22:46 +0100, Alex Kerr wrote:
> > While trying to package a game I made using this library, I found
> compilation
> > would not succeed with errors about an undefined reference to certain
> > functions. I had previously been compiling with the most recent version
> of the
> > library pulled from upstream (https://github.com/LaurentGomila/SFML),
> which
> > worked fine. I made some sample code to see if it was just my program:
>
> Your test case compiles fine for me.
>
> It looks to me like you're using *upstream headers* with libraries from
> 2.1 (which won't work). Do you have anything SFML related
> in /usr/local/include?
>
> This is the commit where upstream changed the declaration of
> sf::Window::setSize:
>
> https://github.com/LaurentGomila/SFML/commit/fe12270d62b94931834b7605136ea6c9f951d9fc
>
> James
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20140926/e693d8b6/attachment.html>


More information about the Pkg-games-devel mailing list