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
7
votes
1 answer
Import third party js files to angular typescript project
During my experience in angular I was forced to use four different ways of include 3-rd party library poliglot.js (for multilang).
So to be able use new Polyglot(...) in my Lang class:
export class Lang
{
...
constructor() {
…

Kamil Kiełczewski
- 85,173
- 29
- 368
- 345
6
votes
2 answers
R load error - libproj.so.13: cannot open shared object file: No such file or directory
I am trying to install CRANs population genetics package hierfstat; however the following error with libproj.so.13 is printed:
> install.packages("hierfstat")
Installing package into ‘/home/ecoevo/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is…

Luis Rodrigo Arce-Valdés
- 83
- 1
- 6
6
votes
2 answers
Python Barplot to represent Ranges
I want to make a categorical plot in python to represent the range of several variables. I thought maybe I would use a bar plot and set ranges for the bars. Here is my bar plot
import matplotlib.pyplot as plt
import numpy as np
data = {'a':.3, 'b':…

codes4toads
- 65
- 1
- 1
- 5
6
votes
0 answers
What is the best way to build pure Vue components using Typescript
I'm building new project using Typescript, Vue, webpack and lerna to manage related packages.
Structure of my project is:
/packages
/lib-vue-components
/lib-ts-components
/app
lib-vue-components are meant to be reusable components…

abradas
- 91
- 4
6
votes
1 answer
code execution cannot proceed because cpprest_2_10.dll was not found
My aim is to use the Rest API in Visual Studio.
I downloaded the C++ tool vcpkg from https://github.com/Microsoft/vcpkg and followed the instructions on https://github.com/Microsoft/cpprestsdk to install cpprestsdk. That worked fine.
Then, in Visual…

johnny9876
- 61
- 1
- 1
- 2
6
votes
2 answers
Fatal error LNK1104: cannot open file 'libboost_log-vc141-mt-gd-1_64.lib'
I'm writing a program which utilizes Boost logging features and consequently, when attempting to build the said program, I'm getting the following error when generating code (on Visual Studio 2017):
1>LINK : fatal error LNK1104: cannot open file…

Dash
- 306
- 1
- 3
- 16
5
votes
1 answer
What does 'target_link_libraries' do when the target is a static library and the target link is a static library too?
From the following example:
CMakeList.txt file:
include_directories(inc)
# Grab all the cpp and h files to be compile.
file(GLOB SOURCES
inc/*.h
inc/*.hpp
src/*.cpp
)
add_library(MyStaticLib STATIC ${SOURCES}…

links4848
- 53
- 1
- 3
5
votes
2 answers
How to rename/revise target file with version number on installing in CMake?
I'm using CMake-3.13.4 and KDevelop-5.2.1.
I have a topmost CMakeLists.txt that defines the version numbers of my target.
It looks like:
set( PROJECT_VERSION_MAJOR 1 )
set( PROJECT_VERSION_MINOR 4 )
set( PROJECT_VERSION_PATCH 7 )
...
add_executable(…

Leon
- 1,489
- 1
- 12
- 31
5
votes
2 answers
Can't add android library to JCenter
I am trying to publish the library to JCenter with Bintray, according to this article: https://medium.com/@anitaa_1990/6-easy-steps-to-upload-your-android-library-to-bintray-jcenter-59e6030c8890.
I successfully added the library to Bintray, but when…

Andrii Chernysh
- 365
- 3
- 13
5
votes
2 answers
Get Python to look in different location for Lib using Py_SetPath()
I have embedded Python in an application, foo.exe. When it runs, the Python is invoked and immediately looks for Lib. The only way I can get it to work is to place Lib (Python's Directory Library of modules) in the location as foo.exe.
Is there…

Jiminion
- 5,080
- 1
- 31
- 54
5
votes
2 answers
How to find the default search path for object code libraries on Mac OS X?
The man page of dyld (the dynamic link editor) says:
DYLD_FALLBACK_LIBRARY_PATH ... is a colon separated list of directories that contain libraries. It is used as the default location for libraries not found in their install path. By default, it…

i7pj3qnuz
- 181
- 3
5
votes
0 answers
Qt OLEAUT32.DLL, COMDLG32.DLL not registered?
I'm developing a new software in Qt but since a few days I get some confusing error messages when I run the project:
mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!75FEEF12: (caller: 75FEE58F) ReturnHr(1) tid(10a0) 8002801D Bibliothek…

ke_let
- 71
- 1
- 5
4
votes
2 answers
How do you make clang link directly to a DLL in Windows without a .lib
TinyCC and GCC both have supported lib-less linking, in favor of directly linking to a DLL file for some time (since lib's haven't had real purpose since Win3.1). But for some reason in Windows, Clang insists on interpreting the .dll file as a .lib…

Charles Lohr
- 695
- 1
- 8
- 23
4
votes
0 answers
maven-publish missing artifact to repository
II'm trying to publish my lib but i'm having some problems related to its publication.
I'm using this library https://github.com/vanniktech/gradle-maven-publish-plugin to publish my project on maven central (oss), but, this for some reason only…

Thiago Souto
- 761
- 5
- 13
4
votes
0 answers
liblz4-java*.so files generated in directory other than the one specified by java.io.tmpdir
We are using redisson-3.11.3 in tomcat webapp which has dependency to lz4-java (version 1.4.0) as following:
https://github.com/redisson/redisson/blob/redisson-3.11.3/redisson/src/main/java/org/redisson/codec/LZ4Codec.java
The tomcat\bin\service.bat…

Hitesh
- 121
- 3
- 14