-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add debian/ubuntu command to get dependencies #384
base: main
Are you sure you want to change the base?
Conversation
Perhaps the upper note about compiling Qt isn't necessary? (Yet). Could build friction (after hours of googling) by installing:
|
Things people have gotten stuck at in Discord:
|
Is this the way to install libav:
or is it: |
Is it easier to get qt and Friction running up on windows? |
The SDK's includes everything needed except for the compilers. The SDK's for Windows and macOS is extracted to the sdk folder in the Friction root folder. The SDK for Linux must be extracted to /opt/friction.
Example for building on Ubuntu: https://github.com/friction2d/friction/blob/main/src/scripts/ci.sh
It's not hard to download ffmpeg and build it. We have a open issue regarding ffmpeg (#135), feel free to fix it. |
btw, I use this https://github.com/friction2d/friction/blob/main/src/scripts/build_qt_debug.sh for development (needs updates I see, it's missing qscintilla). My main development environment for Friction is Ubuntu 22.04 with latest Qt 5.15 built from source (using the script above) using Qt Creator. Ubuntu 22.04/24.04 has everything needed to develop Friction. |
I will remove the The current build doc for Linux is https://friction.graphics/documentation/source-linux.html with source at https://github.com/friction2d/friction2d.github.io/blob/main/documentation/source-linux.md |
I spent a lot of time figuring out the dependencies. I added a command in the building guide for debian / ubuntu that lets you get them all.
I also added a warning on how to get Qt officially and a way to get it without registering a Qt Account.
In the future we need to work on the Windows documentation for beginners and improve the current one for linux/mac