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

Is it ever okay to have a class as a collection of methods and no properties?

I'm writing a bunch of generic-but-related functions to be used by different objects. I want to group the functions, but am not sure if I should put them in a class or simply a flat library file. Treating them like a class doesn't seem right, as…
Old McStopher
  • 6,295
  • 10
  • 60
  • 89
7
votes
6 answers

Duplicate class in classes.jar on build project after update of Android Studio

I have recently update Android Studio to the latest version and since I have been facing problem with the libraries connecting to it. The latest problem faced is the following: Cause 1: java.util.concurrent.ExecutionException:…
coder
  • 5,200
  • 3
  • 20
  • 45
7
votes
0 answers

how to include library project in Jacoco coverage report?

Already included with mainSrc: root > src > main > java Library I want to include (myLibrarySrc): root > libraries > myLibrary > src > main > java My attempt inside task jacocoTestReport: def mainSrc = "$project.projectDir/src/main/java" def…
user2892437
  • 1,111
  • 1
  • 14
  • 22
7
votes
1 answer

VueJs: importing custom js libraries

I have a VueJS project that I started it with vue-cli webpack. I have a javascript library with functions that I need in all components. I wonder where I need to place this folder and how to call the functions from JSLibrary1 in…
user2419831
  • 181
  • 4
  • 11
7
votes
1 answer

F# Tuple Constant never initializes

I've declared a tuple like this: module MyModule = let private INVALID_TUPLE = ("0", DateTime.MinValue) When I reference it lower in the module, it's always null: let private invalidForNone someOtherTuple = match someOtherTuple with | None ->…
dudeNumber4
  • 4,217
  • 7
  • 40
  • 57
7
votes
2 answers

Set jar file to remove lib from classpath using NetBeans

I am using NetBeans 8.1, Apache Ant 1.9.4, and Java 1.8.0_66. In our local network deployment environment, we have an apps directory with a /lib subdirectory. We have a library (Library.jar) in /lib which is dependent on other libraries (Dep.jar)…
Weasemunk
  • 455
  • 4
  • 16
7
votes
1 answer

Troubles linking to a static library on windows with CMake

LS, I'm trying to build a static and dynamic library that can be used to link with both dynamically and static. I would like the library to run on as many platforms as possible no matter the compiler used. In order to build the library and a few…
hetepeperfan
  • 4,292
  • 1
  • 29
  • 47
7
votes
1 answer

How do i add libraries to CodeLite projects?

I recently started using CodeLite since i though that it would be a great software, but i don't know how to add libraries to projects. Can anyone help me out ?
Major Spawn
  • 71
  • 1
  • 1
  • 4
7
votes
2 answers

Using 3rd party java libraries, like com.jcraft.jsch, with clojure

I'm experimenting with clojure and am trying to get a feel for using 3rd party libraries. I've been able to download some source, bundle it into a jar file with leiningen, put it in my classpath and (use 'lib.etc) in my script. I've also played…
Doug F
  • 350
  • 2
  • 10
7
votes
2 answers

Compiling: //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing

I am having trouble compiling code intended for 32bit unix system on my 64bit Ubuntu, Linux. Does anyone have any ideas what may be the problem? gcc main.o test.o render.o transform.o model.o vector.o color.o -o the_thing -lSDL /usr/bin/ld:…
Cat Matrix
  • 81
  • 1
  • 1
  • 2
7
votes
1 answer

Does a simple delphi form app needs any libraries or dependencies to deploy?

I need to code a simple form application and I want to make it easy to deploy (without installing libraries or dependencies), I don't want to use visual studio cpp or csharp because clr apps compile with .net frameworks and I have no much experience…
peterg
  • 137
  • 1
  • 1
  • 6
7
votes
6 answers

GHC 6.12 and MacPorts

I recently installed (from the binary installers) GHC 6.12 and the Haskell Platform 2010.1.0.1 on my Intel MacBook running OS X 10.5.8, and initially, everything worked fine. Edit: I had to install cabal, alex, and happy from source, but after…
Antal Spector-Zabusky
  • 36,191
  • 7
  • 77
  • 140
7
votes
6 answers

Replacement for PHP's __autoload function?

I have read about dynamically loading your class files when needed in a function like this: function __autoload($className) { include("classes/$className.class.php"); } $obj = new DB(); Which will automatically load DB.class.php when you make a…
Josh
  • 277
  • 2
  • 4
  • 7
7
votes
3 answers

Easy methods of installing and having access to the GDAL library?

The GDAL library homepage implies that people who arrive there already know what they are doing. I work with ArcGIS, and am unfamiliar with intricate setups with library dependencies as GDAL suggests. Is there an easy "package" i can download? I…
em kay
  • 71
  • 1
  • 2
7
votes
2 answers

How to install third party libraries

I'm sorta new to C++ and I've decided to try and use odeint to do some simulations because python is too slow for my needs. I found this package, which I want to play with. I'm just not totally sure how to install or where to place these libraries.…
Matt
  • 3,508
  • 6
  • 38
  • 66