U
U
Urukhayy2018-08-02 18:57:56
C++ / C#
Urukhayy, 2018-08-02 18:57:56

Is it possible to install the framework for C++ without assembly?

For an example framework/library: https://grpc.io
The official installation instructions for C++ say that you need to build (build via make). Why can't you install a ready-made, pre-built library? What is the reason that some libraries need to be built locally?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Makarov, 2018-08-02
@Urukhayy

I don’t quite understand why SmInc is so strongly tied to the upload script in the VCS, if pre-assembled can be understood and laid out, for example, in releases on github.
There are a number of objective problems:
All of the above factors lead to a combinatorial explosion of build options. Therefore, some projects to get some kind of "package manager" or "library directory" follow the path of the ports tree , such as vcpkg . Everything is simple here - you know what kind of compiler you need right now, which operating systems, etc. - build automation script helps you build the library. It's a pretty productive compromise.
In addition, you should also not discard the "for yourself" pre-build option, which may well take root in a local environment for a medium to large project. See for example the Conan PM repositories and the JFrog implementation .
In general, because of the zoo of platforms and tools, the problem of library integration is the most acute one. In the C++ stack (if you can call it that at all), the common denominator is perhaps only C++ itself. Everything else depends both on the authors of the library - on the one hand, and on your environment where you are going to run the library - on the other hand. So get used to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question