Hi Axel,

I assume that WorkerObservation is your own plugin in which you try to 
instantiate a ToFImage Grabber, right? 
Can you try to configure the MITK Workbench such that you also build the 
ToFUtil plugin and test if you can connect to the camera this way.
I guess that there is a dependency problem which might potentially be solved by 
adding the library folder of OpenNI (containing the dll) to your environment 
path.

Best
Alex

-----Original Message-----
From: afinster [mailto:afins...@stud.hs-heilbronn.de] 
Sent: Saturday, May 2, 2020 5:25 PM
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] Add Kinect to MITK

Hello MITK Pros,

i got following Issue. I tried to add my kinect 360 to my new plugin. I 
followed these steps below.

http://mitk.org/wiki/Using_Kinect_with_MITK-ToF

My CMake settings:

MITK_Kinect_INCLUDE DIR C:/Program Files/OpenNI/Include MITK_Kinect_LIB 
C:/Program Files/OpenNI/Lib64/openNI64.lib

MITK_USE_TOF_KINECT true

I configured and generated it.

--> I added in my plugin CMakeLists.txt with depend MITKKinect and i was
able to import the mitkKinectDevice.h file.

Then i followed the toftutorial and tried to adjust it to the kinect.

Now the problem is, when i tried to configure the ImageGrabber 
tofImageGrabber->SetCameraDevice(mitk::KinectDevice::New());
i am getting the following error:

2.06 core.mod.apputil.baseApp WARNING: Startup error: 
ctkPluginException: The plugin 
"C:/MITK/bin/MITK-build/bin/plugins/Release/liborg_mitk_gui_qt_workerobservation.dll"
 
could not be loaded: Cannot load library 
C:\MITK\bin\MITK-build\bin\plugins\Release\liborg_mitk_gui_qt_workerobservation.dll:
 
Das angegebene Modul wurde nicht gefunden.

But in this giving folder the file is existing?

Can anybody help pls :)

I appreciate your help,

Axel


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to