I am working on a pull request removing the remaining C-code from the C++ samples. For the linemod.cpp I have succeeded in getting it build properly, however I cannot test if the functionality stays intact, since I do not have an openNI camera.
Could someone test this for me?
A link to the adapted code could be found at:
I will make a PR of this fixed sample once someone assures me it still does the trick, like I did for the others that I could varify. If you need help debugging, let me know!