Menu

#397 Compilation error in QM generated code (expected QP version)

QM
open
None
1
2026-04-20
2026-03-10
Anonymous
No

gcc -MM -MT build/main.o -c -g -fno-pie -std=c11 -pedantic -Wall -Wextra -Wpedantic -Wsign-conversion -O -I. -IC:\qp\qpc/include -IC:\qp\qpc/ports/win32 -IC:\qp\qpc/include -IC:\qp\qpc/ports/win32 main.c > build/main.d
main.c:38:10: fatal error: qpc.h: No such file or directory
38 | #include "qpc.h" // QP/C real-time event framework
| ^~~~~~~
compilation terminated.
gcc -MM -MT build/philo.o -c -g -fno-pie -std=c11 -pedantic -Wall -Wextra -Wpedantic -Wsign-conversion -O -I. -IC:\qp\qpc/include -IC:\qp\qpc/ports/win32 -IC:\qp\qpc/include -IC:\qp\qpc/ports/win32 philo.c > build/philo.d
philo.c:38:10: fatal error: qpc.h: No such file or directory
38 | #include "qpc.h" // QP/C real-time event framework
| ^~~~~~~
compilation terminated.
gcc -MM -MT build/table.o -c -g -fno-pie -std=c11 -pedantic -Wall -Wextra -Wpedantic -Wsign-conversion -O -I. -IC:\qp\qpc/include -IC:\qp\qpc/ports/win32 -IC:\qp\qpc/include -IC:\qp\qpc/ports/win32 table.c > build/table.d
table.c:38:10: fatal error: qpc.h: No such file or directory
38 | #include "qpc.h" // QP/C real-time event framework
| ^~~~~~~

I tried examples and build code and compile but I see does error. When I check Manage External tools
it was written qp\qpc, then I changed it C:\qp\qpc but it was still not ok. And ı tried C:\qp\qpc
after this change everthing was ok and compiled. I think there is a parser error for \

what do you think

Discussion

  • Anonymous

    Anonymous - 2026-03-10

    here is version

     
  • Quantum Leaps

    Quantum Leaps - 2026-04-20

    The compilation error indicates an incompatible (too old) QP version for this QM release. The possible options to avoid this problem are:

    1. update the QP framework you use in your application to the required QP 8.0.0 or newer; or
    2. use an older version of QM, which is compatible with your older QP.

    Question: which QP version is used in your example?

    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel