Skip to content

linux arm64 support #6069

Closed
Closed
@asa

Description

@asa

Describe the Bug
I tried to build on ubuntu 22 lts on arm64 architecture. There was an issue building an interface element which required moc. The moc bundled with webots in bin/qt/moc appears to be an x86 executable. I removed this dir and installed moc from qt6, but was unable to complete building the repo. Please advise what we might need to get in place in order to support a different architecture.

Steps to Reproduce
1, download webots on an arm64 linux host.
2) attempt to build using make -jN

Expected behavior
The project should build and launch on this architecture.

Screenshots
truncated output is like:

# compiling wren/WbWrenRangeQuantization.cpp
# compiling wren/WbWrenShaders.cpp
# compiling wren/WbWrenSmaa.cpp
# compiling nodes/utils/WbWrenVertexArrayFrameListener.cpp
# compiling vrml/WbWriter.cpp
make[1]: *** No rule to make target 'build/release/WbAboutBox.moc.cpp', needed by 'WbAboutBox.moc.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
# compiling core/WbPosixMemoryMappedFile.cpp
make: *** [Makefile:112: webots_target] Error 2

System
linux ubuntu 22, aarm64
Linux hostname 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:25:19 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions