twostraws / SwiftGD

A simple Swift wrapper for libgd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails on Ubuntu

maximedegreve opened this issue · comments

/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?

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

Yes that fixed it! Thanks @twostraws

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

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