Code Monkey home page Code Monkey logo

Comments (6)

thundercarrot avatar thundercarrot commented on May 28, 2024 2

Maybe change the name of the k4a version of the file on disk, and then change the K4A_PLUGIN_DYNAMIC_LIBRARY_NAME macro in k4aplugin.h to match.

from orbbecsdk.

hzcyf avatar hzcyf commented on May 28, 2024 1

We have provided a sample code to deal with this issue, please refer to: https://github.com/orbbec/K4ALoader/tree/feature/loader_c%2B%2B

In short, the principle is to use dynamic loading of DLL files(Run-time dynamic linking), so you can move the K4A and OBSDK library files to two separate folders to avoid conflicts.

from orbbecsdk.

thundercarrot avatar thundercarrot commented on May 28, 2024

Azure Kinect SDK is open source. Maybe you can change the name of the library that is dynamically loaded?

from orbbecsdk.

natelowry avatar natelowry commented on May 28, 2024

@thundercarrot unfortunately I think the depthengine library is not open source :/

DepthEngine readme

May be able to do something with this dynamic loading though:
https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/8bb59caa9db1d5da32e382b87622c8cd91bbb8fe/include/k4ainternal/dynlib.h#L52

from orbbecsdk.

hzcyf avatar hzcyf commented on May 28, 2024

We have provided a sample code to deal with this issue, please refer to: https://github.com/orbbec/K4ALoader/tree/feature/loader_c%2B%2B

As the sample code is an early version and hard to read, I recommend you to read this directly:
https://github.com/orbbec/K4ALoader/blob/77f20c00c98740bb92a9922e53ad9cc3de46f185/main.cpp#L926
image

from orbbecsdk.

hzcyf avatar hzcyf commented on May 28, 2024

Close as resolved.

from orbbecsdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.