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.

3395 questions
20
votes
3 answers

Using the Arduino libraries for regular AVR code

I have an Arduino Uno and a Linux environment. Though the Arduino IDE is great and all, however it doesn't give me much inputs if something goes wrong. And it also becomes excruciatingly slow and stops communicating with the chip sometimes. The…
Adwait Dongare
  • 301
  • 1
  • 3
  • 13
20
votes
6 answers

How are low-level libraries made?

When I go and make a C++ application I generally use libraries like SDL or WxWidgets and so on. But if I were to make a library would I need to use a library to make a library? Or can I make the entire library out of core C++ code, is this even…
DavidColson
  • 8,387
  • 9
  • 37
  • 50
19
votes
7 answers

Objective-C Library for Sunrise and Sunset?

Is there an Objective-C (or C) library (that is compatible with core location) that can tell me the time of sunrise and sunset for any given calendar day?
Moshe
  • 57,511
  • 78
  • 272
  • 425
19
votes
4 answers

Is there an intelligent way to know the name of the library to link to at compile time? (Linux/Kubuntu)

Please bear with me. I really want to know as I am curious about the answer: Is there an intelligent way to know the name of the library to link to at compile time? Allow me to give you an example that illustrates perfectly the reason for my…
augustin
  • 14,373
  • 13
  • 66
  • 79
19
votes
1 answer

The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

I am writing a simple Java program on Eclipse. import java.util.HashMap; public class Demo { public static void main(String[] args) { HashMap hash = new HashMap(); } } The above program generates the following…
ashwin1907
  • 261
  • 1
  • 2
  • 6
19
votes
3 answers

What is the "Android Private Libraries" folder in Eclipse?

I initially thought it was exclusively for official libraries like the support library. However any time I add a custom JAR using the "Add to build path" menu item, it automatically shows up in both "Referenced Libraries" and "Android Private…
Monstieur
  • 7,992
  • 10
  • 51
  • 77
19
votes
3 answers

Libraries for constructing an interactive shell for Java application

I am looking for libraries for Java that will allow me to create an interactive shell. I have done some search around and have not turned up a whole lot. Most of what I have found is libraries for adding command argument parsing to my application…
AtomicPorkchop
  • 2,625
  • 5
  • 36
  • 55
18
votes
4 answers

What is the difference between system call and library call?

Can someone explain the differences for these two in linux? Please go as deep as possible into each step the operating system takes.
drdot
  • 3,215
  • 9
  • 46
  • 81
18
votes
1 answer

linking opencv libraries with g++

Hello I am trying to compile a c++ file taken from this website: http://opencv-code.com/tutorials/eye-detection-and-tracking/ for eye-tracking. But I am kinda new to this and I don't really understand how libraries are linked. I know the absolute…
kaligne
  • 3,098
  • 9
  • 34
  • 60
17
votes
4 answers

Recurrence Library for date calculations for .Net

is there a free recurrence library that is available that we could use ?, we are looking for something like we supply the date time and the type of recurrence (daily, Monthly, Weekly and the interval(say for every 2 weeks or months or days) and we…
Nen
  • 171
  • 1
  • 1
  • 3
17
votes
2 answers

Why do we need cmake?

I don't understand, why do we need cmake to build libraries ? I am sorry if my question is stupid, but i need to use some libraries on Widnows, and what ever library i choose i need to build it and/or compile it with cmake.. What is it for ? Why…
Vess
  • 249
  • 1
  • 3
  • 10
17
votes
3 answers

Android NDK - OpenGL ES Tutorial/Libraries

Hey! Im looking for an OpenGL library/framework to handle basic drawing code etc for me. Otherwise im also looking for some NDK and OpenGL ES tutorials, I cant seem to find anything out there! Any information would be helpful cheers. Adam
Mimminito
  • 2,803
  • 3
  • 21
  • 27
16
votes
4 answers

EMR notebooks install additional libraries

I'm having a surprisingly hard time working with additional libraries via my EMR notebook. The AWS interface for EMR allows me to create Jupyter notebooks and attach them to a running cluster. I'd like to use additional libraries in them. SSHing…
16
votes
1 answer

Is there a statistics library for PHP?

I need to find a polynomial regression line, and I'm using PHP - is there a library or 3rd part script that will do this for me? If it can do ANOVA as well that would be a bonus, but mainly, I need to find regression lines. I don't know how to…
Benubird
  • 18,551
  • 27
  • 90
  • 141
16
votes
3 answers

Where should I put third-party libraries?

I contribute to a decent-sized C++ project with a number of dependencies. The problem is, the project contains the source of all of its dependencies (e.g. pcre, zlib, etc.). I want to trim the project down to just what's relevant to the program…
Twisol
  • 2,762
  • 1
  • 17
  • 17