Ask Your Question

zasranets's profile - activity

2016-08-12 12:33:08 -0600 received badge  Enthusiast
2016-08-05 12:35:31 -0600 asked a question QApplication + cv::viz::Mesh::load: Parsing error

I'm trying to load an .obj file using cv::viz::Mesh::load method as follows:

cv::viz::Mesh::load(filename, 2);

It works fine, but if I call the same method after initializing a QApplication like so:

QApplication app(argc, argv);
cv::viz::Mesh::load(filename, 2);

I get the following error:

ERROR: In /home/zsn/Documents/VTK-6.3.0/IO/Geometry/vtkOBJReader.cxx, line 193 vtkOBJReader (0xf501a0): Error reading 'v' at line 2

Does anyone know how to resolve it?