I reinstalled Nuitrack SDK because I had some issues related to low fps and I wanted to make sure that the SDK was working fine.
However, when I reinstalled Nuitrack, I had some problems when I did catkin_make to my package: an OpenCV exception, but I managed to fix this by adding again the path “/usr/local/lib/nuitrack” to $LD_LIBRARY_PATH and purging nuitrack and openni.
Now catkin_make builds “successfully” my package, but when I try to run my node, a Segmentation Fault happens, which is a very generic error, but I think that this is related to Nuitrack because before I reinstalled Nuitrack, it ran successfully.
I executed gcc -g to my .cpp file (node) to see when the segmentation error occurs, but it does not find “ros/ros.h” or any other header and this is very strange, because I think that the CMakeLists.txt is fine.
Do you know any way to solve this?
Note: The package which contains the node that does not run is almost identical to this one: https://github.com/shinselrobots/nuitrack_body_tracker