Questions tagged [lib]

556 questions
3
votes
2 answers

Linking to shared and static libraries with c++ on a Linux system

I am messing around with a test project, lets call it mytest, it has a .cpp and a .h file, the contents are not really important - imagine it contains a few simple hello_world() type functions... So, I was making a generic makefile to compile this…
code_fodder
  • 12,697
  • 10
  • 68
  • 123
3
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
  • 161
  • 2
3
votes
0 answers

Getting capture date of heic image

I am using the nokiatech heif api (github.com/nokiatech/heif) to process heic files produced by the IOS betas. I am able to get the tiles and metadata like rotation and dimensions, but I am unable to locate the capture date of the image. I found…
3
votes
1 answer

many missing .lib files in the installed OpenCV3.2.0 for Windows 10 64bit

I am using a code that depends on the opencv libraries however the one I downloaded from the web only has the opencv_core320.lib. How can I install opencv so that I will access to all these libraries that I have in the input section of Linker in the…
Mona Jalal
  • 24,172
  • 49
  • 166
  • 311
3
votes
0 answers

Qt user and system libraries

I'm trying to compile a set of libraries and programs with a custom Qt version (system: 5.5.1, user: 5.8.0). For the majority of them, everything works fine, except for only one. I have correctly set the environment variables needed (proved by the…
kronat
  • 75
  • 4
2
votes
1 answer

Binding key combinations (strictly) to a specific form

Could you please tell me how to use the "globalmousekeyhook" library (https://github.com/gmamaladze/globalmousekeyhook/blob/vNext/keycomb.md) to write keyboard shortcuts Not to the whole application, but to a specific form? To avoid checking the…
Tatami
  • 53
  • 5
2
votes
0 answers

How to install C++ lib Duckx?

I want to use this lib DuckX. I followed tutorial, git clone https://github.com/amiremohamadi/DuckX.git cd DuckX mkdir build cd build cmake .. cmake --build . It went on without any error. However, when I entered sample directory and execute g++…
si yan
  • 41
  • 2
2
votes
1 answer

How the linker find the correct library?

I know what preprocessing is, how compiler works, and how linker links the object files But what I still haven't been able to answer is : In an IDE like VS suppose we have a library called DariushTest.o that implemented a function called print() and…
2
votes
1 answer

How to export traits from a separate cargo workspace github repo

I am fairly new to rust and am trying to understand how best to create re-useable shared library components. I have a github repo named rust-libs that is setup as a cargo workspace. The project tree for this repo looks like this: ├── Cargo.lock ├──…
Mufasa
  • 337
  • 1
  • 4
  • 12
2
votes
0 answers

Source indexing on static C++ library

I'm trying to create a NuGet package from a static C++ library. I have a build pipeline in an on-premise Azure DevOps Server and I try to use a Publish Symbols task targeting the .pdb generated at build time. I also have a Symbol Server (a file…
2
votes
1 answer

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
  • 23
  • 6
2
votes
1 answer

Cmake link path error when linking static lib

I have a cmake project which consists of my own static library and executable. The simplified project structure is: Top level cmake: cmake_minimum_required(VERSION 3.16) project(mainproject VERSION 0.0.1 DESCRIPTION "" LANGUAGES…
estw272
  • 221
  • 2
  • 14
2
votes
1 answer

Import Python library without installing

Is there a way how to import Python library like pandas into script without using pip install? I already tried downloading .whl file or raw source code and try to use sys.path.append(path to library) import pandas what I found should be solution…
TeaPack
  • 31
  • 3
2
votes
1 answer

How to access sub elements of a custom FrameLayout in a library project?

I am extending a "MapView" that itself extends FrameLayout. But I can't access the ui elements I added: level_layout and *level_scroll. I have no trouble adding the code directly to my MainActivity, but I can't get it to work in a library.
2
votes
1 answer

Visual Studio gives an incorrect "fatal error LNK1107: invalid or corrupt file" for large static libraries in Release builds

In Release mode, Visual Studio 2015 is giving me an error about a corrupt static library file, while in Debug mode, it does not. I've carefully compared the settings of each mode, and do not find any differences that I think would cause this. Here…
1 2
3
37 38