OS - Ubuntu 16.04LTS 64b
IDE - Code::Blocks 16.01 64b rev 10760
OpenCV - 3.2.0
I have recently compiled opencv and am trying to make it work in C::B. I am trying to run a template opencv code, which I arrived at by creating a new opencv project in C::B. It builds correctly. However, when I try to run, it terminates with status 255.
On other forums, such as this, people suggest installing xterm to make it work. I already have xterm installed and yet I am getting this error.
I have also tried all the possible options in the drop down accessible from Settings -> Environment -> Terminal to launch console programs.
Steps to reproduce:
1. Open C::B -> New Project -> OpenCV
2. Select appropriate location
3. Follow this tutorial to setup opencv with C::B
4. Build and run main.cpp
Thanks in anticipation!