c++ compile in linux code example Example: compile c++ linux g++ foo.cpp -o foo //plus other extension like the opencv to compile correctly