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

[C API] Compilation issues with flatbuffers - with solutions #365

Open
Jack121298 opened this issue Jul 31, 2024 · 1 comment
Open

[C API] Compilation issues with flatbuffers - with solutions #365

Jack121298 opened this issue Jul 31, 2024 · 1 comment

Comments

@Jack121298
Copy link

System Information
Please provide the following information about your system:

  • Steam Audio version: 4.5.3
  • (If applicable) Unity version: N/A
  • (If applicable) Unreal Engine version: N/A
  • (If applicable) FMOD Studio version: N/A
  • Operating System and version: Arch
  • (Optional) CPU architecture (e.g. x86-64, armv7): x86-64

Following guide to build steam-audio, I get errors with flatbuffers.

1st error:
"C++ versions less than C++14 are not supported."

2nd error:
flatbuffers requires > C++ 17

3rd error:
-Werror=stringop-overflow warning thrown as error when building flatpacks with gcc version 14.1.
Similar issue seen here

Solutions
All issues can be fixed by adding these flags into dependencies.json for flatpacks

"-DCMAKE_CXX_STANDARD=17",
"-DCMAKE_CXX_FLAGS=-Wno-stringop-overflow"

I'd love to make a pull request but it is something I've never done before. Let me know if I can!

@lakulish
Copy link
Collaborator

lakulish commented Aug 1, 2024

@Jack121298 Feel free to open a pull request.

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