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

mayo on aarch64 #100

Open
KascheyBessmertnii opened this issue Feb 15, 2022 · 10 comments
Open

mayo on aarch64 #100

KascheyBessmertnii opened this issue Feb 15, 2022 · 10 comments
Assignees
Labels
build error Compilation and linking errors

Comments

@KascheyBessmertnii
Copy link

Hello!

I tried to build this project for a processor based on ARM64 architecture for Linux (armv8, cortex A57, aarch64)

When trying to build i have an error which says "Platform architecture not supported (QT_ARCH=arm64)"

Could you specify is there a version suitable for building on ARM64 archtecture?
Or do you have any ideas at which direction to look to solve it?
I didn't have experience working with !t before, so maybe its some simple configs somewhere in the project

@HuguesDelorme HuguesDelorme self-assigned this Feb 15, 2022
@HuguesDelorme HuguesDelorme added the build error Compilation and linking errors label Feb 15, 2022
@HuguesDelorme
Copy link
Member

Hello Kaschey!
Thanks for having reported this issue.
This is a somewhat "forced" error that is located in file opencascade.pri
This is too restrictive, I should turn this error() statement into a warning()
Try to remove that line (or comment it with #) and run qmake again.
Let me know the results of this, that's interesting.
By the way did you manage to install OpenCascade packages on your Linux system ?

@KascheyBessmertnii
Copy link
Author

Thanks for the tip,
Changing error to warning helped to install Mayo on Alt Linux 10 (aarch64) on armv8-a processor.
I also had to add in method

QStringQStringUtils::yesNoText(CheckState state) ( mayo/src/app/qstring_utils.cpp )
default: return tr("No");

After this it compiled. But when i tried to open step file (tried on other PCs with mayo it worked great) around 20 megabytes an error occures.
A branch treee of elements works good, but the model itself doesnt render

@HuguesDelorme
Copy link
Member

At least it compiles that's a good point.
What is the Qt and OpenCascade versions you are using ?
What C++ compiler ?

@KascheyBessmertnii
Copy link
Author

Qt - 5.15.2
OpenCascade - 7.5.3
gcc - 10.3.1

@HuguesDelorme
Copy link
Member

No problem with that configuration then.
If you run debug build of mayo don't you see any OpenGL warning in the console output ?

@KascheyBessmertnii
Copy link
Author

yep. see next warning - OpenGL_Window: CreateWindow: window Visual is incomplete: no depth buffer, no stensil buffer

@HuguesDelorme
Copy link
Member

What you could do is trying to run some official OpenCascade samples and see if it works.
This will tell us if those graphics problems are specific to Mayo or not

@CheLoV
Copy link

CheLoV commented Apr 12, 2022

Greetings!
Were there any updates. Also encountered troubles with aarch64 builds

@HuguesDelorme
Copy link
Member

Hello @CheLoV
Did you try to run some official OpenCascade example on your arm64 OS ?

@HuguesDelorme
Copy link
Member

@KascheyBessmertnii and @CheLoV
Do you still experience this problem with latest version(v0.7.0)?
Let me know your feedback if any, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build error Compilation and linking errors
3 participants