This tag should not be used. If your question is about a particular library, use the tag for that library instead. If it is about using libraries generally, use one of [libraries], [shared-library], [static-library], [class-library], etc. If it is about liberal politics, try politics.stackexchange.com.
Questions tagged [lib]
761 questions
38
votes
2 answers
What does the TypeScript "lib" option really do?
I have still not been able to find good answer for this. The "target" option defines, what version of Javascript the result will run on. The "lib" option is less clearly described anywhere. Seems like it is a more granular way to describe the target…

Morten H Pedersen
- 771
- 7
- 9
22
votes
3 answers
Installing GCC from source on Alpine
While trying to install GCC 6.4.0 on Alpine, I run into:
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the…

Gabriel Fernandez
- 580
- 1
- 3
- 14
20
votes
4 answers
Which type of #include ("" or <>) when writing a library in C/C++
I am writing a library in C++. The library has multiple headers and cpp files and needs to be cross platform (Windows Visual Studio and Linux gcc). When built the library and headers are installed in a system directory somewhere, where they can be…

Phil Rosenberg
- 1,597
- 1
- 14
- 22
13
votes
2 answers
How to set multiple output when build lib with vite
When I try to build a lib in vue3, I want to set multiple output file. Code like this:
rollupOptions {
output: [
{
file: 'bundle.js',
format: 'cjs'
},
{
file: 'bundle.min.js',
format: 'iife',
name:…

wubian
- 131
- 1
- 1
- 3
12
votes
1 answer
Is there any documentation for dnnlib: additional lib in projects of NVlabs?
There is special unified lib named dnnlib in noted projects from NVlabs like Noise2Noise, StyleGAN and etc. It seems like this lib was made for parsing and easy configuration, but it also participates in creating and managing tensorflow sessions.…

Arina Boiko
- 143
- 1
- 9
11
votes
4 answers
Flutter Release bundle or APK Crash on start, dlopen failed: library "libflutter.so" not found
my debuggin apk is working perfacet, but the release crashing on start, in emulator Pixel 3a api 30
here is my error log in android studio
2021-02-25 10:20:52.264 6454-6454/? E/FlutterLoader: Flutter initialization…

Shoaib Anwar
- 819
- 2
- 12
- 29
11
votes
5 answers
OSError: cannot load library 'gobject-2.0': error 0x7e
I installed the package weasyprint according to the instructions Installing weasyprint (Django project).
My system: win 10. I have installed gtk3 and it is present in my PATH
import weasyprint
...
@staff_member_required
def order_admin_pdf(request,…

Echo Foe
- 398
- 1
- 2
- 16
11
votes
1 answer
Where is libappindicator3.so.1?
I'm trying to install Google-Chrome on CentOS7(Linux 3.10.0-514.el7.x86_64).
The file (libappindicator3.so.1()(64bit)) is needed, but there is no such file on the https://pkgs.org/.
[leohu@SpaceX Downloads]$ rpm -ivh…

Guodong Hu
- 303
- 1
- 2
- 11
11
votes
1 answer
VS Code add library dependencies?
I want to add library dependencies to my project without having to copy and paste them to MinGW folders. Is there some way to do this through VS Code instead? Pretty much something similar to how Visual Studio works with the include paths.
NOTE: my…

Matthew
- 800
- 3
- 12
- 35
10
votes
1 answer
can't import Vue component built by vue-cli-service
I'm quite new in Vue and maybe my issue is trivial.
What I have to do:
I want to create a Vue component that I can put in a NPM private repo and import it into other projects with a sth like bundle.js file
TLDR:
can't import vue component building…

Oskar Kosowski
- 576
- 5
- 11
10
votes
1 answer
Can't find referenced method 'java.lang.Object injectMembers(dagger.MembersInjector,java.lang.Object)
Recently I upgrade Dagger 2.13 to 2.19, I have the below compile error at Proguard stage of this warning.
Warning: com.mypackage.MyClass_Factory: can't find referenced method 'java.lang.Object injectMembers(dagger.MembersInjector,java.lang.Object)'…

Elye
- 53,639
- 54
- 212
- 474
8
votes
3 answers
UVCCamera with samples, how import to android studio?
I want work with usb camera (uvc) and Android Studio (Windows). I am having problems with the USB cam library "libuvccamera". I want to know how solve the problems or any another way to get the view of the usb cam in my app. Let me explain better…

Ana
- 93
- 7
8
votes
2 answers
Issue in installing oracle 18cxe on ubuntu 18.04
I am trying to configure Oracle XE but am facing the below issue:
root@venky-Lenovo-G510:~# /etc/init.d/oracle-xe-18c configure
/bin/df: unrecognized option '--direct'
Try '/bin/df --help' for more information.
Specify a password to be…

venky513
- 321
- 2
- 15
8
votes
6 answers
Android Studio3.2 APK Build Error -> reserved file or directory name 'lib'
Android Studio Version 3.2 (AI-181.5540.7.32.5014246).
In Android Studio 3.1, I was able to build SignedAPK successfully.
But as soon as I made Android Studio 3.2, I could not build a SignedAPK at all.
What is the cause of this problem?
I have not…

user3323951
- 397
- 3
- 10
7
votes
3 answers
Webpack compile library preserve folder structure when importing into another project
I'm creating a library that exports a lot of React Components and also some TypeScript utilities used for multiple projects within my company. However, I can’t seem to do anything other than everything exporting from the root of the library.
I have…

rorypicko
- 4,194
- 3
- 26
- 43