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

Bundle python script with only the necessary libraries

I've found many discussions on bundling python scripts but I'm interested in bundling into a ZIP file my Python script that depends only on 2 libraries "JSON" and "PYMYSQL". Thus, I'd like to get a ZIP file that is containing my Python script with…
sammtt
  • 401
  • 1
  • 6
  • 14
1
vote
1 answer

Error after including a 2nd JNI library to my Android project (OpenCV)

I'm trying to add OpenCV to an existing Android project of mine but while merging them I ran into the following error: 12-08 16:15:21.951 22052-22052/ai.inbi.face_recognition_robot E/AndroidRuntime: FATAL EXCEPTION: main …
Unfixable
  • 440
  • 1
  • 7
  • 20
1
vote
1 answer

How to setup project using Alea GPU

(Sorry if this is really obvious, I'm completely new to GPU programming.) I have installed all of the dependencies for Alea GPU and the samples are compiling and running as they should. However, I'm not sure how to setup a new console or windows…
1
vote
3 answers

Does anyone know how to get rid of this error while trying to use GSON libraries?

I am using code (not written by me) with dependencies on GSON libraries. I have downloaded the libraries and when I try to include them in the project I get a duplication error. Specifically: Error generating final archive: Found duplicate file for…
NotACleverMan
  • 12,107
  • 12
  • 47
  • 67
1
vote
1 answer

Clifford library: Blade indexing causing key error

I am pretty new to Python and am trying to use some code I found online for an undergrad physics project. This code includes the clifford library, which is causing my problems. Given the syntax of the code and the fact that I installed it using…
q-compute
  • 641
  • 2
  • 7
  • 15
1
vote
2 answers

Do internal artifacts belong in a repository?

Our team is struggling with issues around the idea of a library repository. I have used Maven, and I am familiar with Ivy. We have little doubt that for third-party jars, a common repository that is integrated into the build system has tremendous…
David Corbin
  • 71
  • 1
  • 6
1
vote
1 answer

nlog not working for class library project

I have an MVC application that uses a couple of class library projects. I have implemented NLog for logging across all the projects. Each project (including the class library projects) have the NLog.config file. Logging works great for the MVC…
Cranialsurge
  • 6,104
  • 7
  • 40
  • 39
1
vote
0 answers

What if we don't install tensorflow under a new environment?

How come we need to install tensorflow as a separate environment? If we do it this way, many common libraries are not available when tensorflow is activated. Most of the common libraries such as matplotlib, panda, etc. are not within tensorflow…
saga
  • 736
  • 2
  • 8
  • 20
1
vote
2 answers

How to correctly include own libraries in function files and project files

I got stuck trying to do Exercise 8-3 of K&R, the goal of the exercise is to rewrite some functions of stdio.h such as fopen, fclose, fillbuf and flushbuf here's how my source files are organized: stdio.h: contains types and macro definitions, and…
ColdCoffeeMug
  • 168
  • 1
  • 13
1
vote
1 answer

"make all" twice in a row doesn't return "make: Nothing to be done for 'all'."

I've noticed a lot of questions about people having the message "make: Nothing to be done for 'all'.", however my problem is the opposite. Here is my makefile: ################# ## VARIABLES ## ################# # Environment OS := …
Jon Nimrod
  • 335
  • 1
  • 2
  • 12
1
vote
0 answers

Invalid MEX-file is not a valid shared library, fftw libraries

I have a problem with the following code. The compilation of the .mex file is done, but when I try to run it from the matlab script , I receive an error like Invalid MEX-file 'myfile.mexa64': 'myfile.mexa64' is not a valid shared library.. mex…
Ilias
  • 31
  • 5
1
vote
1 answer

Incorrect @libdir@ when building *.pc using config.site?

I'm working on Fedora x86_64. It uses /lib64, /usr/lib64 and friends. I have the following *.pc.in file: $ cat libcryptopp.pc.in prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ ... My config.site has the following.…
jww
  • 97,681
  • 90
  • 411
  • 885
1
vote
1 answer

You do not have access to library [xyz], used by your script, or it has been deleted

This was very likely a Google server error. Here are some details and the solution. This started at 8:55pm EDT (GMT -4) Friday, October 27 and continued for almost 3 days when I stopped waiting for it to fix itself like the last problem I commented…
1
vote
1 answer

Multiple classes in a single python file with different dependencies

If we have multiple classes in a single Python file, is it possible to import modules or libraries independently in those classes? I have found that unlike Java, Python has no style guide that suggests to separate classes in individual files. Even…
arshovon
  • 13,270
  • 9
  • 51
  • 69
1
vote
0 answers

ICU libraries missing in C on Ubuntu 17.10

I'm writing a small demo application (in C on Ubuntu 17.10 with the ICU libraries) that is supposed to convert an array of UTF-8 strings to an array of UChar strings and then sort them according to the locale. However, gcc is giving an error message…