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
72
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
  • 721
  • 1
  • 5
  • 3
70
votes
1 answer

Package vs Library

I've just started working with CMake and I noticed that they have both a find_package and a find_library. And this confuses me. Can somebody explain the difference between a package and a library in the world of programming? Or, in the world of…
assignment_operator
  • 1,213
  • 4
  • 12
  • 14
69
votes
15 answers

libstdc++-6.dll not found

I have been working on a project (a game to be specific) and I feel that I should start over with different libraries. So when doing this I reinstalled Code::Blocks and setup my new libraries and includes. But as of now Im having a problem starting…
Molmasepic
  • 1,015
  • 2
  • 13
  • 18
66
votes
18 answers

The project was not built since its build path is incomplete

Every time I try to import a project downloaded from googlecode into Eclipse but I get some errors: The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try …
Angelo Tricarico
  • 1,333
  • 1
  • 19
  • 36
61
votes
5 answers

What does 4j mean?

I notice a number of java libraries use this as a suffix: log4j, couchdb4j, neo4j, launch4j, etc..
Verhogen
  • 27,221
  • 34
  • 90
  • 109
56
votes
4 answers

What scalability issues are associated with NetworkX?

I'm interested in network analysis on large networks with millions of nodes and tens of millions of edges. I want to be able to do things like parse networks from many formats, find connected components, detect communities, and run centrality…
conradlee
  • 12,985
  • 17
  • 57
  • 93
52
votes
9 answers

Java out.println() how is this possible?

I've seen some code such as: out.println("print something"); I tried import java.lang.System; but it's not working. How do you use out.println() ?
user69514
  • 26,935
  • 59
  • 154
  • 188
50
votes
1 answer

Add external libraries to CMakeList.txt c++

I have my external library as shown in this picture that I create the symbolic links after: and the headers related to the library in other file: I'm working with ROS ubuntu and I need to add these libraries to my package to…
Ja_cpp
  • 2,426
  • 7
  • 27
  • 49
48
votes
13 answers

Gradle failed to resolve library in Android Studio

I want to include a library in Android Studio , but it displays error like below : "Failed to resolve:com.lemonlab:expandable-button-menu:1.0.0" How to fix this problem? apply plugin: 'com.android.application' android { …
M. Johnson
  • 839
  • 6
  • 13
  • 22
47
votes
3 answers

Adding Joda Time to Android Studio

I got the file from the Joda site and followed these instructions for adding libraries but when I get to the Gradle sync I end up with the error: Gradle Sync Error:Configuration with name 'default' not found. Gradle Build Error:A problem occurred…
Cai
  • 5,063
  • 3
  • 18
  • 23
45
votes
15 answers

What are some interesting C/C++ libraries to play around with?

I'm looking for a few new libraries and for C and C++. In the past most of the time I "accidently" stumbled across a few - and most of them found good use in projects I worked on. Libraries should run on Mac OS X and Linux/POSIX and possibly on…
BastiBen
  • 19,679
  • 11
  • 56
  • 86
45
votes
1 answer

Installing C++ Libraries on OS X

I am trying to get my head around some basic concepts, but I can't seem to figure them out. I am really confused over what it means to install (I think they are called libraries) for C++. I am trying to install OpenCV, but I don't know what needs…
Giesbrecht
  • 592
  • 1
  • 6
  • 13
44
votes
1 answer

Haskell libraries overview and their quality

I want to use Haskell in production. It has a lot of libraties but not all of them are stable, ready-to-use and well-developed. Some libraries with interesting conceptions have experimental status. Many libraries are still in minor versions (0.0.1…
Alexander Granin
  • 963
  • 14
  • 20
44
votes
1 answer

Libraries in /usr/local/lib not found

I am building an application using a framework called ohNet. After building the framework, there is the possibility to install the framework via make install. By default the libraries are installed inside the /usr/local/[lib|include] folders. ok. I…
Moonlit
  • 5,171
  • 14
  • 57
  • 95
43
votes
4 answers

Where do I put third-party libraries to set up a C++ Linux development environment?

I'm not new in C++ although I'm new in Linux. I'm using CMake to precompile a cross-platform game engine with some third-party components, but I have a lot of doubts about using libraries. My question is how to work with third-party libraries and…
Killrazor
  • 6,856
  • 15
  • 53
  • 69