Questions tagged [libs]

It's a special folder in Java projects. It's used to store compiled libraries (jar files)

It's a special folder in Java projects.
It's used to store compiled libraries (jar files).
These libraries contain common blocks of code that may be reused inside an app.

189 questions
1
vote
1 answer

NoClassDefFoundError although Lib has imported correctly on Android

Heyho! I get a ClassDefFound error, when I want to call a function from an imported library. I know, this is a issue which thousands of people got before, but i tried everything but it doesn't work! I'm using the android api level 17 with…
trek711
  • 207
  • 3
  • 11
1
vote
0 answers

LNK2005 error when mixing static and dynamic libs

I am trying to create DLL ficus.dll which links to a static lib utils.lib, and a dynamic lib (called crux.dll using crux.lib) When generating crux.dll, I also included utils.lib as part of it. I am getting these errors when…
Rick White
  • 11
  • 3
1
vote
0 answers

Qt5 Osx Linker Error

I am receiving the following error after this linker command from qmake generated Makefile. clang++ -headerpad_max_install_names -mmacosx-version-min=10.6 -o bin/Clock tmp/clock.o tmp/config.o tmp/main.o tmp/qrc_resources.o tmp/moc_clock.o …
Thomas
  • 2,939
  • 6
  • 32
  • 29
1
vote
1 answer

QtCreator: Avoid redefining LIBS in Qt subdirs project

I have a Qt subdirs project with the following structure: ExternalQtProject QtSubdirProjects - GUI - WebService WebService contains LIBS from the external Qt project (.pro file in WebService) LIBS += -L LIBS +=
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
1
vote
1 answer

QTCreator .pro file: Setting LIBS path depending on DEBUG / RELEASE

As a newbie to Qt I am writing a small project depending on another project, located in a parallel directory. In my .pro file some .obj files are includes as below (which works). However, when creating a release I'd like to use the other project's…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
0
votes
2 answers

Simple frame grabber from video file

I would like to find simple lib for my C++ project which can start thread with video and audio decoding and I can grab some frames? I try to explain my expectations about lib API and behavior in sample code: player = new…
Vie
  • 823
  • 1
  • 10
  • 18
0
votes
0 answers

Gradle not finding Jar in libs folder after updating *.jar file

I created a *.jar file and included it as a library in another project that uses Gradle. It was working perfectly fine, until I added a new method to the *.jar, replaced it in the libs folder, and tried to refresh the gradle dependencies. Now gradle…
0
votes
0 answers

How to detect macOS version?

I am trying to build a lib for macOS and Linux. The reason I am writing is to know how to detect macOS 11+ and Linux in a header file. I have the structure on cmake, and it's building, but the os.h header is not building. How can I detect with…
0
votes
1 answer

Specifying install/output dir for lib and executables generated by gn/ninja

I using gn for generating ninja files, and ninja to build them, but I cannot achieve one thing in specific I want to copy/move my builded libs to given path. In gn doku I found things as output_dir or copy but using them I can only place libs inside…
AnDevi
  • 67
  • 7
0
votes
0 answers

.so libraries in Android Studio

I'm using scripts from an old project, but the sources are already lost In an old application, I used the library like this: public class x2.X { static { System.loadLibrary("x2"); } public static String m0do(String str) { return…
Master
  • 13
  • 3
0
votes
0 answers

java.lang.UnsatisfiedLinkError: No implementation found for java .io.FileDescriptor android_serialport_api.SerialPort.open(string ,int ,int)

while I am working on integrating Java CCNET SDK to my Android application ,I can not run ccnet commands from my app to the cashcode . programe to execute command IConnection comPort = new sPort(); …
nebi
  • 11
  • 4
0
votes
0 answers

Solving libjscexecutor.so error appearing in Crashlytics

I am constantly seeing the following error in the application on the Crashlytics. Since this error did not occur on my own device, I cannot see if my fixes will work. What is the exact solution to this problem and what do I need to do so that my own…
Nemesis
  • 299
  • 1
  • 7
0
votes
1 answer

lib for custom password input with type text

In our site we have two input field with type password - for login and for password. Because of this, now autofill are working incorrect. Browsers dont remember login and paste password to login field. We need the login field to have the same form…
Gelloiss
  • 135
  • 7
0
votes
1 answer

How to add external cpp libs to cmake project and pass to linker

I have a project constructed from multiple git repos, I want to use some external open source libs in it (lets say lib1 lib2). I have added the libs to the root cmake and to the subproject cmake: root cmake: find_package(lib1…
Atheel Massalha
  • 424
  • 1
  • 6
  • 18
0
votes
1 answer

How to install folder packages to local venv from another local venv

I have an anaconda env with a set of packages. I also have an python project which has an empty venv with python and pip. I need to install some packages from conda's env into an empty project. For example numpy. But in conda env numpy is a folder…