The PotreeConverter sourcecode can be downloaded here:
PotreeConverter – source
It includes a Visual Studio 2012 solution. There is no linux build but I don’t think I’ve used any platform dependend code so it shouldn’t be hard to create one.
For anyone interested in how it works, here is a documentation. It’s written for a course I attended and explains the algorithm, not the source code.
PotreeConverter – documentation