AnsweredAssumed Answered

fatal error: stdint.h no such a file or directory, compilation fail after cross compiling OpenCV with arm-poky-linux-gnueabi toolchain

Question asked by purva depani on Dec 4, 2017

I successfully cross compiled OpenCV3.3.1 with arm-poky-linux-gnueabi toolchain, but while adding this compiler path in make file it gives the compilation termination message like: 

"/gcc/arm-poky-linux-gnueabi/5.2.0/include/stdint.h:9:26:  fatal error: stdint.h: no such file or directory

compilation terminated"

I have checked for stdint.h on given location, it is exist but i ahve doubt with include_next <stdint.h> in stdint.h file, 

but can not understand what to do next to resolve this issue. 

Please provide me some solution for the same.

 

Note:

I cross compiled opencv by adding attached arm-gnueabi.toolchain.cmake file please see and tell me is this correct way of  cross compilation or not?

 

Regards

Purva

Outcomes