Questions tagged [lib]

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.

761 questions
2
votes
1 answer

using a library (ocrodjvu) that used to be installable through pip but now isn't?

I'd like to add a feature that was implemented in another project distributed under GPL3, which is based on the ocrodjvu library, which used to be installable through pip and is now not. The library was transferred to python3. I tried to install it…
2
votes
1 answer

Failing to load font in SFML

Problem description I'm trying to write some text to the screen, but it feels like no matter what I do i always get: Failed to load font "../assets/Font.ttf" (failed to create the font face) A very simple example of the…
Villiam
  • 21
  • 3
2
votes
1 answer

java.lang.ClassCastException: class org.springframework.web.servlet.DispatcherServlet cannot be cast to class jakarta.servlet.Servlet

I've seen answers to questions similar to mine, but I've tried everything, the error doesn't go away. I understand that the api servlet classes are loaded by two different class loaders because there are multiple sources in the web deployment…
2
votes
1 answer

Error: libnode.so.64: cannot open shared object file: No such file or directory - node-rdkafka

So I get this annoying error: I saw some posts talking about it, however, either they don't have an answer, or the answer didn't help me solving this error. I had this error before, and I can't remember how I solved it. This error came after I…
Chopin
  • 113
  • 1
  • 10
2
votes
0 answers

running libserialport in any event loop

I am trying to integrate libserialport library to a solution which can use poll, libev and libuv. while its relatively easy to get the fd for the serial port file from libserialport and watch it using libev or libuv, uv_poll_init(loop, &poller,…
2
votes
2 answers

How to forward the macro args to format func?

#define LOG_INFO(str, ...) \ logger.NewLogStateMent(__FILE__, __LINE__, \ fver::base::log::Logger::LogLevel::kInfo, str, \ …
fan
  • 21
  • 1
2
votes
1 answer

libncurses.so.5 library missing in UBUNTU 22.04 installation for ARM64 (rapsberry PI 4)

I'm trying to run some 32bit application using wine and Box86 on UBUNTU 22.04 64bit and it seems that libncurses.so.5:i386 are missing. I tried to install those libraries as per this stack exchange question error while loading shared libraries:…
Krzysztof Fajst
  • 151
  • 3
  • 14
2
votes
0 answers

How to make annotationProcessor transitive from custom lib

I'm using my own lib, which configuring core dependencies and other stuff for micro-service product (some kind of custom starter). To make dependencies transitive (auto-import in inherited projects) i'm using gradle api(dependency) in lib…
2
votes
2 answers

vcpkg manifest install system wide

Just tried Vcpkg Manifest on my cmake project and it is cool, with exceptions however. My project depends on opencv and it takes a long time for vcpkg to install opencv. So I realized I don't want vcpkg downloawding/installing opencv every time I…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
1 answer

.dll vs .dll with exports, what's the difference?

On Visual Studio 2019 create new project shows the following: Dynamic-Link Library (DLL) Dynamic-Link Library with exports (DLL) Before I though we have static libraries and dynamic libraries. So what's the difference? Do we also have this kind…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
0 answers

cmake SHARED won't generate .lib on Windows?

On macOS I managed to build my own small SHARED library based on fmt, while installing it with vcpkg and building the project with cmake. Now on Windows I have: CMakeLists.txt cmake_minimum_required(VERSION 3.19.1) set(CMAKE_TOOLCHAIN_FILE…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
3 answers

react-native-dropdown-picker Can't selected item from renderlistitem

Hi everyone I am having trouble that's when I use RenderListItem to customize the list item, I can't click on item in that list, But I can do it on a normal list (without renderlist) I don't know why Hope everyone can help me Thanks this is my…
2
votes
0 answers

Failed to load plugin 'import' declared in 'package.json » eslint-config-react-app': Cannot find module 'eslint'

Failed to load plugin 'import' declared in 'package.json » eslint-config-react-app': Cannot find module 'eslint' Require…
Divya
  • 21
  • 2
2
votes
0 answers

MASM/LINK or LIB memory errors

I have an application that was originally developed using NASM under a Linux operating system. I ported that (still Using NASM) to a Windows operating system. Because the system was difficult to debug, I am 9/10 thru converting the code to MASM…
2
votes
3 answers

What is the need for a library in C++?

Header files contain only the declaration of the function and the actual implementation of the function is in the library. If they don't want to share source code they can share the obj file. Why do we use a Library when the implementation of a…