Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Ubuntu #1

Closed
maximedegreve opened this issue Dec 25, 2016 · 6 comments
Closed

Build fails on Ubuntu #1

maximedegreve opened this issue Dec 25, 2016 · 6 comments

Comments

@maximedegreve
Copy link

/Packages/SwiftGD-1.1.0/Sources/SwiftGD.swift:206:19: error: use of unresolved identifier 'gdImageCopyGaussianBlurred'
if let result = gdImageCopyGaussianBlurred(internalImage, Int32(radius), -1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Cgdlinux.gdImageGaussianBlur:1:13: note: did you mean 'gdImageGaussianBlur'?
public func gdImageGaussianBlur(_ im: gdImagePtr!) -> Int32
^

Any idea?

@twostraws
Copy link
Owner

twostraws commented Dec 25, 2016 via email

@maximedegreve
Copy link
Author

maximedegreve commented Dec 25, 2016

I'm on Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-53-generic x86_64)
(great repo BTW!)

@twostraws
Copy link
Owner

twostraws commented Dec 25, 2016 via email

@maximedegreve
Copy link
Author

Yes that fixed it! Thanks @twostraws

@JonasSL
Copy link

JonasSL commented Mar 26, 2017

@maximedegreve Hi! I'm having the same problem. How did you get this to work?

@twostraws
Copy link
Owner

@JonasSL: Just upgrade to a more modern version of Ubuntu.

alexsteinerde pushed a commit to alexsteinerde/SwiftGD that referenced this issue May 18, 2018
Renames export to encode, import to decode and makes it more generic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants