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

AST Build Errors on Linux #36

Open
nicklevergne opened this issue Jan 21, 2025 · 1 comment
Open

AST Build Errors on Linux #36

nicklevergne opened this issue Jan 21, 2025 · 1 comment

Comments

@nicklevergne
Copy link

nicklevergne commented Jan 21, 2025

I am getting two errors when trying to compile a project with this plugin for Linux.

Compile Module.RuntimeSpeechRecognizer.cpp
error: current translation unit is compiled with the target feature '+avx' but the AST file was not
error: current translation unit is compiled with the target feature '+bmi' but the AST file was not
2 errors generated.

I am still investigating a possible solution, but help would be appreciated.

@nicklevergne nicklevergne changed the title AST Build Errors on Linux Only AST Build Errors on Linux Jan 21, 2025
@gtreshchev
Copy link
Owner

gtreshchev commented Jan 23, 2025

This is most likely due to instruction sets, your Linux system might not support AVX or other. You can go to RuntimeSpeechRecognizer.Build.cs and change MinCpuArchX64/bUseAVX, and also you may need to modify SpeechRecognizerPrivate.h to remove handling of CPU instruction sets there as well. But keep in mind that this may significantly degrade performance.

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

2 participants