Autosar adaptive does not generate certain header files.
4 次查看(过去 30 天)
显示 更早的评论
I have designed an autosar adaptive model as in the image below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1625328/image.png)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1625333/image.png)
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
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 AUTOSAR Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!