Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
31ddf163
Unverified
Commit
31ddf163
authored
May 11, 2020
by
Edward Thomson
Committed by
GitHub
May 11, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5512 from A-Ovchinnikov-mx/patch-1
README.md: Add instructions for building in MinGW environment
parents
b83bc6d4
4ad36338
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
README.md
+15
-0
No files found.
README.md
View file @
31ddf163
...
...
@@ -47,6 +47,7 @@ Table of Contents
*
[
Compiler and linker options
](
#compiler-and-linker-options
)
*
[
MacOS X
](
#macos-x
)
*
[
Android
](
#android
)
*
[
MinGW
](
#mingw
)
*
[
Language Bindings
](
#language-bindings
)
*
[
How Can I Contribute?
](
#how-can-i-contribute
)
*
[
License
](
#license
)
...
...
@@ -304,6 +305,20 @@ with full path to the toolchain):
Add
`-DCMAKE_TOOLCHAIN_FILE={pathToToolchainFile}`
to cmake command
when configuring.
MinGW
-----
If you want to build the library in MinGW environment with SSH support enabled,
you may need to pass
`-DCMAKE_LIBRARY_PATH="${MINGW_PREFIX}/${MINGW_CHOST}/lib/"`
flag
to CMake when configuring. This is because CMake cannot find the Win32 libraries in
MinGW folders by default and you might see an error message stating that CMake
could not resolve
`ws2_32`
library during configuration.
Another option would be to install
`msys2-w32api-runtime`
package before configuring.
This package installs the Win32 libraries into
`/usr/lib`
folder which is by default
recognized as the library path by CMake. Please note though that this package is meant
for MSYS subsystem which is different from MinGW.
Language Bindings
==================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment