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

How to include .jar library, that is inside java project and make application use this library that is inside application after compilation?

I know this question is probably very easy for you, but I have real problems with it. When I put, for example, apache commons-lang jar library into project's folder lib that is on the same level as src folder and add this jar library into project's…
Microz
  • 97
  • 1
  • 8
1
vote
1 answer

Will adding code as library increase the size of the App

I have an Android App named A. I create a new copy B with the same functionality but different package name. The difference between both the apps will be usage of different AD Network. I divide my Code into different libraries and upload them to…
Rajesh K
  • 683
  • 2
  • 9
  • 35
1
vote
1 answer

Are framework and libraries the more important bit of coding?

Coding is entirely new to me. Right now, I am teaching myself Python. As of now, I am only going over algorithms. I watched a few crash courses online about the language. Based on that, I don't feel like I am able to code any sort of website or…
abctest
  • 153
  • 1
  • 1
  • 8
1
vote
1 answer

Libraries inclusion,while coding in C++ in XCode

While doing my class assignment in XCode I faced the following: The program I created, compiles and runs with no errors and works properly without included libraries like cstdlib & ctime, even though it contains rand and time functions in it. As…
v.pashaliuk
  • 37
  • 1
  • 7
1
vote
1 answer

Undefined reference to sasl_x when build

I'm trying to compile my program with gcc using the librdkafka library, I receive this kind of error undefined reference to sasl_something //usr/local/lib/librdkafka.a(rdkafka_sasl_cyrus.o): In function rd_kafka_sasl_cyrus_close': …
Ilan
  • 479
  • 7
  • 17
1
vote
0 answers

Waf script '1.9.15' and library '1.8.19' do not match

I am currently working on NDN architecture (one of the ICN architecture) and for that i need ndn-traffic generator module. This module is available on github. You can find it here. The prerequisite for ndn-traffic-generator is ndn-cxx which is NDN…
Coding bat
  • 563
  • 6
  • 12
1
vote
1 answer

Maven doesn't update library references

I have a pretty big project that uses a local Maven repository to update libraries. Whenever I have to update the project I sync it with an SVN repo, then I launch a "maven clean -U install" through m2e on Eclipse to update and compile the…
Jeff Andonuts
  • 43
  • 1
  • 6
1
vote
1 answer

From Paperscript to Javascript

I'm trying to convert one of the Paper.js library examples (http://paperjs.org/examples/smoothing/) from PaperScript to Javascript. Following the documentation, I have Made the scope global Installed the event handlers onFrame and onResize Created…
CharlesM
  • 521
  • 1
  • 7
  • 16
1
vote
1 answer

Creating a Codeigniter Library

bit of a theory question this one. I would like to write my own library for codeigniter. It's going to be from connecting to different british Accountancy packages via API's. If it were a single package I was writing it for then I could create the…
user1530205
  • 302
  • 6
  • 19
1
vote
1 answer

Unable to add OpenAL library in Qt Creator

I want to add an audio library into my project but when I try to do this, I get this error message: cannot find -lOpenAL32d cannot find -lEFX-Utild error: ld returned 1 exit status I added the libraries by "add library" and then I chose the correct…
1
vote
2 answers

Python Library Reference/Usage

I'm trying to use a method from the BioPython package to calculate an isoelectric point for a list of given peptides. The class breakdown can be seen…
Vranvs
  • 1,411
  • 4
  • 17
  • 38
1
vote
3 answers

How to check what binary library file does python link to?

Some time ago, I installed dynet for Python and it worked fine. I installed it automatically with pip install git+https://github.com/clab/dynet#egg=dynet. Then, I wanted to add MKL support. So I installed dynet again manually, using the…
Erel Segal-Halevi
  • 33,955
  • 36
  • 114
  • 183
1
vote
2 answers

Python converting to exe including libraries?

So, I'm making a text based RPG in Python and I've converted the project to exe before but my question is, is there a way to make sure the libraries I've added work with the exe without the user needing python or the libraries? The ones in question…
user3238885
  • 31
  • 1
  • 3
1
vote
1 answer

Compiling a C++ program which uses sfml with mingw to port from linux to windows

I've messed with libraries a lot while trying to compile a simple program (main.cpp) which uses sfml but it doesn't compile. I'm really confused with mingw; how does mingw use gcc (g++ in this case) and how does it use the libraries? Check this…
alienCY
  • 225
  • 2
  • 12
1
vote
1 answer

installing multiple python packages by single python file

How to make a python file, which installs the mentioned python packages, on running that python file in console instead of installing packages one by one as we do by using pip I am also confused with setup.py is it same and if it is how to…
Lalit Vyas
  • 221
  • 5
  • 19