当前位置:网站首页>LiteOS_ a - SYS_ The run() function is missing a header file.
LiteOS_ a - SYS_ The run() function is missing a header file.
2022-07-24 09:46:00 【Jiang tengxia】
SYS_RUN();
SYS_RUN() Function missing header file .
Compile the prompt :
error: data definition has no type or storage class [-Werror]
SYS_RUN(mymain);
^~~~~~~
error: type defaults to 'int' in declaration of 'SYS_RUN' [-Werror=implicit-int]
solve :
// to .c Add header file to file
#include "ohos_init.h" // Mainly this document
#include "ohos_types.h"
// to BUILD.gn Add the path of the header file ( Biga )
"//utils/native/lite/include",
"//kernel/liteos_m/components/cmsis/2.0",
"//base/iot_hardware/interfaces/kits/wifiiot_lite",
边栏推荐
- Definition and initialization of cv:: mat
- Scala learning: why emphasize immutable objects?
- [don't bother to strengthen learning] video notes (II) 1. What is Q-learning?
- DSP development, using CCS software to establish engineering and burning
- Firewalld firewall related commands
- What is the cloud native mid platform business architecture?
- Basic knowledge of PHP - complete collection of PHP functions
- Add SSH key to bitbucket
- Server load and CPU performance tuning
- Vim: extend the semantic analysis function of YCM for the third-party library of C language
猜你喜欢
![[200 opencv routines] 236. Principal component analysis of feature extraction (openCV)](/img/31/57217a67533d8d37bf86d507996ed7.png)
[200 opencv routines] 236. Principal component analysis of feature extraction (openCV)

Hands on deep learning (VII) -- bounding box and anchor box

Li Kou 300 longest increasing subsequence dynamic programming
![[leetcode] 31. Next arrangement](/img/83/50a3cc17fc252582458bf32d1dd36b.png)
[leetcode] 31. Next arrangement
![[don't bother to strengthen learning] video notes (II) 1. What is Q-learning?](/img/4f/809adc96e30fad03a113acc3df4b61.png)
[don't bother to strengthen learning] video notes (II) 1. What is Q-learning?
![Cyclicbarrier and countdownlatch [concurrent programming]](/img/38/3305a0cdb6de40e1370cc93c8e5014.png)
Cyclicbarrier and countdownlatch [concurrent programming]

详解LinkedList

Write a simple memo using localstorage

Boundless dialogue | participate in the live broadcast on July 25 and win the prize

MySQL query database capacity size
随机推荐
[don't bother to strengthen learning] video notes (IV) 1. What is dqn?
What does CRM mean? Three "key points" for CRM management software selection
Cloud primordial (12) | introduction to kubernetes foundation of kubernetes chapter
程序的编译与链接
[don't bother with reinforcement learning] video notes (I) 3. Why use reinforcement learning?
Raspberry Pie: serial port login does not display print information
DSP development, using CCS software to establish engineering and burning
Synchronized scope "concurrent programming"
Dark king | analysis of zego low illumination image enhancement technology
Mysql8.0 authorized remote login
[don't bother to strengthen learning] video notes (IV) 2. Dqn realizes maze walking
Spark Learning: Spark implementation of distcp
Basic knowledge of PHP - complete collection of PHP functions
Makefile variables and dynamic library static library
Scala learning: why emphasize immutable objects?
How to improve office efficiency through online collaborative documents
PHP caching system - PHP uses Memcache
Leetcode question brushing series -- 174. Dungeon games
JS locate Daquan to get the brother, parent and child elements of the node, including robot instances
Excuse me, what are the financial products with an annual interest rate of 6%