-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Provided .cmd files will compile source code using Visual C++ or MinGW-w64 (GCC) with boost libraries. | ||
|
||
|
||
### How to install GCC compiler with precompiled boost libraries: | ||
https://github.com/orlp/dev-on-windows/wiki/Installing-GCC--&-MSYS2 | ||
|
||
### Visual Studio Community (VC++): | ||
https://www.visualstudio.com/vs/community/ | ||
|
||
### If you want use boost libraries with Visual Studio: | ||
Homepage: http://www.boost.org/<br> | ||
Instructions: http://www.boost.org/doc/libs/release/more/getting_started/windows.html | ||
- Download the latest version (e.g. boost_1_65_1.zip) | ||
- Extract it somewhere (e.g. C:\Program Files\boost\) | ||
- Run as Administrator: Start > Visual Studio ???? > x64 Native Tools Command Prompt for VS ???? | ||
- change directory to boost root folder (cd "C:\Program Files\boost\boost_1_65_1") | ||
- run command bootstrap | ||
- run command .\b2 | ||
Everything is prepared, now just set in your project settings: | ||
- C/C++ > General > Additional Include Directories to "C:\Program Files\boost\boost_1_65_1\" | ||
- Linker > Additional Library Directories to "C:\Program Files\boost\boost_1_65_1\stage\lib\" |