Autosar adaptive does not generate certain header files.

1 回表示 (過去 30 日間)
Manas Buzruk
Manas Buzruk 2024 年 2 月 23 日
編集済み: Manas Buzruk 2024 年 2 月 26 日
I have designed an autosar adaptive model as in the image below
There are no errors while generating the code for this model. Also the CMake file gets generated properly. I am using Atmega and AVR and C++11.
When I configure the CMake using (cmake ..) it passes. But when I try to build it using (cmake --build .) I get the below errors
It cannot find 'rtwtypes.h' and 'semaphore.h'
Am using windows platform and this error needs to be solved.
Appreciate any help
Thanks
Edit: Another thing is that for windows PosixExecutor.hpp or semaphore should not be used right?
  2 件のコメント
Sathvik
Sathvik 2024 年 2 月 26 日
Hi
Your project includes 'MW_arduino_digitalio.h', which needs a 'rtwtypes.h' header file. From the description, it is unclear why this header file is included in your project. Kindly elaborate what you are trying to achieve and why.
Manas Buzruk
Manas Buzruk 2024 年 2 月 26 日
編集済み: Manas Buzruk 2024 年 2 月 26 日
Just an update
I know how to get rtwtypes.h
My main question is, for windows pc why is PosixExecutor.hpp or semaphore needed

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by