1

I am trying to build an opencv project with QtCreator on ODROID-XU4. But when i try to build the project it throws "thumb conditional" error. I tried to follow this Assembler messages: Error: thumb conditional instruction should be in IT block -- `strexeq r1,r2,[r4]'

But it doesn't work for me. Not sure whether its a bug in QtCreator or do i need to setup some compiler directives.

OS - Ubuntu 14.04.1 ODROID-XU4

Community
  • 1
  • 1
MarKS
  • 494
  • 6
  • 22

1 Answers1

4

I had the same problem on my Jetson TX1 board, try adding this to the Cmake config line :

-D CMAKE_CXX_FLAGS_RELEASE="-Wa,-mimplicit-it=thumb"