. H header files are required for compilation, lib is required for linking, and dll is required for running.
The dependency. lib is not. dll. If DLL is generated, the LIB file is also generated. If you need to complete source code compilation and linking, it is enough to have header files and lib. If dynamic connection is also enabled, dll is enough. In the development and debugging stages, it is best to have both.
. H. lib. dll:
The role of the H file is to declare the function interface.
The r
Original address: Http://blog.csdn.net/c395565746c/archive/2010/03/21/5402239.aspx
The. h header file is required at compile time, and Lib is required at the time of the link, and the DLL is required at runtime.
Additional dependencies are. Lib is not a. dll, and if a DLL is generated, a Lib file must also be generated. If you want to complete the source code compile and link, there is a header file and Lib is enough. If you also make a dynamically connected program run, there is enough DLL.
I. Description
The ACL Project is a cross-platform network communication library and Server programming framework that supports Linux, Win32, Solaris, MacOS, And FreeBSD. It also provides more practical function libraries. With this library, you can easily write server programs, web applications, and database applications that support multiple modes (multithreading, multi-process, non-blocking, trigger, and
First, what is a library? Library is the way to share program code, generally divided into static library and dynamic library. Static Library: When the link is completely copied to the executable file, multiple copies of the redundant copy are used. Dynamic
Recommended 25 of PHP's most useful class libraries, 25 PHP non-class libraries
Snappy
Snappy is PHP5 used to generate thumbnails, snapshots, pdf,url or HTML pages. It incorporates excellent webkit based wkhtmltopdf and wkhtmltoimage that can be adapted to the windows of the Osx,linux.
Geocoder
Geocoder can help you build a geo-aware application. It provides an abstraction layer for geocoding operations. The library is divided into two parts: Httpa
I haven't written a blog for a long time. I didn't write much before graduation. After graduation, I just came to my company and became familiar with the environment. Now I want to resume my blog writing habits. I will announce my strong return. 2013-07-19
Gtest is a unit test tool. The gtest framework is deployed on different platforms (Linux, Mac OS X, windows, cygwin, and Windows ).Ce and Symbian. It is a test framework based on the xunit architecture and supports automatic discovery and test
Library: Essentially, a library is a binary form of executable code, and Linux systems support dynamic libraries (shared libraries) and static libraries. Linux under the library generally placed in B or/USRB. The header file is placed in the/usr/include.
Dynamic library: Libxxx.so with ". So" as the suffix. Because the
Complete and comprehensive Java resource library (including construction, operation, code analysis, compiler, database, community, etc.) and java resource libraryBuild
The tools used to build applications are collected here.
Apache Maven: Maven uses declarations for building and dependency management. It prefers to use conventions instead of configurations for building. Maven is better than Apache Ant. The latter adopts a procedural method for confi
Complete and comprehensive Java resource library (including construction, operation, code analysis, compiler, database, community, etc.) and java resource libraryBuild
The tools used to build applications are collected here.
Apache Maven: Maven uses declarations for building and dependency management. It prefers to use conventions instead of configurations for building. Maven is better than Apache Ant. The latter adopts a procedural method for con
Under Windows, the use of dynamic library DLLs is often accompanied by LIB guidelines, while Linux uses dynamic libraries and static libraries are significantly different.The difference between a Linux static library and a dynamic library1. Static LibraryThe name is generally libxxx.a; the file compiled from the static function library is larger because all the d
Title: Unix dynamic library and static library comparison. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Differences between static and dynamic Databases
File Preview
The file directory tree is as follows, which is very simple as you can see.
1. libtest/2. | -- lt. c 3
C ++ comes from its rich library and library function resources. The content of the C ++ standard library is defined in 50 standard header files. In C ++ development, the standard library should be used as much as possible. The direct advantages include: (1) cost: it has been provided as a standard. Why does it take ti
Recently a buddy asked me some questions about their company's code, he was getting a DLL from another company to the hospital, and then calling the DLL's interface to continue writing code for the hospital. The problem is, I can't! So take this opportunity to do a good job of Lib and DLL. Try to understand some of the problems with Lib and DLLs under Windows. Come at 1.1 o ' know.What is Lib and what is a DLL. Why Lib and DLL generationWhether it is a static
transfer from original texthttp://blog.csdn.net/sxhelijian/article/details/7552499The powerful features of C + + are derived from its rich library of libraries and function resources. The contents of the C + + standard library are defined in a total of 50 standard header files. In C + + development, use the standard library as much as you can. The immediate benef
Several precautions for creating a C/C ++ dynamic link library (dll), dynamic link library dllI. The C \ C ++ Runtime Library compilation option is a simple explanation: My dll cannot be used by others.
The Runtime Library is a very complex thing. It is a part of the dll production needs to be understood during the dev
Recently need to do some work in the go with the dynamic C + + library, often encounter the situation can not find a dynamic library path, so take the time to do a special experiment to understand go.
I. Sample code directory structure (assuming the code root is/home/gdc/cgotest):----|bin:----|PKG----|SRC--------|main------------|main.go--------|oidb------------|hello----------------|hello.go:-------------
Static Connection Library is to directly link the function code used in the (LIB) file to the target program. Other library files are no longer needed when the program is running; dynamic Link is to link the file module (DLL) where the called function is located and the location of the called function in the file to the target program. When the program is running, find the corresponding function code from t
/*boost provides a timer and a data_time library for time and date processing * *The Timer library provides easy time-to-measure and progress-display features that can be used for tasks such as performance testing that require timing/*Timer of the three component timers classes timer Progress_timer and progress indicator class Progress_displayTimer can measure the passage of time, providing millisecond-leve
First, what is a library?Library is the way to share program code, generally divided into static library and dynamic library.Static Library: When the link is completely copied to the executable file, multiple copies of the redundant copy are used.Dynamic Library: Link is not
If you are interested in static and dynamic link libraries in Linux, click --> you knowI. Concept1) The static Link Library is the. lib file you are using. The code in the library needs to be connected to your executable file, so the static connection executable file is generally larger.Usage 1> Format: # pragma comment (lib, "XXX. lib ")2> development environment:1. If you use VC, you can add your static
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.