Apple Mach-O Linker (Id) Error: symbol(s) not found for architecture x86_64

Can’t figure out where this is coming from - porting some old code to glm syntax and stuck here when trying to compile.

There’s no error in the editor, but getting this when trying to compile.

PS. Running 0.10.0 on Mac OSX 10.12.6 with Xcode 9.2

Seems to be fixed by changing the function call from accepting argument vector<glm::vec3> &P to vector<glm::vec3> P.

Still not sure why &P breaks it.