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
1
vote
1 answer

My IDE cant find a library that I had imported. Error: "package does not exist"

I'm trying to work with Hydra library (http://sourceforge.net/projects/hydra-mcmc/) in my NetBeans IDE, but it seems like IDE ''cant see'' the library at all. I've made a screen shot: I've imported Hydra .jar file by clicking on "Libraries" and…
candylady
  • 57
  • 1
  • 9
1
vote
1 answer

Android Import library error DefaultGroovyMavenDeveloper

I'm a newbie android app developer using android studio, and I am trying to use sticky list headers from https://github.com/emilsjolander/StickyListHeaders. I do this by File -> New -> Import Module and I add the dependency. However I am getting the…
Dylan Zammit
  • 151
  • 8
1
vote
0 answers

How can I add DLL plugins to my C# application?

Simple question, but likely a big answer. I have a C# solution that comprises of multiple projects - I want to add the ability to drop in a DLL plugin that will "hook in" to the program and add additional functions. I want to be able to have entry…
Qjimbo
  • 377
  • 2
  • 11
1
vote
1 answer

Are there any simple and effective Open Source Java database-backed queue libraries?

I have a few different apps which need robust database-backed job/task queues, and so far I've had trouble identifying any promising candidates. I'd love some suggestions! BTW, by database-backed I intend something which persists job data and status…
Avi Flax
  • 50,872
  • 9
  • 47
  • 64
1
vote
1 answer

Add and link mysql libraries in a cmakelist.txt

I'm working in a project where I need to use MySQL LIBRARIES. I had success in the past, using a simple makefile where I wrote the specific flags. CFLAGS+=`mysql_config --cflags` LIB+=`mysql_config --libs` However... for my project is required to…
core
  • 13
  • 1
  • 4
1
vote
2 answers

C++ - building libraries

I'm building static libraries (right now libpng) in Microsoft Visual Studio 2008 SP1. Do I have any possibility to build single library (one file) for both Debug and Release modes assuming that my library has only C code in it? As far as I remember,…
Yippie-Ki-Yay
  • 22,026
  • 26
  • 90
  • 148
1
vote
0 answers

Java zip library which works with symlinks

I have folder with many symlinks in there and I need to zip/unzip them in way that all links will be saved. Can any Java ZIP library make this ? Maybe libraries have special configurations for this ?
1
vote
0 answers

name of convention to export libraries

I'm trying to start a library, and i would like to export with require, exports or other types.. I see in the major libraries a code like this: (function(factory) { // Establish the root object, `window` (`self`) in the browser, or `global` on the…
user5487299
1
vote
2 answers

How to add/use libraries in Python (3.5.1)

I've recently been playing around with python and have now expanded into doing stuff like scraping through websites and other cool stuff and I need to import new libraries for these things like lxml, pandas, urllib2 and such. So I have Python 3.5.1…
Hello Mellow
  • 169
  • 2
  • 15
1
vote
1 answer

Error replacing Fragment

I made a libraries activity with a library. This library is the library: https://github.com/mikepenz/AboutLibraries The problem is i get ann error if i try to replace the fragment i created (i created correclty, i am quite sure) This is the activity…
Jonathan I
  • 240
  • 1
  • 4
  • 18
1
vote
2 answers

Make error in caffe

Output for 'make all' [root@parags-pc caffe]# make all CXX src/caffe/layers/batch_norm_layer.cpp CXX src/caffe/layers/sigmoid_layer.cpp CXX src/caffe/layer.cpp CXX src/caffe/layer_factory.cpp CXX src/caffe/data_transformer.cpp AR -o…
Parag
  • 655
  • 4
  • 7
  • 19
1
vote
1 answer

Linking against .a, but still need .so? (C++, linux)

Under what circumstances would I link an application against a bunch of .a files, but still require .so files at runtime?
KBMasher
  • 11
  • 2
1
vote
0 answers

How to install library from source code, without any config nor Makefile?

Sorry for what is likely a simple question -- still getting a handle on Linux. I've been attempting to install the 'FreeMODBUS' library, however judging from the website, it is somewhat outdated. The download link leads to nowhere, however the…
TolkienWASP
  • 309
  • 1
  • 3
  • 10
1
vote
1 answer

difference between class libraries and individual classes

Can someone clarify for me what the difference is between class libraries and individual classes? What are the advantages/disadvantages of each and when to write each? Thanks
1
vote
2 answers

How do different versions of R manage to seemingly automatically download different appropriate package versions from CRAN?

And can I exploit this to write a function or process that downloads packages (and package dependencies) for specific versions of R with only 1 R installation available? Background I work at a site with a number of R versions installed, primarily on…
DJMelksham
  • 183
  • 7