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

Add external c++ libraries to a CLion project

I am using CLion from Mac, and i'm having problems to understand how can i add external libraries to my project. So, how can i add external libraries to a c++ project?
PazzoTotale
  • 411
  • 2
  • 5
  • 14
22
votes
2 answers

React Native: How to split a file up into multiple files and import them?

I am writing my first app in react native and my js file is getting pretty big. What is the proper way to split the file up. If i have something like var MyClass = React.createClass({ ... }) Can I save it at myclass.js and include in by some…
22
votes
3 answers

What is libg2c library?

I have found the code which links against of 'g2c' library. Why do I need it? Just would like to understand why it might be important and what it does in general. Thanks!
musthero
  • 1,267
  • 3
  • 13
  • 18
22
votes
5 answers

Dynamic and Static Libraries in C++

In my quest to learn C++, I have come across dynamic and static libraries. I generally get the gist of them: compiled code to include into other programs. However, I would like to know a few things about them: Is writing them any different than a…
Austin Hyde
  • 26,347
  • 28
  • 96
  • 129
21
votes
1 answer

Correct way to use third-party libraries in cmake project

I'm working on project that use some third-party libraries. I can clone and put them into my project as a git submodule and use add_subdirectory to use them in my project. But it take much time to compile these libs, and I can not manage cmake…
Phạm Văn Thông
  • 743
  • 2
  • 7
  • 21
21
votes
9 answers

CodeIgniter and Javascript/Jquery Library

As title said, I'm trying to figure out how to use javascript and jquery libraries on CI. Following instruction in the docs, I load the library in my controller: $this->load->library('javascript'); Then, I define the location of the jQuery file…
Luciano
  • 1,455
  • 8
  • 22
  • 52
21
votes
1 answer

What are the libraries linking options in Xcode?

As of Xcode 7, there are some library/framework linking options in Xcode Go to application Target in project tab General -> Embedded Binaries General -> Link Frameworks and Libraries Build Phases -> Target Dependencies Build Phases -> Link Binary…
onmyway133
  • 45,645
  • 31
  • 257
  • 263
21
votes
1 answer

iOS 8 Expected a type

I have the UIScrollViewSlidingPages and the SSPullToRefresh libraries in a lot of projects, but suddenly, I'm getting this weird errors in this new iOS 8 project. #import @interface TTSlidingPageTitle :…
diogo.appDev
  • 1,595
  • 5
  • 16
  • 30
21
votes
2 answers

Working with and importing external libraries / frameworks in Java

Firstly this is a very n00b question. But being a junior dev I've never needed to import and work with other Java Frameworks. The standard library was always good enough for me to write the classes I needed to write. But now getting exposed to more…
user818700
20
votes
2 answers

Linking libraries with gcc: order of arguments

As soon as I upgraded my Ubuntu distro to 11.10, I started seeing strange linker behavior with gcc. I was able to fix the problem by moving my -l arguments to the end of the gcc command (my problem was similar to the one described in this thread,…
Daniel Standage
  • 8,136
  • 19
  • 69
  • 116
20
votes
6 answers

Is there a .Net Statistics library with T-Tests and p-values?

Does anybody know of any good and free statistics libraries for .Net? I am working on calculating T-Tests, which I have written a formula to calculate, although now I need a formula for the p-value, which is a little more complex, and not being a…
Darren Young
  • 10,972
  • 36
  • 91
  • 150
20
votes
6 answers

Using an imported module inside Google App Script

I am trying to use string similarity inside Google App Script, however it is not entirely clear to me how to get it working inside App Script, I get multiple errors, such as "require" is not defined, as another note, the module itself appears to…
Alejandro Jurado
  • 137
  • 1
  • 3
  • 15
20
votes
4 answers

DotNumerics, AlgLib, dnAnalytics, Math.net, F# for Numerics, Mtxvec?

I’ve been searching Google and Stack Overflow like crazy for days and have yet to find any recent, completely relevant information to answer the following question: What are the best C#/F#/.NET math libraries (specifically, those that wrap or…
Abe
  • 156
  • 5
  • 17
20
votes
2 answers

What C++ library do I need to get this program to compile

When I try to compile my program I get these errors: btio.c:19: error: ‘O_RDWR’ was not declared in this scope btio.c:19: error: ‘open’ was not declared in this scope btio.c: In function ‘short int create_tree()’: btio.c:56: error: ‘creat’ was not…
neuromancer
  • 53,769
  • 78
  • 166
  • 223
20
votes
5 answers

Update composer dependencies from command line

I am currently working with symfony2 and I want to launch to download the libraries I need. I know the command in linux is "$ ./composer.phar update --dev" however when I run this in windows it prompts whether I should open the file with the windows…
applecrusher
  • 5,508
  • 5
  • 39
  • 89