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 ..
I am currently buliding a cross platform wxwidgets gui demo application using visual studio from windows pc. As a dependecy i have added libpdfium.so file to my project and added the remote path to visual studio project settings. project settings -> linker -> general -> additional library directories project settings -> linker -> input -> ..
I run Linux (specifically Ubuntu 20.04), and would like to know if there is a way to produce a dynamic library that could be linked against on a Windows machine. I am using GNU make and a mingw cross-compiler to attempt to do this. Here is the simple makefile I have made for testing purposes: ..
I was messing around with CMake and shared libraries and I found out that my test executable would only find my shared libraries in their build directory. That’s a bit annoying… I’d like that the executable only search them in its own directory. I’ve already tried several things (Did I do them correctly ?) Modifying ..
I understand how Java uses System.loadLibrary() to load the *.so library from AAR at runtime and calls the C++ functions using JNI. Now I am facing a situation where I need to do that in C++ instead of Java. I need to have the C/C++ function symbols from the *.so library available in build time ..
i have to port a linux plugin system application to windows10. gcc 9.3.0 -> visual studio 2019 The executable is build with -rdynamic and the .so libraries (plugins) are dynamically loaded with dlopen(). No dependency while linking. Those plugins use code which is implemeted (.cpp files) in the executable – all they know is the ..