This project uses the STM GTFS API to retrieve the realtime location of STM trains.
- CMake (version 3.12 or above)
- Protobuf (make sure it's installed on your system)
- libcurl (make sure it's installed on your system)
- Clone or download this repository
- Download and extract the information files from STM; extract them to
stm_data
- Navigate to the project directory
- Create a build directory:
mkdir build && cd build
- Generate the build files:
cmake ..
- Build the project:
cmake --build .
- Run the executable
HttpPostProtoExample