tagged [libraries]

How to initialize a shared library on Linux

How to initialize a shared library on Linux I am developing a shared library using C++ under Linux, and I would like this library to use log4cxx for logging purposes. However, I'm not sure how to set ...

Why do I have to define LD_LIBRARY_PATH with an export every time I run my application?

Why do I have to define LD_LIBRARY_PATH with an export every time I run my application? I have some code that uses some shared libraries (c code on gcc). When compiling I have to explicitly define the...

30 Mar at 00:31

Skipping Incompatible Libraries at compile

Skipping Incompatible Libraries at compile When I try to compile a copy of my project on my local machine, I get an error stating that it 's skipping over incompatible libraries. This isn't the case w...

How to resolve 'unrecognized selector sent to instance'?

How to resolve 'unrecognized selector sent to instance'? In the AppDelegate, I'm alloc'ing an instance defined in a static library. This instance has an NSString property set a "copy". When I access t...

Using two different versions of same the NuGet package

Using two different versions of same the NuGet package I wanted to use two different version same library (OpenCVSharp 2.x and OpenCVSharp 3.x). I downloaded those two packages both to the separate pr...

1 Jul at 21:42

Compilation fails with "relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object"

Compilation fails with "relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object" I'm trying to compile this source code from the makefile in a VPS, but its not work...

15 Jul at 20:40

Is a static variable in a library (DLL) shared by all processes referencing that library?

Is a static variable in a library (DLL) shared by all processes referencing that library? I know that a static variable used in a web application is shared for all users across the web application. If...

ld cannot find an existing library

ld cannot find an existing library I am attempting to link an application with g++ on this Debian lenny system. ld is complaining it cannot find specified libraries. The specific example here is Image...

Where do you include the jQuery library from? Google JSAPI? CDN?

Where do you include the jQuery library from? Google JSAPI? CDN? There are a few ways to include jQuery and jQuery UI and I'm wondering what people are using? - - - - I have recently been using Google...

Assembly uses version X which has a higher version than referenced assembly error

Assembly uses version X which has a higher version than referenced assembly error After upgrading from ASP.NET Core 2.0 to 2.1-preview2 I got the following error: ``` Error CS1705 Assembly 'System.Da...

Handling (possibly-changing) error codes of a library using exceptions

Handling (possibly-changing) error codes of a library using exceptions Let's say you are using a library that returns error codes. You'd like to write a wrapper for the library, and you'd like to hand...

C++ Dynamic Shared Library on Linux

C++ Dynamic Shared Library on Linux This is a follow-up to [Dynamic Shared Library compilation with g++](https://stackoverflow.com/q/483797/1288). I'm trying to create a shared class library in C++ on...

23 May at 10:31

Can a Singleton Class inside a DLL be shared across processes?

Can a Singleton Class inside a DLL be shared across processes? I am creating a custom .net hardware framework that will be used by other programmers to control some hardware. They will add a reference...

Trying to include a library, but keep getting 'undefined reference to' messages

Trying to include a library, but keep getting 'undefined reference to' messages I am attempting to use the libtommath library. I'm using the NetBeans IDE for my project on Ubuntu linux. I have downloa...

Is there any way to use StaticResource in a WPF control library and be able to view at design-time?

Is there any way to use StaticResource in a WPF control library and be able to view at design-time? I have a WPF Control Library that is being added to a windows forms application. We want to allow th...

How to resolve .NET Core package version conflicts

How to resolve .NET Core package version conflicts I am migrating from a .NET MVC 5 Web Application to a .NET Core 2.2 Web API project along with five .NET Standard 2.0 projects all housed under one s...