Skip to content

Instantly share code, notes, and snippets.

@drewxa
Created December 11, 2017 20:54
Show Gist options
  • Save drewxa/db2c629a2888ca386f3a116cb8e8d77e to your computer and use it in GitHub Desktop.
Save drewxa/db2c629a2888ca386f3a116cb8e8d77e to your computer and use it in GitHub Desktop.
1 sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev:i386 build-essential libbz2-dev:i386
2 sudo apt-get install g++ make binutils cmake libssl-dev:i386 libboost-dev:i386 git
3 sudo apt-get install g++:i386 cpp:i386 gcc:i386 binutils:i386
4 sudo apt-get install libboost-system-dev:i386 libboost-date-time-dev:i386 libboost-iostreams-dev:i386 libboost-locale-dev:i386 libboost-regex-dev:i386
5 cd ~
6 git clone https://github.com/reo7sp/tgbot-cpp.git
7 cd ~/tgbot-cpp
8 mkdir build && cd build
9 cmake ..
10 cd ~/tgbot-cpp/build/
11 cmake ..
12 nano ../CMakeLists.txt k
13 cmake ..
14 make -j4
15 sudo make install
16 echo /usr/local/include/
17 echo /usr/local/lib/libTgBot.a
18 cd ~
19 git clone https://github.com/bmstu-iu8-11-cpp-2017/homework-telegram-bot.git
20 cd ~/homework-telegram-bot/example-bot/
21 mkdir build && cd build
22 nano ../CMakeLists.txt
23 cmake ..
24 make -j4
25 nano ../CMakeLists.txt
26 ls /usr/local/include/
27 nano ../CMakeLists.txt
28 rm -r ./*
29 cmake ..
30 make -j4
31 rm -r ./*
32 nano ../CMakeLists.txt
33 rm -r ./*
34 cmake ..
35 make -j4
36 history
37 history >> ~/hist.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment