[swift-users] TWISt-shout newletter 2016-01-04

2016-01-04 Thread Kenny Leung via swift-dev via swift-users
Hi All. Let’s kick off 2016 with the first This Week In Swift newsletter. You can find it here: https://github.com/pepperdog/TWISt-shout/blob/master/2016/TWISt-shout-2016-01-04.md Any comments, suggestions, updates, or omissions are greatly appreciated. -Kenny P.S. In the future, this

Re: [swift-users] Failed to resolve REPL breakpoint

2016-01-04 Thread Ryan Lovelett via swift-users
For future reference I figured out what was causing this. The Arch Linux `makepkg` command was calling strip [1] by default. This was obviously stripping out some things that was necessary for build. The fix was obviously to tell the packager to skip calling strip [2]. [1]

Re: [swift-users] build-script was completed, how to install the binary file to /usr folder?

2016-01-04 Thread Ryan Lovelett via swift-users
Can you provide a little bit more context? Operating system...command you ran...etc... On Fri, Jan 1, 2016, at 03:15 AM, Quan Yong Zhai via swift-users wrote: > Hi, > The build-script was completed , how do I install the binary file to > /usr folder? > > Thanks in advance > > > >

[swift-users] An OpenGL math library in pure Swift

2016-01-04 Thread David Turnbull via swift-users
I've been working on a math library for SwiftGL. It's looking good. Vector2, Vector3, Vector4, Matrix2x2, Matrix3x3, Matrix4x4 are implemented with all arithmetic. You can even swizzle just like GLSL. var myVec = vec4(1, 2, 3, 4) myVec.ab = vec2(99, 98) print(myVec) //=> (1, 2, 98, 99) There's

Re: [swift-users] Swift Package Manager: Linker Flags

2016-01-04 Thread Daniel Dunbar via swift-users
You can't do this via the package manager, but you can include "link" declarations in the module map itself which specify additional linker arguments to plumb through when that module is used. See: http://clang.llvm.org/docs/Modules.html#link-declaration Here is a concrete example, which is