static-libraries Questions

3

Solved

I'm building a Cocoa Touch Static Library. How should I decide whether to copy a header file as public, private, or project?
Mikaela asked 16/9, 2011 at 1:18

4

The problem: I have a dynamic framework, which uses Firebase added by cocoapods. And I also have the App, which uses this dynamic framework. But when I try to build the project I got error Missing...
Asthenopia asked 10/12, 2018 at 6:50

4

Solved

I have a small project with a Makefile which I'm trying to convert to CMake, mostly just to get experience with CMake. For purposes of this example, the project contains a source file (C++, though ...
Psittacosis asked 29/12, 2012 at 0:44

3

Solved

This question has been asked before, but digging into the documentation for the various development tools it seems like this is possible, just not obvious. Motivation: Making a static library for...
Jeremy asked 1/8, 2011 at 4:27

1

I wrote C program that calculates the time step iterations of wavefunctions to solve the time depended Schrödinger equation. At some step I need to do forward and backward Fast Fourier Transformati...
Navigable asked 18/2, 2021 at 22:3

6

I need to make swift static library for my requirement. I made swift static library which uses swift and Obj-c code. I have included Obj-c files via bridge file. I am able to compile swift static l...
Illene asked 30/4, 2018 at 7:41

4

Solved

I am making one dynamic library by using some function of libmxml.a library but I get this warning: *Warning: Linking the shared library libgstmatroskademux.la against the _ *static library /home/...
Reisch asked 2/12, 2011 at 6:36

2

Solved

How to only build a static library with clion without having an executable? How does the CMakeLists.txt look like? (without add_executable) Update: If I don't add executable to Clion, I have an e...
Matronna asked 30/3, 2015 at 20:45

1

Solved

My static lib is built with xcodebuild and then a fat lib is created from the simulator and device build result. Here is my xcodebuild command: xcodebuild OTHER_CFLAGS="-fembed-bitcode" -...
Demarche asked 2/12, 2020 at 22:37

1

Solved

I'm developing a library that works with std::jthread (new in C++20) using g++ 10.0.1. The library works fine if I compile it using share libraries, but If I compile it with static libraries I got ...
Ligure asked 28/6, 2020 at 22:30

2

Solved

For a static library (.a file), how to list the module-level dependencies of it? I know for a shared library (.so), we can use objdump or readelf to do this: objdump -p test.so or readelf -d test....
Claudineclaudio asked 24/11, 2016 at 15:0

2

I want to import below libraries in my Android Studio Project these are placed in /system/lib64/ folder. I am getting below error 2020-01-06 13:23:31.358 5171-5171/org.strongswan.android E/Android...
Brinkmanship asked 6/1, 2020 at 8:30

2

Solved

I am trying to move my rust server from Heroku to Google Cloud or AWS. Even though I like the simplicity of having a git push build and deploy to Heroku with just a buildpack specified, the service...
Jillian asked 5/7, 2020 at 20:12

4

Solved

I am creating a sample static library to be used in my iOS app, however, when calling the static library's methods, I ran into a linker error: Undefined symbols for architecture arm64: "_doMat...
Ladew asked 9/7, 2020 at 18:54

4

Solved

I have compiled several libraries with MingW/MSYS... the generated static libraries are always .a files. When I try to link the library with a MSVC project, Visual Studio throws 'unresolved externa...
Crosspatch asked 27/3, 2010 at 15:11

5

Solved

I'm Trying to Link a static Library to a shared library , I'm Getting the Following error /usr/bin/ld: ../../../libraries/log4cplus/liblog4cplus.a(fileappender.o): relocation R_X86_64_32S against ...
Hevesy asked 4/11, 2013 at 13:2

3

Solved

I am trying to create a static library written in Objective-C. I would like to hide all implementation details from consumers of this library. In this example, the "OneThing" object uses other feat...
Lives asked 26/7, 2012 at 18:57

2

Solved

I am developing Qt application and I would like to use crashpad to report crashes. I have downloaded sources and built them. Now I would like to link those statically to my application. When I go...
Szymanowski asked 11/1, 2019 at 20:57

2

Solved

After getting excited about 2019's WWDC announcements, I tried compiling my existing iOS app against the MacOS using Xcode 11.0 beta. Unfortunately, it didn't go as expected. Xcode says my static ...
Friendship asked 6/6, 2019 at 14:44

2

I have come across multiple sites describing that frameworks can contain both static as well as dynamic library. But how do I identify if what the framework actually contains is a dynamic library o...
Zoezoeller asked 4/11, 2015 at 12:35

1

Solved

I'm trying to build a program using cmake. For several reasons, the program must be built using static libraries rather than dynamic libraries, and I need to use PyTorch so this is what I've done: ...
Authority asked 11/3, 2020 at 5:4

3

Solved

Java versions prior Java 8 requires native code to be in a shared library, but I've read that with Java 8 it's possible to use static linked libraries with JNI. I have searched for examples but cou...
Jenifferjenilee asked 30/6, 2014 at 15:11

2

Solved

I have created new Cocoa Touch Static Library in XCode. I have written code in: StaticLibrary.m: #import "StaticLibrary.h" @implementation StaticLibrary - (int)addX:(int)x toY:(int)y { int sum ...
Soften asked 1/8, 2019 at 9:4

2

Solved

I distribute a statically linked binary version of my application on linux. However, on systems with the 2.4 kernel, I get a segfault on startup, and the message: "FATAL: kernel too old." How can ...
Jordison asked 17/1, 2010 at 2:5

4

Solved

I want to hide symbol names which are not relevant to the end user and make visible only APIs in my shared or static library. I have a simple code like: int f_b1(){ return 21 ; } int f_b3(){ retur...
Medius asked 7/3, 2014 at 7:49

© 2022 - 2024 — McMap. All rights reserved.