You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,15 @@ It can be installed with a package manager from any major Linux distro. Debian e
20
20
#### GMP
21
21
If you are suing an older toolchain like VS 2005 or 2008, the GMP lib and header file is already included for you in `depends/include` and `depends/lib`. You can skip this step.
22
22
For newer versions of Visual Studio we recommend to use MPIR library instead which is a drop-in replacement for GMP with better Windows support.
23
-
1. Go to http://mpir.org/ and download the latest source archive.
24
-
2. Open the VS solution file depending on which version you use, for example build.vc14 for VS 2015.
25
-
3. Make a Release build of `lib_mpir_gc` project. This produces `mpir.lib` and `mpir.h` in `build.vc14\lib_mpir_gc\Win32\Release`. Copy the header file to `depends/include` and library to `depends/lib`.
23
+
1. Go to http://mpir.org/ and download the latest source archive.
24
+
2. Open the VS solution file depending on which version you use, for example build.vc14 for VS 2015.
25
+
3. Make a Release build of `lib_mpir_gc` project. This produces `mpir.lib` and `mpir.h` in `build.vc14\lib_mpir_gc\Win32\Release`. Copy the header file to `depends/include` and library to `depends/lib`.
26
26
27
27
#### VS build
28
-
1. In root bncsutil folder run `cmake -G "Visual Studio 14 2015" -B./build -H./` if you used GMP or `cmake -G "Visual Studio 14 2015" -B./build -H./ -DUSE_MPIR=1` if you used MPIR in previous step. Change the Visual Studio version as needed.
29
-
2. CMake will generate sln file in ./build. Open it and build the library.
28
+
1. In root bncsutil folder run `cmake -G "Visual Studio 14 2015" -B./build -H./` if you used GMP or `cmake -G "Visual Studio 14 2015" -B./build -H./ -DUSE_MPIR=1` if you used MPIR in previous step. Change the Visual Studio version as needed.
29
+
2. CMake will generate sln file in ./build. Open it and build the library.
30
30
31
31
### Linux
32
-
1. Install GMP with the package manager. Also install all the necessary deveklopment tools (gcc, make or build-essential package on Debian).
33
-
2. Run `cmake -G "Unix Makefiles" -B./build -H./`.
34
-
3.`cd build && make && make install`.
32
+
1. Install GMP with the package manager. Also install all the necessary deveklopment tools (gcc, make or build-essential package on Debian).
33
+
2. Run `cmake -G "Unix Makefiles" -B./build -H./`.
0 commit comments