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
8
votes
3 answers

PHP extension vs. library (and can it be converted)

Some php wamp/lamp packages come with php extensions packaged within like php_amf, php_db, php_gd2 and I just have to activate the extension, or install the extension if it doesn't come by default. My question in general is, how are these…
sami
  • 7,515
  • 8
  • 33
  • 37
8
votes
2 answers

Essential Swing libraries? JGoodies, JFreeChart

The wheel is invented over and over again - at least it seems so when looking at any average Swing GUI project. In many areas there are one or two very well known libraries for things not directly addressed by the standard class library, e.g.…
George Hawkins
  • 37,044
  • 7
  • 30
  • 43
8
votes
1 answer

Why matplotlib doesn't update in Anaconda to the 2.0 version

I was lately trying to update all my Anaconda packages: conda update conda conda update anaconda Some of them still were not updated, so I also did conda update --all. Right now my conda version : 4.3.16, which seems to be the latest release.…
Antonio
  • 325
  • 1
  • 3
  • 9
8
votes
6 answers

Compiled C++ program raises "cannot open shared object file" on another system though the file is present

I wrote a tiny program that requires some libraries including libboost_filesystem, libboost_program_options and libcurl. I compiled it on my home machine and took the binary to my computer at work to test it there. But there it gives the following…
tyrondis
  • 3,364
  • 7
  • 32
  • 56
8
votes
1 answer

My jar resource files in intellij are read only and I need to edit them

I have tried unsuccessfully for a few hours now to edit the java files in a jar I am using as a library. I have marked the resource as a content root and as a source root but I am still unable to edit the code in the jars. The project compiles and…
tony stew
  • 105
  • 1
  • 1
  • 8
8
votes
1 answer

Reason for "{return 0;}" or "{;}" in library's .h file

I am currently working on a project with some old poorly documented code, and am trying to navigate my way through the various .h files that they have provided complete documentation on the use of all of the functions contained (the definitions are…
rtmh
  • 439
  • 3
  • 9
8
votes
6 answers

The right way to deal with external libraries in java (using eclipse)

This is in a way a follow-up of a previously unanswered question of mine (link) which excalated over the past weeks, and now it has come to a point where I cant really develop anymore... So here's the deal; I have more of a mathematics/engineering…
posdef
  • 6,498
  • 11
  • 46
  • 94
8
votes
1 answer

Checking the version of an ipython library from Terminal?

I'm using iPython from the Anaconda distribution and I want to know how to check the version of some of the libraries from Terminal (using Mac), for example scikit_learn, but don't know the commands... could someone advise? Thanks!
SpicyClubSauce
  • 4,076
  • 13
  • 37
  • 62
8
votes
1 answer

How to create multiple instances of the same library with JNA?

I have a problem with Java Native Access: I have a C-library with one function, let' s say foo(). This function has a memory - a counter - with increases with every call. Is it possible to create two instances of this library within the same java…
Jens
  • 81
  • 5
8
votes
2 answers

How do I include libraries to a project in Visual Studio?

I am a beginner on C++ and trying to learn about including libraries, and I haven't found documentation about it. What are the ways of including libraries to a C++ project (Visual Studio). How do I implement them and which is the best way? I was…
Oscar Vasquez
  • 465
  • 2
  • 6
  • 14
8
votes
2 answers

ROS - Compilation fails due to Bzip2 libraries

I'm trying to compile a package using Ros Indigo. I'm using a Raspberry Pi running Raspbian. The BZIP2_LIBRARIES BZIP2_INCLUDE_DIR are missing. When I run the make command, I get the following error: -- +++ processing catkin package:…
UserK
  • 884
  • 3
  • 17
  • 40
8
votes
2 answers

What is the story for creating and consuming TypeScript libraries?

I've been using TypeScript here and there for web applications and have referenced public type definitions made available through Definitely Typed but one thing that has always eluded me is how one would go about creating reusable libraries in…
jpierson
  • 16,435
  • 14
  • 105
  • 149
8
votes
3 answers

Install Gson from Github

I'm just starting to learn Java and I need Gson for a new project that I'm working on. I feel like I'm missing something with all the installation instructions that I find online--all of them refer to three jar files that I should be able to extract…
TAS
  • 103
  • 1
  • 2
  • 7
8
votes
4 answers

How to build Boost::program_options

I wanted to use boost::program_options. After I installed boost, I think that I have to build separatly program_options (http://www.boost.org/doc/libs/1_43_0/more/getting_started/windows.html). But I don't know how to do it. I am trying to compile…
legami
  • 1,303
  • 6
  • 22
  • 31
8
votes
1 answer

Android Studio: Adding a library outside of the project root

I have two projects, A and B, and would like to share some code between them via a library project, C. What is the proper way to do this such that: A and B and C are all in separate projects. (Not in the same directory at all) Changes to C are…
M1LKYW4Y
  • 598
  • 1
  • 4
  • 19