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

Author Topic: SOIL in SFML2  (Read 2769 times)

0 Members and 1 Guest are viewing this topic.

MrUnknown

  • Newbie
  • *
  • Posts: 1
    • View Profile
SOIL in SFML2
« on: July 23, 2010, 03:19:44 pm »
Hi,

I just tried compiling the SFML2 branch on my ArchLinux machine. Unfortunately that failed with an "SOIL/SOIL.h: No such file or directory" error in the ImageLoader.cpp. Changing the include in the ImageLoader fixed that problem:
Code: [Select]

#include <SOIL.h>

This requires SOIL as an external dependency then.

It seems to be the same problem as in this post: http://www.sfml-dev.org/forum/viewtopic.php?p=16399

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SOIL in SFML2
« Reply #1 on: July 23, 2010, 03:28:46 pm »
This will be fixed soon with CMake support (CMake will find external libraries and deduce the include paths accordingly).
Laurent Gomila - SFML developer

Svenstaro

  • Full Member
  • ***
  • Posts: 222
    • View Profile
SOIL in SFML2
« Reply #2 on: July 25, 2010, 03:41:15 am »
Use my sfml2-svn AUR package. It has a patch for this.

 

anything