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
2 answers

Initial SessionFactory creation failed: java.lang.NoClassDefFoundError: javax/persistence/EntityListeners

SOLVED I added the Persistence JPA2.1 to the library The inicial error was solved, but now i have another one: Initial SessionFactory creation failed: java.lang.NoClassDefFoundError: javax/persistence/NamedStoredProcedureQuery Any…
NiB
  • 801
  • 1
  • 9
  • 26
1
vote
0 answers

Compatibility error when importing picasso library to android studio

this is my build.gradle file apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "25.0.3" defaultConfig { applicationId "com.villegas.juliana.dreavel_app" minSdkVersion 21 …
user7915730
1
vote
1 answer

Why is required to define a new class when I create a new Java module in Android Studio?

When we create a new java lib module in Android Studio, it's mandatory to provide a name for the java class. I never know what to give, since it's not common to have a central class in a library. What is the purpose of this class?
alexpfx
  • 6,412
  • 12
  • 52
  • 88
1
vote
1 answer

Jar loading DLL Can't find dependent libraries

I need to load a DLL is located somewhere out of my Jar file, but whenever I do try to run the Jar I get the following error: java.lang.UnsatisfiedLinkError: E:\test.dll : Can't find dependent libraries at…
WaliedYassen
  • 65
  • 1
  • 10
1
vote
2 answers

Migrate Eclipse ADT project to Android Studio: Error Multiple dex files define Landroid/support/v4

I have an old Android project made with Eclipse ADT and I'm trying to migrate it to Android Studio. I follow several guides and howtos and maybe I have almost migrated it. When I try to build it I get the following error: Error:Error converting…
smartmouse
  • 13,912
  • 34
  • 100
  • 166
1
vote
1 answer

IntelliJ IDEA 2017.1 Missing Javascript Libraries Menu in Settings

I am a bit confused... I have IntellJ IDEA 2017.1 and I am trying to set up some external JS libraries, as per the JetBrains documentation I should go to Settings > Languages & Frameworks > JavaScript > Libraries And from there download the…
Tony Morello
  • 462
  • 2
  • 19
1
vote
1 answer

WebStorm JS Libraries TypeScript Community Stubs not showing list

I might be missing something obvious but I can't figure out what. I recently installed WebStorm on my new computer and had no problem downloading TypeScript Community Stubs libraries like Angular, Mongoose etc. from the settings (I downloaded about…
Julz
  • 157
  • 1
  • 3
  • 9
1
vote
0 answers

Use users preinstalled .net library version - C#

I have created app in Visual C# which uses DotNet library. On my machine the app runs okay (obviously) and also on my second laptop which I use at work. Problem is - at work we have group policies enabled so that we cannot install anything.…
marhyno
  • 677
  • 1
  • 8
  • 20
1
vote
1 answer

How can I parametrize a callback function that I submit to an external library

Say I have an external library that computes the optima, say minima, of a given function. Say its headers give me a function double[] minimizer(ObjFun f) where the headers define typedef double (*ObjFun)(double x[]) and "minimizer" returns the…
akka
  • 23
  • 5
1
vote
1 answer

Importing Zbar into C++ project on macOS

I'm trying to use Zbar which is a barcode reading library with bindings for different languages and environments. I'm trying to use Zbar with C++. I have written C++ code but I don't know much about importing libraries and setting up my IDE to do…
Carpetfizz
  • 8,707
  • 22
  • 85
  • 146
1
vote
1 answer

Liberty migration

I had trying to migrate my project from WebSphere 8.0.0.12 to Liberty server. I tried to achieve this migration by resolving issues which mentioned in the analysis report generated by IBM migration Tool. One of these issues is Third-party APIs are…
Faouzi
  • 13
  • 2
1
vote
1 answer

what does linear_model signifies in sklearn?

In the implementation of Linear Regression using Python and other libraries (sklearn) the usual declarations we deploy are from sklearn import linear_model ....... .. regr = linear_model.LinearRegression() ... .. I know that LinearRegresssion is a…
Bhanu Chander
  • 390
  • 1
  • 6
  • 16
1
vote
0 answers

CMake: recursive dependency on external library

In a project second I build a library ADD_LIBRARY (second ) TARGET_LINK_LIBRARIES (second ${first_LIBRARIES}) where first was found with FIND_PACKAGE and is an external package. Now a project third that includes the library second…
Lio
  • 87
  • 7
1
vote
1 answer

Xamarin Android Fragments Libraries

I'm new in Xamarin IDE, i get a problem when i use Fragment, i need to use the Support Library, but when i compile the code, i get those errors: Error: 1: Severity Code Description Project File Line Suppression State Error …
Gabriel Gomes
  • 139
  • 1
  • 3
  • 20
1
vote
1 answer

Error in main.cpp: function in library "not declared in this scope", but actually it is

I ask for an help since I've read tons of similar Q&A, but none of them actually did help me. I wrote a library (libreria.h), with its "libreria.cc" and a main.cpp. Everything seems to be fine, but when I try to compile (I'm doing it on Ubuntu…
Kiki
  • 13
  • 3