C++ example application

Hi everyone

I'm trying to use the SDK supplied for C++ inside a QT application. OS is windows 10 for now, later android. The application discovers the device, lists its information, but crashes as soon as I call mbl_mw_metawearboard_initialize. a few questions:
1. The SDK supplies code for a DLL. can this code be compiled as part of the executable, meaning, linked statically?
2. is there any example application in C++, and not just a DLL?
3. any ideas/experience on working with QT? Should i not use the DLL and talk directly to the device?

Thanks for any help/directions
Lior

Comments

  • PS: device is MetaMotionR

  • @liormessinger said:
    1. The SDK supplies code for a DLL. can this code be compiled as part of the executable, meaning, linked statically?

    Yes

    1. is there any example application in C++, and not just a DLL?

    No. The C++ sdk is primarily used as a common code based that is called into from higher level languages

    1. any ideas/experience on working with QT? Should i not use the DLL and talk directly to the device?

    Search before posting:
    https://mbientlab.com/community/search?Search=qt

This discussion has been closed.