Project

General

Profile

Actions

Emulator Issues #5960

closed

SFML in Externals is old+broken - should update to SFML 2.0 RC

Added by alucryd almost 12 years ago. Updated almost 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

This is somewhat related to issue 5585. Dolphin won't build against SFML 2.0 which is the default in Arch Linux.
We have an AUR package which installs SFML 1.6 in these dirs for compatibility issues: http://pastebin.com/DZEUHzzT.
CMake won't find the include dir by itself, I have to pass this:
-DSFML_INCLUDE_DIR=/usr/include/sfml1.6

The build process starts fine but leads to this error:

/home/alucryd/Packages/dolphin-emu-git/src/dolphin-emu/Source/Core/Core/Src/NetPlay.h:9:28: fatal error: SFML/Network.hpp: No such file or directory
compilation terminated.
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/Src/NetPlay.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

It seems to be looking in /usr/include instead of /usr/include/sfml1.6. I can tell because it finds the files when SFML 2.0 is installed in /usr/include, however it is not compatible yet and the build fails too.

Actions

Also available in: Atom PDF