imx-v4l2-overlay.c : Compile error "linux/mxcfb.h: No such file or directory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx-v4l2-overlay.c : Compile error "linux/mxcfb.h: No such file or directory

486 次查看
abl
Contributor I

When I independently compiled imx-v4l2-overlay. c, the cross compiler reported that the mxcfb. h file could not be found.

This file can be found in the Linux source code, but it cannot be found in the installation location of the cross-compilation tool chain. The compiler defaults to include pointing to the cross-compilation tool chain.

What should I do?

What is the difference between imxfb. h and fb. h?

0 项奖励
回复
1 回复

464 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @abl 
 
I hope you are doing well.
 
For toolchain-related issues, kindly confirm that you have defined the 'SDKTARGETSYSROOT' environment variable correctly.
 

What is the difference between imxfb. h and fb. h?

=>The frame buffer drivers depend heavily on four data structures. These structures are declared in include/linux/fb.h. They are fb_info, fb_var_screeninfo, fb_fix_screeninfo and fb_monospecs. The last three can be made available to and from userland. 

In linux/fb.h there is information related to IOCTLs and their structures.
Whereas for the video-imxfb.h, Those structures mentioned describe the machine which we are running on.
 
Thanks & Regards

Sanket Parekh

0 项奖励
回复