Home > Article > Backend Development > Detailed introduction to static libraries
This article mainly introduces the relevant information of writing static libraries in Visual Studio 2017 in detail. It has certain reference value. Interested friends can refer to it. Making wheels is an interesting thing. VS is a powerful tool. The tool is capable of very large-scale projects, but to be honest, it is not so friendly to the configuration of smaller projects (other tutorials on the Internet are not Orz friendly at all). Here I show you the correct approach to building a simple static library. (By the way, let’s teach you a little bit about creating solutions - many people can’t figure out the difference between Project and Solution. In VS, Project is the basic execution unit, and a Solution can contain multiple Projects - our static library It will contain several (.lib) Projects and one (.exe) Project for testing. The solution is to select the win32 Console Application console, select the Static Library static library, and remove the Precompiled Header precompiled header option. Source file
1. Detailed introduction about VS2017
# #Introduction: This article mainly introduces the relevant information of writing static libraries in Visual Studio 2017 in detail. It has certain reference value. Interested friends can refer to it. Making wheels is an interesting thing. VS is a powerful tool. The tool is capable of very large-scale projects, but to be honest, it is not very friendly to the configuration of smaller projects (other tutorials on the Internet are not Orz-friendly at all). Here I will show you the correct way to build a simple static library. . (By the way, teach me a little bit about creating solutions - many people are confused about Project/Project and...
2. g++ compilation and use of static libraries under Linux Detailed explanation of dynamic library methods
## Introduction: The following editor will bring you an article about g++ under Linux The method of compiling and using static libraries and dynamic libraries. The editor thinks it is quite good. I will share it with you now and give it a reference. Let’s follow the editor and take a look.
# #3.
VS2017 completes the construction of static library##Introduction: This article is mainly for everyone It introduces in detail the relevant information on writing static libraries in Visual Studio 2017, which has certain reference value. Interested friends can refer to it
4. Compile Tinyxml to Static library
Introduction: An application needs to run on a Linux server, which cannot be guaranteed for every server There are libraries that the application depends on, and it is not practical to install them on every server, so I compile all the libraries used by the application into static libraries and throw them directly to the server to run. Example of file dependency on tinyxml library,
5. The relationship between C++ static library and dynamic library
Introduction: C++ static The relationship between libraries and dynamic libraries
6. php overloading __get __set isset unset __call __callStatic python static method import static import difference gcc static link static library
Introduction: static: overloading of php __get __set isset unset __call __callStatic: overloading and traditional object-oriented in php The rewriting is different, for example in java: class A{public void methodName(parameter 1); public void methodName(parameter 1, parameter 2); public void methodName(parameter 1, parameter 2, parameter 3);...}php Medium overloading is an "elegant" error handling mechanism when calling non-existent properties or methods on a class or object. I don’t understand why
7. MongoDB 2.4.1 C++ driver compilation and use
Introduction: This version still does not solve the problem of not being able to compile dynamic libraries. What are the MongoDB people so crazy about? It turns out that the two bypass methods no longer work. Only use static libraries. Download 8. Use VS2008 to compile SQLite3.6.14.2 Introduction: Summary of SQLite3 through online search information Step description of the compilation method: 1) Choose to create a WIN32 smart device project; 2) Select the application type: Dll; *If you want to create a static library, create a Win32 Console Application and select the compilation type as static library. 3) Add all source codes of sqlite3.6.14.2 to the project 9. VS2013 compile Qt5.2.1 32-bit static library debug Introduction: 1. Download the zip source code. I downloaded the file qt-everywhere-opensource-src-5.2.1.zip. 2. Install python 3. Unzip the qt-everywhere-opensource-src-5.2.1.zip file, modify the qtbasemkspecswin32-msvc2013qmake.conf file, and change [cpp] view plaincopy QMAKE_CFLAGS_RELEASE=-O2 10. VS2013 compile Qt5.2.0 32-bit static library debug Introduction: 1. Download the zip source code, I downloaded qt-everywhere-opensource -src-5.2.0.zip this file. 2. Install python 3. Unzip the qt-everywhere-opensource-src-5.2.0.zip file, modify the qtbasemkspecswin32-msvc2013qmake.conf file, and change [cpp] view plaincopy QMAKE_CFLAGS_RELEASE=-O2 【Related download recommendations】:
The above is the detailed content of Detailed introduction to static libraries. For more information, please follow other related articles on the PHP Chinese website!