Avoiding errors when mixing Irrlicht and OpenCV

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
emanuel
Posts: 4
Joined: Wed Dec 02, 2015 2:51 pm

Avoiding errors when mixing Irrlicht and OpenCV

Post by emanuel »

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.
Post Reply