- Ensure the Qt development package is installed:
sudo apt-get update sudo apt-get install qtbase5-dev
- Generate the moc file for your IRC API header:
moc -o moc_irc_api.cpp includes/irc_api.h
- Compile the generated moc_irc_api.cpp along with your project sources.
If you get an error similar to:
./github-bot: error while loading shared libraries: libpugixml.so.1: cannot open shared object file: No such file or directory
try the following:
- Install the libpugixml package:
sudo apt-get update sudo apt-get install libpugixml1
- If the package is unavailable or you built pugixml from source, ensure the library path is correctly set. For example:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- Re-run your application:
./github-bot start