SFML community forums

General => General discussions => Topic started by: MrUnknown on July 23, 2010, 03:19:44 pm

Title: SOIL in SFML2
Post by: MrUnknown 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
Title: SOIL in SFML2
Post by: Laurent 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).
Title: SOIL in SFML2
Post by: Svenstaro on July 25, 2010, 03:41:15 am
Use my sfml2-svn AUR package. It has a patch for this.