to compile, execute 'g++ -I/usr/include/libserial serial_testing.cpp -lserial -o testing_serial' in the shell