1. The error is :
/usr/bin/ld: /home/idriver/work/automatic_calibration/Robotaxi_bus_auto_calibration/src/camera_sync/../third_party/protobuf/lib/x86/libprotobuf.a(common.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
2. Solution:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2 -fopenmp -w -no-pie")