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

Author Topic: findSFML not working on travis-ci (linux)  (Read 2816 times)

0 Members and 1 Guest are viewing this topic.

_LB

  • Newbie
  • *
  • Posts: 7
    • View Profile
findSFML not working on travis-ci (linux)
« on: October 13, 2013, 10:51:56 pm »
EDIT: Problem solved, I was building static SFML libraries but trying to link to the dynamic ones.

Hi, I'm using travis-ci to test compilation of my project that uses SFML. I use SFML 2.0, and apt-get on travis cannot get version 2.0, so I'm actually building and installing SFML as part of my travis build. This works, except that findSFML cannot find the installation even when I point it to the exact directory where SFML was installed to.

This is the travis-ci log from my latest attempt:
https://travis-ci.org/LB--/ChessPlusPlus/builds/12495133
You can expand lines with an arrow next to them to see output (for example, expand line 153 to see where SFML gets installed to).

On line 394 it reports that it cannot find SFML, and no matter how much I have messed with it I can't figure out why. The travis-ci build machines are linux, all the information needed should be in that build log.

If needed, here is my .travis.yml file:
https://github.com/LB--/ChessPlusPlus/blob/5f4dfe1c8dda01a81279cdacfa361d681c522a6b/.travis.yml

Does anyone know what I am doing wrong?
« Last Edit: October 13, 2013, 11:00:56 pm by _LB »

 

anything