2025-06-19 7:20 PM
Hello everyone
When I add OpenAMP to Pinout & Configration of .ioc and build it, the build fails
The steps are as follows:
- Select OPENAMP in Pinout & Configration -> middle ware & Software Packs
- Check M33NS(Cube)
- Also check Activated
- Save fuga_oka.ioc
Build the project. Some errors will be reported and the build will fail
An excerpt of the error part of the build log. The raw log is attached separately
~~~
C:/STM32MP2xx/fuga_oka/Middlewares/Third_Party/OpenAMP/libmetal/lib/system/generic/condition.c:12:10: fatal error: metal/condition.h: No such file or directory
12 | #include <metal/condition.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
C:/STM32MP2xx/fuga_oka/Middlewares/Third_Party/OpenAMP/libmetal/lib/dma.c:7:10: fatal error: metal/errno.h: No such file or directory
7 | #include <metal/errno.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
../../../Middlewares/Third_Party/OpenAMP/libmetal/lib/assert.h:15:10: fatal error: metal/system/@PROJECT_SYSTEM@/assert.h: No such file or directory
15 | #include <metal/system/@PROJECT_SYSTEM@/assert.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
../../../Middlewares/Third_Party/OpenAMP/libmetal/lib/assert.h:15:10: fatal error: metal/system/@PROJECT_SYSTEM@/assert.h: No such file or directory
15 | #include <metal/system/@PROJECT_SYSTEM@/assert.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
C:/STM32MP2xx/fuga_oka/Middlewares/Third_Party/OpenAMP/libmetal/lib/irq.c:7:10: fatal error: metal/errno.h: No such file or directory
7 | #include <metal/errno.h>
|^~~~~~~~~~~~~~~
compilation terminated.
C:/STM32MP2xx/fuga_oka/Middlewares/Third_Party/OpenAMP/libmetal/lib/io.c:8:10: fatal error: metal/errno.h: No such file or directory
8 | #include <metal/errno.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
../../../Middlewares/Third_Party/OpenAMP/libmetal/lib/assert.h:15:10: fatal error: metal/system/@PROJECT_SYSTEM@/assert.h: No such file or directory
15 | #include <metal/system/@PROJECT_SYSTEM@/assert.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
C:/STM32MP2xx/fuga_oka/Middlewares/Third_Party/OpenAMP/open-amp/lib/remoteproc/remoteproc_virtio.c:12:10: fatal error: openamp/remoteproc.h: No such file or directory 12 | #include <openamp/remoteproc.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
~~~
I thought the error was due to a lack of include path settings, so I tried to add an include path, but I couldn't find the metal folder in the project and couldn't set it.
Is there a problem with the project creation or build procedure?
Best Regards.
--
okuno
2026-04-13 3:15 PM
No, I did not solve it