You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
markushedvall
changed the title
Unable to use C modules depending on generated headers
Unable to use C modules together with generated headers
Feb 17, 2023
The rule implementation of c modules does currently conflict with some other build rules. This is because the task of performing module dependency graph scans is performed before the processing task of protobuf.
I will try to fix it later, but it may take some time.
Xmake Version
v2.7.6 20230213
Operating System Version and Architecture
Ubuntu 22.04.1 LTS
Describe Bug
I'm unable to use C modules in a project that uses generated headers, getting a "no such file or directory" error during "generating.module.deps".
Expected Behavior
Project generates code and compiles successfully
Project Configuration
This can easily be reproduced by adding a mpp file to
xmake/tests/projects/c /protobuf
.hello.mpp
and in xmake.lua add the file to the test target and change language to c 20:
When running xmake I get the following:
Additional Information and Error Logs
No response
The text was updated successfully, but these errors were encountered: