Avoiding errors when mixing Irrlicht and OpenCV
Posted: Wed Dec 02, 2015 3:05 pm
I'm trying to use Irrlicht for visualisation of some computer vision application that is built upon OpenCV.
When I use Irrlicht (I used the sample code from Tutorial 1) in the same process, image loading via OpenCV starts to fail as soon as a device, driver, gui environment and scene manager are created. The error happens regardless of using the OpenGL or Software renderer.
To be specific, OpenCV uses libjpeg on OSX, where I observed the issues.
How could I narrow down the error and isolate the cause?
Sadly, while being familiar with OpenCV, I don't have enough knowledge of the inner workings of Irrlicht.
On a site note, this question is not related to my previous question about threading. The issues with OpenCV also arise if I avoid threading at all and execute all code synchronously.
When I use Irrlicht (I used the sample code from Tutorial 1) in the same process, image loading via OpenCV starts to fail as soon as a device, driver, gui environment and scene manager are created. The error happens regardless of using the OpenGL or Software renderer.
To be specific, OpenCV uses libjpeg on OSX, where I observed the issues.
How could I narrow down the error and isolate the cause?
Sadly, while being familiar with OpenCV, I don't have enough knowledge of the inner workings of Irrlicht.
On a site note, this question is not related to my previous question about threading. The issues with OpenCV also arise if I avoid threading at all and execute all code synchronously.