Linked Questions

22 votes
2 answers
26k views

In C language what is the difference between a static libraray and a dynamic library?
KaramJaber's user avatar
9 votes
0 answers
1k views

I wanted to know what is the difference between static and dynamic modules in nginx and which ones are better? What are the advantages/disadvantages of building a module as static / dynamic module.
guru107's user avatar
  • 1,153
0 votes
1 answer
489 views

I am using SDL2 and SDL2 image with c++ and there are So many DLL's which are neccessary for the main.exe to run. I want to submit the project in single main.exe file without the dll's. Is this ...
Shloak's user avatar
  • 17
509 votes
16 answers
337k views

Are there any compelling performance reasons to choose static linking over dynamic linking or vice versa in certain situations? I've heard or read the following, but I don't know enough on the subject ...
Eloff's user avatar
  • 22k
22 votes
3 answers
17k views

I know that there are lots of questions about the use cases of shared vs static libraries, this question is not about that. I am asking about differences in file format stored on disk. Why question ...
silverscania's user avatar
9 votes
2 answers
11k views

I don't understand the difference between the two types of libraries, and many websites say that they are the same thing, but at school we use two different commands to create them dynamic library $ ...
luca vent's user avatar
5 votes
8 answers
16k views

I tried everything in the virtual environment, but again and again "no module named opencv". I checked the site packages folder and found that there is no cv2 folder, like I found numpy, pip folders; ...
user avatar
4 votes
1 answer
5k views

I've compiled a minimal example of code using Qt, and noticed that linking to its .lib files added a requirement for my compiled program to link to its corresponding .dll file. I want to create a ....
octopod's user avatar
  • 894
8 votes
1 answer
5k views

I am building Python 3.10 from source on Ubuntu 18.04, following instructions from several web links, primarily the Python website (https://devguide.python.org/setup) and RealPython (https://...
RTC222's user avatar
  • 2,353
2 votes
4 answers
3k views

I have a software library and I used to create .a files, so that people can install them and link against them: g++ foo.o -L/path/to -llibrary But now I often encounter third-party libraries where ...
Frank's user avatar
  • 66.6k
3 votes
3 answers
3k views

I am new in C programing.I have no Idea about .so files. what is the need of it ? how can I create it ? how to bind my C code or Binary with it ? If I don't make any .so file and directly make ...
Jatin Bodarya's user avatar
5 votes
3 answers
1k views

Suppose I have some code written in C with some data structures defined and some functions to work with those structures and all that is in a directory called src1. Suppose now I want to distribute ...
petermlm's user avatar
  • 930
7 votes
1 answer
5k views

I've been searching and reading for a while, but still cannot get clean answers: What's the difference between runtime library and dynamic library? To be specific, I want to know the following ...
dazzphot's user avatar
  • 367
4 votes
2 answers
3k views

For my app i need FFmpeg, so i went to official website, for windows builds it said go here :- https://github.com/BtbN/FFmpeg-Builds/releases/tag/autobuild-2021-01-20-13-01 But now i have a problem. ...
frakod's user avatar
  • 1,958
1 vote
1 answer
5k views

We are using the FFMpeg static libraries compiled via the --toolchain=msvc switch with the VS2010 compiler linked to the static runtime (-MT). These libraries work fine but they are linked to libcmt....
LostBoy's user avatar
  • 968

15 30 50 per page