Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Raspberry pi Raspbian GNU/Linux 9 (stretch) Build fail #32

Open
AleyRobotics opened this issue Dec 3, 2017 · 3 comments
Open

Raspberry pi Raspbian GNU/Linux 9 (stretch) Build fail #32

AleyRobotics opened this issue Dec 3, 2017 · 3 comments

Comments

@AleyRobotics
Copy link

AleyRobotics commented Dec 3, 2017

pi@raspberrypi:~/Cacao $ swift build
Fetching https://github.com/PureSwift/Silica.git
Fetching https://github.com/PureSwift/Cairo.git
Fetching https://github.com/PureSwift/SDL.git
Fetching https://github.com/PureSwift/CSDL2.git
Fetching https://github.com/PureSwift/LittleCMS.git
Fetching https://github.com/PureSwift/CCairo.git
Fetching https://github.com/PureSwift/CLCMS.git
Fetching https://github.com/PureSwift/CFreeType.git
Fetching https://github.com/PureSwift/CFontConfig.git
Cloning https://github.com/PureSwift/Silica.git
Resolving https://github.com/PureSwift/Silica.git at 1.3.1
Cloning https://github.com/PureSwift/CFontConfig.git
Resolving https://github.com/PureSwift/CFontConfig.git at 1.0.1
Cloning https://github.com/PureSwift/CSDL2.git
Resolving https://github.com/PureSwift/CSDL2.git at 1.0.1
Cloning https://github.com/PureSwift/Cairo.git
Resolving https://github.com/PureSwift/Cairo.git at 1.2.3
Cloning https://github.com/PureSwift/LittleCMS.git
Resolving https://github.com/PureSwift/LittleCMS.git at 1.0.2
Cloning https://github.com/PureSwift/CLCMS.git
Resolving https://github.com/PureSwift/CLCMS.git at 1.0.0
Cloning https://github.com/PureSwift/CCairo.git
Resolving https://github.com/PureSwift/CCairo.git at 1.1.1
Cloning https://github.com/PureSwift/SDL.git
Resolving https://github.com/PureSwift/SDL.git at 1.0.1
Cloning https://github.com/PureSwift/CFreeType.git
Resolving https://github.com/PureSwift/CFreeType.git at 1.0.4
error: nonWhitelistedFlags("Non whitelisted flags found: [\"-D_REENTRANT\"] in pc file sdl2")

===================

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

How to fix that?

@vBoykoGit
Copy link

Hi, are there any solutions?

@marcos69
Copy link

You can cheat, edit out the -D_REENTRANT\ inside the sdl2.pc file.

@adagio
Copy link

adagio commented Nov 26, 2018

@marcos69 on ubuntu 16.10, the sdl2.pc file location is /usr/lib/x86_64-linux-gnu/pkgconfig/sdl2.pc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants