compiling ROS files without ROS commands
When I try to compile ROS files in ways such as using the command "g++ openni_tracker.cpp", I get messages saying "no such file or directory" for the lines with included files. However, the file runs if I use the ROS commands, such as rosrun and roslaunch. Are these commands necessary, or is there another way to compile and run the files?