-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Failure #6
Comments
LilyGo-MicroPython_esp32_LILYGO_EPD47_MPY-7c54b6428_IDF-e5f754b26c_B20220322_e9fa4d3f97.zip |
Hi, |
I have similar error during build:
OS: Ubuntu 21.10 |
Do you have ninja installed on your computer? |
yes, via
|
Please uninstall ninja and try to compile again |
I reproduced your problem. After installing ninja through After uninstalling ninja, the compilation will be successful. |
Removed
|
delete build_dir directory |
Attaching full
|
I suspect that the bug is caused by the use of multi-threaded compilation. But I can't reproduce this bug. Please try the method: $ pwd
/home/lewin/lilygo-micropython
$ cd build_dir/esp32/esp-idf
$ git diff
diff --git a/tools/idf.py b/tools/idf.py
index 430f1ce0ba..31e9d111d0 100755
--- a/tools/idf.py
+++ b/tools/idf.py
@@ -74,7 +74,7 @@ GENERATORS = [
("Ninja", ["ninja"], ["ninja", "--version"], "-v"),
(
MAKE_GENERATOR,
- [MAKE_CMD, "-j", str(multiprocessing.cpu_count() + 2)],
+ [MAKE_CMD, "-j", "1"],
[MAKE_CMD, "--version"],
"VERBOSE=1",
),
$ cd ../../../ && make |
Hi, thanks liangyingy, uninstalled ninja, deleted build_dir (again) and rebuilt. I haven't installed the (my build) firmware yet, but its the same size as the one you (graciously) provided, which I have installed and playing with! |
I banged my head against the wall with build issues too, therefore I implemented #7 to get a consistent build. |
Hi,
I would love to install this on my T5 EPD47, however I'm struggling to build the firmware. After several attempts where I've run out of space (at various stages), I think I've got everything necessary downloaded but the build fails with the following -
Checking Python dependencies...
Python requirements from /media/pi/128GB/lilygo-micropython/build_dir/esp32/esp-idf/requirements.txt are satisfied.
Executing action: all (aliases: build)
Running ninja in directory /media/pi/128GB/lilygo-micropython/build_dir/esp32/LILYGO_EPD47
Executing "ninja all"...
ninja: error: build.ninja:18058: bad $-escape (literal $ must be written as $$)
ninja failed with exit code 1
any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: