Failed to open FileStorage

asked 2017-01-27 10:57:54 -0500

laxn_pander gravatar image

updated 2017-01-27 14:50:08 -0500

Hey there,

my problem is a little bit confusing. My code fails to open a FileStorage despite having the correct relative or absolute path. I think I isolated the problem down to not "being a problem of usage", but library confusion in the background.

On my Ubuntu 16.04 I installed OpenCV 2.4.9 for some random image processing projects. I also installed ROS Kinetic with OpenCV 3.1 for some other stuff.

The problem described above only occures, when I try to use my code in a ros environment. When building a project with the same code without ros it works like a charme.

So what to do? Is this some kind of linking magic problem?

Thanks for your help in advance and best regards,


UPDATE: Removed opencv 2.4.9, rebuilt all projects. Still not able to read config. Even worse: Now the other code won't work either. So I guess it has something to do with ros opencv3.1 :[

edit retag flag offensive close merge delete


Hi! have the same issue, did you manage to solve it?

Caba gravatar imageCaba ( 2017-09-05 14:15:45 -0500 )edit