I’m kind of a noob in these things. I have a .cpp file that uses functions from a .lib library (and its relative .h header file). In CLion I manage to run the program fine, but I need to compile it as a .so library because I want to use the functions defined in the ..
Problem Description I found an error in a library that i’m using in my C++ code. The following is the description of the OS that i’m using along side where the header of the library is located and the .so libraries. inside /usr/lib/ we have: libFoo.so –> libFoo.so.2020 – OS: `Ubuntu 20.04` – Header(.h): `/usr/include/fooapi.h` ..
I’m starting on NDK android development and the problem that’s occuring in the project is the case of importing a file with the so extension and call it using System.loadLibrary("NdkJniDemo"). when I call the above-mentioned code, I don’t have to access to its functions and get an error. Thanks for helping Source: Windows Que..
I came across various Bytecode static instrumentation tools and frameworks for C#,JAVA (such as C#-Cecil,MBEL,RAIL. JAVA-Javassist,BCEL,reJ,Serp,JMangler). But did not find enough resources for C++. I want to insert print statements which will print the methods’s name itself to the console. Are there tools or frameworks which will allow us to inject code to an C++ ..
I have downloaded a repository from github with a library with git clone then I typed in terminal "make" now I have a libmylibrary++.so file in folder mylibrary/src Now I want to run a c++ file which uses the library but I can’t compile it because of this error: "mylibrary.hpp: No such file or directory" ..
I have a binary abc.so which get crash, and its in stripped format so not able to get the other symbols details other than the address. I wanted to debug the following address. (gdb) bt #0 0xb438f92a in ?? () from /usr/lib/abc.so #1 0xb2aaac38 in ?? () from /usr/lib/abc.so I tried using addr2line to find ..
I tried to install ZKTECO Linux SDK on my ubuntu 20.04 It shows an error when running build.sh /usr/bin/ld: warning: ../lib/x86/linux-64/libzksensorcore.so, needed by ./lib64/libzkfv.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: /usr/local/lib/libidkit.so.2: undefined reference to `[email protected]_0.9.8′ collect2: error: ld returned 1 exit status I exported the .so files to the classpath and ld_library but ..
Similar questions here How can I call linux shared library functions in Go? but too a beginner to understand it. I am a C programmer and learning Go in a hard way. Currently studying and porting an existing Python codes (python1.py and python3.py) to Go The existing Python files(along with delphi.cpp) have been compiled and ..
I have 2 cpp shared libraries & a cpp file. I want to link with those shared libraries. For the first shared library I got success but for the second library got error. Details are given below: Operating System: Ubuntu 20.04.2 LTS Kernel: Linux 5.8.0-44-generic Architecture: x86-64 gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) Target: x86_64-linux-gnu libexample1.so ..
I have a work project that relies on a very large, inherited C++ shared library that was released without debug symbols and we only have the .h includes. Often, there is a need to see how those functions act on values passed in but debugging in gdb skips over those functions. Is it possible for ..