diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | Dockerfile_test | 2 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | include/tgbot/tgbot.h | 4 | ||||
-rw-r--r-- | samples/echobot/CMakeLists.txt | 2 | ||||
-rw-r--r-- | samples/inline-keyboard/CMakeLists.txt | 2 | ||||
-rw-r--r-- | samples/photo/CMakeLists.txt | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ea765ad..89ea260 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,9 +33,9 @@ include_directories(${OPENSSL_INCLUDE_DIR}) # boost set(Boost_USE_MULTITHREADED ON) if (ENABLE_TESTS) - find_package(Boost 1.59.0 COMPONENTS system iostreams unit_test_framework REQUIRED) + find_package(Boost 1.59.0 COMPONENTS system unit_test_framework REQUIRED) else() - find_package(Boost 1.59.0 COMPONENTS system iostreams REQUIRED) + find_package(Boost 1.59.0 COMPONENTS system REQUIRED) endif() include_directories(${Boost_INCLUDE_DIR}) @@ -2,7 +2,7 @@ FROM debian:stretch MAINTAINER Oleg Morozenkov <a@reo7sp.ru> RUN apt-get -qq update && \ - apt-get -qq install -y g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev + apt-get -qq install -y g++ make binutils cmake libssl-dev libboost-system-dev WORKDIR /tmp/tgbot-cpp COPY include include diff --git a/Dockerfile_test b/Dockerfile_test index 98f3a02..a2f7b5f 100644 --- a/Dockerfile_test +++ b/Dockerfile_test @@ -2,7 +2,7 @@ FROM debian:stretch MAINTAINER Oleg Morozenkov <a@reo7sp.ru> RUN apt-get -qq update && \ - apt-get -qq install -y g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev libboost-test-dev + apt-get -qq install -y g++ make binutils cmake libssl-dev libboost-system-dev libboost-test-dev WORKDIR /tmp/tgbot-cpp COPY include include @@ -22,7 +22,7 @@ The largest fork of this library is https://github.com/foxcpp/tgbot-cpp. There i Firstly you need to install some dependencies such as Boost and build tools such as CMake. On Debian-based distibutives you can do it with these commands: ```sh -sudo apt-get install g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev +sudo apt-get install g++ make binutils cmake libssl-dev libboost-system-dev ``` To compile the library execute this commands: @@ -40,7 +40,7 @@ sudo make install ### Without CMake ```sh -g++ telegram_bot.cpp -o telegram_bot --std=c++11 -I/usr/local/include -lTgBot -lboost_system -lboost_iostreams -lssl -lcrypto -lpthread +g++ telegram_bot.cpp -o telegram_bot --std=c++11 -I/usr/local/include -lTgBot -lboost_system -lssl -lcrypto -lpthread ``` You can use Docker to build and run your bot. Set the base image of your's Dockerfile to [reo7sp/tgbot-cpp](https://hub.docker.com/r/reo7sp/tgbot-cpp/). diff --git a/include/tgbot/tgbot.h b/include/tgbot/tgbot.h index a6efd62..6639826 100644 --- a/include/tgbot/tgbot.h +++ b/include/tgbot/tgbot.h @@ -78,7 +78,7 @@ * * Firstly you need to install some dependencies such as Boost and build tools such as CMake. On Debian-based distibutives you can do it with these commands: * @code{.sh} - * sudo apt-get install g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev + * sudo apt-get install g++ make binutils cmake libssl-dev libboost-system-dev * @endcode * * To compile the library execute this commands: @@ -95,7 +95,7 @@ * * Without CMake: * @code{.sh} - * g++ telegram_bot.cpp -o telegram_bot --std=c++11 -I/usr/local/include -lTgBot -lboost_system -lboost_iostreams -lssl -lcrypto -lpthread + * g++ telegram_bot.cpp -o telegram_bot --std=c++11 -I/usr/local/include -lTgBot -lboost_system -lssl -lcrypto -lpthread * @endcode * * You can use Docker to build and run your bot. Set the base image of your's Dockerfile to [reo7sp/tgbot-cpp](https://hub.docker.com/r/reo7sp/tgbot-cpp/). diff --git a/samples/echobot/CMakeLists.txt b/samples/echobot/CMakeLists.txt index 5df19f7..d67f4d4 100644 --- a/samples/echobot/CMakeLists.txt +++ b/samples/echobot/CMakeLists.txt @@ -6,7 +6,7 @@ set(Boost_USE_MULTITHREADED ON) find_package(Threads REQUIRED) find_package(OpenSSL REQUIRED) -find_package(Boost COMPONENTS system iostreams REQUIRED) +find_package(Boost COMPONENTS system REQUIRED) include_directories(/usr/local/include ${OPENSSL_INCLUDE_DIR} ${Boost_INCLUDE_DIR}) add_executable(echobot src/main.cpp) diff --git a/samples/inline-keyboard/CMakeLists.txt b/samples/inline-keyboard/CMakeLists.txt index dbcff89..4790800 100644 --- a/samples/inline-keyboard/CMakeLists.txt +++ b/samples/inline-keyboard/CMakeLists.txt @@ -6,7 +6,7 @@ set(Boost_USE_MULTITHREADED ON) find_package(Threads REQUIRED) find_package(OpenSSL REQUIRED) -find_package(Boost COMPONENTS system iostreams REQUIRED) +find_package(Boost COMPONENTS system REQUIRED) include_directories(/usr/local/include ${OPENSSL_INCLUDE_DIR} ${Boost_INCLUDE_DIR}) add_executable(inline-keyboard src/main.cpp) diff --git a/samples/photo/CMakeLists.txt b/samples/photo/CMakeLists.txt index d431b88..de6f12f 100644 --- a/samples/photo/CMakeLists.txt +++ b/samples/photo/CMakeLists.txt @@ -6,7 +6,7 @@ set(Boost_USE_MULTITHREADED ON) find_package(Threads REQUIRED) find_package(OpenSSL REQUIRED) -find_package(Boost COMPONENTS system iostreams REQUIRED) +find_package(Boost COMPONENTS system REQUIRED) include_directories(/usr/local/include ${OPENSSL_INCLUDE_DIR} ${Boost_INCLUDE_DIR}) add_executable(photo src/main.cpp) |