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
30
votes
5 answers

MathML and Java

I've been doing some research for a mathematical Android related project I'd like to embark upon and I stumbled across for the first time MathML. Does anyone know of any Java libraries which can do any (preferably all) of the following…
Tom R
  • 5,991
  • 9
  • 35
  • 41
28
votes
2 answers

How to add libraries in C++?

Yea this is a dumb question... However in both of my C++ classes we did not do this at all (except for native libraries: iostream, iomanip, etc.)... My question is can anyone provide a link that gives the general explanation of adding libraries to…
anon235370
28
votes
1 answer

How to create a custom Python code library for the Robot Framework

I already have Python source files for some custom tasks. Can I create a custom library of these tasks as keywords and use in the Robot Framework?
Narendra Petkar
  • 480
  • 1
  • 4
  • 10
27
votes
3 answers

How do I find where a symbol is defined among static libraries

Suppose you work with a codebase comprising several tools and libraries and you want to port (or resurrect) some component within such codebase but any clue about where symbols lie within the various libs is either lost or will take ages to find out…
a1an
  • 3,526
  • 5
  • 37
  • 57
26
votes
1 answer

How to reference ASP.NET Core 6 types in .NET 6 library?

I am working on internal libraries for my organization. I need to reference certain types that normally "belong" to web apps, eg. to provide some extensions: WebApplicationOptions HttpContext If I use , i don't…
Rast
  • 2,341
  • 4
  • 20
  • 29
26
votes
3 answers

Create a static Haskell Linux executable

It's not often two things I love so much come together to cause me so much annoyance (besides my kids). I've written a Haskell program at work that uses libraries like text, xml-enumerator, attoparsec-text, etc. I have it working properly on my…
Michael Snoyman
  • 31,100
  • 3
  • 48
  • 77
25
votes
7 answers

OpenCV imread(filename) fails in debug mode when using release libraries

I have some C++ code and everything was working fine with OpenCV except the function imread(file). It was finding correctly the file and loading the name, but it wasn't loading any data. Mat pattImage = imread(fileName, 0); After some reaserch on…
Jav_Rock
  • 22,059
  • 20
  • 123
  • 164
25
votes
6 answers

Draw a music staff in C#

I am looking to draw a music staff on a .NET (C#) form. I am using Microsoft Visual C# 2010 Express. I was wondering if anyone knew of existing code or existing free .NET libraries that can help with that. I am looking at drawing both the treble…
JeffJak
  • 2,008
  • 5
  • 28
  • 40
25
votes
10 answers

How important is Boost to learn for C++ developers?

I am curious to learn Boost. But I wanted to ask: How important is it to make the effort to learn Boost? What prerequisites should one have before jumping on Boost? Why I am curious to know about Boost is that many people are talking about Boost…
Priyanka Mishra
  • 10,400
  • 18
  • 62
  • 75
25
votes
2 answers

Is there any way to include binary or text files in a Rust library?

I am trying to create a library and I want to include some binary (or text) files in it that will have data which will be parsed at runtime. My intention is to have control over these files, update them constantly and change the version of the…
Otobo
  • 714
  • 1
  • 7
  • 13
25
votes
2 answers

What is the purpose of the Android Private Libraries, Referenced Libraries and Android Dependies in android project hierarchy?

I want to know the exact use of Android Private Libraries, Referenced Libraries and Android Dependencies in an android project hierarchy?
Bruce
  • 8,609
  • 8
  • 54
  • 83
25
votes
5 answers

Convert XML to JSON object in Android

I have an XML string as shown below:
sharry
  • 370
  • 1
  • 5
  • 15
25
votes
5 answers

How do I hide Referenced Libraries in Eclipse's Java EE perspective?

Eclipse's normal Java perspective seems to hide Referenced Libraries just fine (in a "Referenced Libraries" folder in your project). Unfortunately, the Java EE perspective does not seem to have this same feature and enabling it is non-intuitive. Can…
Lee
  • 922
  • 2
  • 11
  • 19
23
votes
3 answers

Can I determine the version of a Java library at runtime?

Is it possible to determine the version of a third party Java library at Runtime?
Sean Patrick Floyd
  • 292,901
  • 67
  • 465
  • 588
23
votes
5 answers

Insight into how things get printed onto the screen (cout,printf) and origin of really complex stuff that I can't seem to find on textbooks

I've always wondered this, and still haven't found the answer. Whenever we use "cout" or "printf" how exactly is that printed on the screen?. How does the text come out as it does...(probably quite a vague question here, ill work with whatever you…
silent
  • 2,836
  • 10
  • 47
  • 73