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

Export all used libraries from intellij/maven

I need to copy and zip all of the libraries I used in a specific intellij-project. I did some Arquillian testing and therefore I can't quite copy them all by hand. I created the project using maven and downloaded all the dependencies this way. I…
Patrick Malik
  • 185
  • 1
  • 11
1
vote
1 answer

Compiling of complex_Bessel_function library - linking with Fortran code - mex file

I have made a .cpp code that uses the following online library: Complex_Bessel_functions. I want to make a .mex file out of my code. When I am typing: mex GUSTAVsolution.cpp Matlab gives the following errors: Error using…
Ilias
  • 31
  • 5
1
vote
0 answers

OpenMP symbol information

I'm reading Intel VTune documentation about OpenMP and I found this: To analyze an OpenMP application compiled with GCC*, make sure the GCC OpenMP library (libgomp.so) contains symbol information. To verify, search for libgomp.so and use the nm…
justHelloWorld
  • 6,478
  • 8
  • 58
  • 138
1
vote
2 answers

In what file a C function is defined?

Let's say I want to call a C function: printf, getpid, socketpair or any other standard C function from my code in Assembly language. I know how to do that in terms of implementation. However, I'll also have to know where one of those functions…
Torito
  • 305
  • 1
  • 11
1
vote
0 answers

Is a good idea to add references to a C# repository?

I have a project that uses several libraries, is it possible to add those libraries (that i've imported with NuGet) to the Git repository, and if so is it a good idea to do such thing? Sorry if the question is off-topic or not relevant, but I'm…
a.ras2002
  • 385
  • 2
  • 7
  • 21
1
vote
1 answer

Webpack for component library

Let's imagine the following structure for a component library: /my-library - /src - /components - Button.js (ES6 + React) - Anchor.js (ES6 + React) - index.js (ES6) Now I want to prepare this library for production, and this…
Alan Souza
  • 7,475
  • 10
  • 46
  • 68
1
vote
0 answers

Need to get all Stylesheets from a website by URL - JAVA

Hi guys I need for my project a CSS parser. I just look around and I find always the same libraries. But they don't have the implementation for obtaining the CSS file or code from a website. All of them need local files that I don't have because I…
Guchelkaben
  • 1,205
  • 1
  • 12
  • 18
1
vote
1 answer

mman.h does import mmap function but fails to import mremap

So I wanted to use the mremap function to more easily work with memory mapped files but an implicit declaration error is raised addr = mremap(addr, len, len_file, MREMAP_MAYMOVE); I do include the required libraries, if i didnt the line addr =…
Goamaral
  • 299
  • 2
  • 4
  • 15
1
vote
2 answers

Neuroph in Eclipse

I'm trying to use the Neuroph Neural Network libraries in Eclipse. The readme states: To use Neuroph in your Java appliacation add reference to neuroph-core-x.x.jar (and all other jars you want to use), and import required classes. All aditional 3rd…
gunkan
  • 43
  • 4
1
vote
1 answer

Make gcc -x somelang link with an arbitrary library file without -L'ing its directory?

I have a source file which is named foo.bar and for the purpose of this question cannot be renamed or linked to. Say it's a C++ source file. Now, I want to compile it and link it, in the same command, using a library at path/to/weird_lib_file. Now,…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
2 answers

How can I resolve a conflict between 32-bit and 64-bit libraries for GMP?

I am trying to use the GNU Multiple Precision (GMP) library in a C++ project. When I try to compile my code (using g++ project.cpp) I get the following output: Undefined symbols for architecture x86_64: "___gmpz_clears", referenced from: _main in…
john
  • 111
  • 2
1
vote
0 answers

Exclude examples folder from npm (node_modules)

I'm having some projects in Eclipse, and two of them are angular apps. I've downloaded and installed some libraries using npm install, but now in Eclipse, I've got a lot of validation errors coming from the /examples and /test folders. I know it's…
Joetjah
  • 6,292
  • 8
  • 55
  • 90
1
vote
3 answers

The location of standard Python libraries?

It is stated in Python documentation here that: By default, the libraries are searched in prefix/lib/pythonversion and exec_prefix/lib/pythonversion, where prefix and exec_prefix are installation-dependent directories, both defaulting to…
Ammar Alyousfi
  • 4,112
  • 5
  • 31
  • 42
1
vote
1 answer

Cannot add libraries to xtext Project in Eclipse (returns error)

Firstly, I created an xtext project using default values (with the simple Greetings grammar which comes as an example). I created then a .java file with some code (that can be seen below) and added it to the validation folder. I have loaded some…
1
vote
0 answers

What are the best practices on editing CMake files? Portability issue

As an example, I have a package that uses common libraries like boost and opencv. I have installed these packages in special locations like ~/libs/boost/build, in contrast to /usr/local default locations. In my package CMake I call boost and open cv…
Courier
  • 920
  • 2
  • 11
  • 36