Questions tagged [libraries]

Use this tag for questions about software libraries. This tag is NOT for questions about computer programs used in public lending libraries or other brick-and-mortar libraries. Questions asking us to recommend or find a library are off-topic.

A library is a collection of non-volatile resources used by programs on a computer, often to develop software.

Libraries contain code and data that provide services to independent programs. This encourages the sharing and changing of code and data in a modular fashion, and eases the distribution of the code and data. Library files are not executable programs. They are either static libraries that are merged with an executable when the executable is being compiled and linked, making them "statically linked", or they are dynamic libraries that are loaded by a dynamic linker while the executable is running, making them "dynamically linked". The dynamic linker may also allow an application to explicitly request that a module be loaded and to obtain references to routines in the module; this can be used to implement plug-ins.

The above was taken from the Wikipedia entry Library (computing).


Questions asking us to recommend or find a library, documentation or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

3030 questions
1320
votes
31 answers

How to add local jar files to a Maven project?

How do I add local jar files (not yet part of the Maven repository) directly in my project's library sources?
Praneel PIDIKITI
  • 15,781
  • 13
  • 36
  • 59
933
votes
21 answers

What is the difference between a framework and a library?

What is the difference between a framework and a library? I always thought of a library as a set of objects and functions that focuses on solving a particular problem or a specific area of application development (i.e. database access); and a…
anbanm
  • 11,961
  • 5
  • 20
  • 17
210
votes
15 answers

How does a language expand itself?

I am learning C++ and I've just started learning about some of Qt's capabilities to code GUI programs. I asked myself the following question: How does C++, which previously had no syntax capable of asking the OS for a window or a way to communicate…
Med Larbi Sentissi
  • 1,399
  • 2
  • 9
  • 6
202
votes
8 answers

How to See the Contents of Windows library (*.lib)

I have a binary file - Windows static library (*.lib). Is there a simple way to find out names of the functions and their interface from that library ? Something similar to emfar and elfdump utilities (on Linux systems) ?
Nick Borodulin
  • 2,775
  • 4
  • 19
  • 19
180
votes
9 answers

Node.js Logging

Is there any library which will help me to handle logging in my Node.Js application? All I want to do is, I want to write all logs into a File and also I need an options like rolling out the file after certain size or date. I have incorporated…
syv
  • 3,268
  • 6
  • 26
  • 38
164
votes
3 answers

What are libtool's .la file for?

What are libtool's .la files for? How are they used with a shared object?
chappar
  • 6,747
  • 12
  • 39
  • 56
110
votes
4 answers

Will Dart support the use of existing JavaScript libraries?

I understand Dart compiles to JavaScript, and I read the Dart Language Spec on Libraries, although I didn't see an answer there. Also a search on their discussion form for the word 'existing' turns up 3 results that are not related. Does anyone…
TMB
  • 4,603
  • 4
  • 22
  • 43
107
votes
5 answers

Disable messages upon loading a package

I have a package in R (ROCR) that I need to load in my R environment. Upon loading the package, a set of messages are printed. This is ordinarily fine, but since the output of my R script is being used for further analysis I want to completely…
learner
  • 1,686
  • 2
  • 17
  • 21
88
votes
3 answers

How to deal with symbol collisions between statically linked libraries?

One of the most important rules and best practices when writing a library, is putting all symbols of the library into a library specific namespace. C++ makes this easy, due to the namespace keyword. In C the usual approach is to prefix the…
datenwolf
  • 149,702
  • 12
  • 167
  • 273
82
votes
10 answers

MatLab error: cannot open with static TLS

Since a couple of days, I constantly receive the same error while using MATLAB which happens at some point with dlopen. I am pretty new to MATLAB, and that is why I don't know what to do. Google doesn't seem to be helping me either. When I try to…
Hans Meyer
  • 921
  • 1
  • 7
  • 4
79
votes
4 answers

How to add additional libraries to Visual Studio project?

Allergro is an open souce C++ addon library for graphics manipulation. How do I add this library to my compiler? The instructions don't work for me as I have Windows 7. I don't know if the OS matters. I have the Visual Studio Express Edition. The…
Saad Masood
  • 10,178
  • 8
  • 29
  • 39
76
votes
3 answers

Difference between .a .o and .lo file

What is the difference between .a .o and .lo file in C?
Raj
  • 3,942
  • 9
  • 35
  • 43
70
votes
4 answers

Duplicate classes from androidx and com.android.support

I recently updated my Android Studio (and I'm pretty sure the Gradle version), and now I've been getting a bunch of errors when trying to compile my project. Here's the one that is plaguing me at the moment: Duplicate class…
69
votes
9 answers

Garbage collection Libraries in C++

What free and commercial garbage collection libraries are available for C++, and what are the pros and cons of each? I am interested in hard-won lessons from actual use in the field, not marketing or promotional blurb. There is no need to elaborate…
Andrew Bettison
  • 691
  • 1
  • 5
  • 3
68
votes
4 answers

What is index.js used for in node.js projects?

Other than a nice way to require all files in a directory (node.js require all files in a folder?), what is index.js used for mainly?
alh
  • 2,321
  • 5
  • 27
  • 42
1
2 3
99 100