Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
cc752a3c
Commit
cc752a3c
authored
8 years ago
by
Nicolas Noble
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #7618 from dgquintas/v1.0.x
Backport of "added windows to INSTALL.md"
parents
9fa684fa
b2122710
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL.md
+52
-0
52 additions, 0 deletions
INSTALL.md
with
52 additions
and
0 deletions
INSTALL.md
+
52
−
0
View file @
cc752a3c
...
...
@@ -55,3 +55,55 @@ gRPC C Core library.
$
make
$
[
sudo
]
make
install
```
##Windows
There are several ways to build under Windows, of varying complexity depending
on experience with the tools involved.
<!--
###Visual Studio
Versions 2013 and 2015 are both supported. You can use
[
their respective
community
editions
](
https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
)
.
Building the C Core:
-
Open
[
grpc.sln
](
https://github.com/grpc/grpc/blob/master/vsprojects/grpc.sln
)
.
-
Select your build target.
-
Build the
`grpc`
project.
Building the C++ runtime:
-
You need
[
CMake
](
https://cmake.org/
)
on your path to build protobuf (see below
for building using solely CMake).
-
Run
`vsprojects/build_protos.bat`
(needs
`cmake.exe`
in your path).
-
Open
[
buildtests_cxx.sln
](
)
-
Select your build target.
-
build the
`grpc++`
project.
-->
###msys2
This approach requires having
[
msys2
](
https://msys2.github.io/
)
installed.
-
The Makefile (and source code) should support msys2's mingw32 and mingw64
compilers. Building with msys2's native compiler is also possible, but
difficult.
-
The Makefile is expecting the Windows versions of OpenSSL (see
https://slproweb.com/products/Win32OpenSSL.html). It's also possible to build
the Windows version of OpenSSL from scratch. The output should be
`libeay32`
and
`ssleay32`
.
-
If you are not installing the above files under msys2's path, you may specify
it, for instance, in the following way:
```
CPPFLAGS=”-I/c/OpenSSL-Win32/include” LDFLAGS=”-L/c/OpenSSL-Win32/lib” make static_c```
- [protobuf3](https://github.com/google/protobuf/blob/master/src/README.md#c-installation---windows)
must be installed on the msys2 path.
###Cmake (experimental)
- Install [CMake](https://cmake.org/download/).
- Run it over [grpc's
CMakeLists.txt](https://github.com/grpc/grpc/blob/master/CMakeLists.txt) to
generate "projects" for your compiler.
- Build with your compiler of choice. The generated build files should have the
protobuf3 dependency baked in.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment