I found the problem. I needed to specify the library in the visualgdb properties. And also do it using the short name (no lib or .so)
How come that’s not in the tutorial, isn’t this something you always need to do? It might be obvious but the rest of the tutorial is really step by step.
Anyways huge thank you for the great guide and software, it really helped me get started with RPI and the camera!