https://github.com/421p/openweathercli
https://github.com/421p/openweathercli
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/421p/openweathercli
- Owner: 421p
- Created: 2015-10-21T19:20:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-01T22:24:07.000Z (over 10 years ago)
- Last Synced: 2023-03-23T13:15:17.509Z (about 3 years ago)
- Language: C++
- Homepage:
- Size: 980 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# openWeatherCli
###You need any c++ compiler with c++11 support and boost lib.
>g++ -std=c++11 main.cc -o openWeatherCli -lboost_system
###Installing boost:
Debian/Ubuntu:
> sudo apt-get install libboost-all-dev
Fedora:
> sudo dnf install boost-devel
Windows:
>* Download latest boost release [here.](http://sourceforge.net/projects/boost/files/boost/1.59.0/)
>* From Visual Studio's File menu, select New > Project…
>* In the left-hand pane of the resulting New Project dialog, select Visual C++ > Win32.
>* In the right-hand pane, select Win32 Console Application (VS8.0) or Win32 Console Project (VS7.1).
>* Right-click example in the Solution Explorer pane and select Properties from the resulting pop-up menu
>* In Configuration Properties > C/C++ > General > Additional Include Directories, enter the path to the Boost root directory, for example "C:\Program Files\boost\boost_1_55_0"
>* In Configuration Properties > C/C++ > Precompiled Headers, change Use Precompiled Header (/Yu) to Not Using Precompiled Headers.
[More on boost.org](http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html)