如下添加头文件路径,
右键单击工程,选择 Properties > C/C++ Build > Settings > > GCC C/C++ Compiler > Includes > Include paths > 点击添加按钮, 浏览添加路径 /usr/src/linux-headers-4.10.0-28-generic/include 即可。
完。
如下添加头文件路径,
右键单击工程,选择 Properties > C/C++ Build > Settings > > GCC C/C++ Compiler > Includes > Include paths > 点击添加按钮, 浏览添加路径 /usr/src/linux-headers-4.10.0-28-generic/include 即可。
完。
转载于:https://www.cnblogs.com/gaowengang/p/7988183.html