A lot of qstr undeclared when compiling ulab #16576
Replies: 2 comments 1 reply
-
Make sure you start with a clean build after changing options, as the QSTR generation is not done on every build. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I found it due to my mistake. I create another folder with the same name genhdr, so it could not found qstr in qstrdefs.generated.h. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I set up my own environment to build micropython 1.24 ESP32 IDF 5.4 together with micropython-ulab 6.6.1. I set CMake variable USER_C_MODULES following the guide. It has a lot undeclared qstr as below. I've checked genhdr/qstrdefs.generated.h, and all these qstr in there. Please help me how to resolve this.
In file qstrdefs.generated.h, it has entry
QDEF1(MP_QSTR_left, 19934, 4, "left")
. In Micropython 1.21, esp-idf-3.3.5, I built it succesfully, it hasQDEF(MP_QSTR_left, 19934, 4, "left")
. It is different between QDEF and QDEF1.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions