Skip to content
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

Compile problem #9

Open
caballero03 opened this issue Jan 14, 2025 · 6 comments
Open

Compile problem #9

caballero03 opened this issue Jan 14, 2025 · 6 comments

Comments

@caballero03
Copy link

Hello,

I have followed the instructions given precisely however, I am getting an error when trying to compile the project. I don't know what I need to change to make this work.

Running Ubuntu 20.04 with Docker installed and working. I did fork the repo and enabled the actions and pages function as described in the instructions.

Please advise as I am hoping to try out the editor and give some feedback. Thank you.

Here is the contents of my console window post compile:

Console Ready
Compiling project
Copying to temp directory.
liblvgl.a not found, starting build process...
Configuring LVGL library build...
Running command: cd /work/lib &&       mkdir -p /tmp/build && cd /tmp/build &&       emcmake cmake /work/lib &&       emmake make -j$(nproc) &&       cp liblvgl.a /work/lib/
�configure: cmake /work/lib -DCMAKE_TOOLCHAIN_FILE=/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/emsdk/node/20.18.0_64bit/bin/node-- Configuring done
-- Generating done
0-- Build files have been written to: /tmp/build
make: make -j4
.make: /usr/bin/cmake: Operation not permitted
>make: *** [Makefile:9953: cmake_check_build_system] Error 127
.emmake: error: 'make -j4' failed (returned 2)

Failed to build LVGL library: Error: liblvgl.a was not created
Build failed: Failed to build liblvgl.a
@kisvegabor
Copy link
Member

Thank you for reporting this issue! cc @coevin

@kisvegabor
Copy link
Member

Please share the result of docker --version.

@caballero03
Copy link
Author

~/Documents/projects/src$ docker --version
Docker version 20.10.9, build c2ea9bc

@kisvegabor
Copy link
Member

Mine is

Docker version 27.1.1, build 6312585

I don't know if it could be related, but good to keep in mind for @coevin.

@coevin
Copy link
Collaborator

coevin commented Jan 15, 2025

@caballero03 @kisvegabor

I will try to spin up an Ubuntu 20.04 with Docker instance to see if I can duplicate, and report back.

@coevin
Copy link
Collaborator

coevin commented Jan 17, 2025

@caballero03

I was not able to duplicate using Docker 27.5.0 on a fresh install of Ubuntu 20.04. I can't necessarily confirm that Docker is the issue, but I can try and see if I can install 20.10.09 to confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants