Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Add build instructions to README.md #272

Open
1 task done
RSC-Games opened this issue Oct 10, 2024 · 5 comments
Open
1 task done

Add build instructions to README.md #272

RSC-Games opened this issue Oct 10, 2024 · 5 comments

Comments

@RSC-Games
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What feature are you suggesting?

Building the project is not difficult; however, the inclusion of build instructions would make building easier for those who aren't as familiar with CMake/Git. I had to install numerous dependencies that aren't present on a base system. It's probably safe to assume the person in question has a c++ toolchain installed, but not much more than that.

I would be completely open to writing the said instructions since I just spent the effort required to set up a build environment and am currently building citra.

Why would this feature be useful?

This would allow users to build the latest commit and test/use it locally.

@PabloMK7
Copy link
Owner

Hello,

Yes of course, the current readme is provisional. It will be fixed eventually.

@RSC-Games
Copy link
Author

Id be happy to write a readme for this project. If it's okay I'll write one and open a PR for it in a few days or so.

@RyDawgE
Copy link

RyDawgE commented Oct 15, 2024

How did you manage to build it?

@RSC-Games
Copy link
Author

I'll have to check my command line history but I'll send it tomorrow when I can. You just need the GTK6 headers, OpenGL + Vulkan headers, and a working C/C++ compiler toolchain.

@RSC-Games
Copy link
Author

RSC-Games commented Oct 17, 2024

Alright here are the commands I ran (tested on a Ubuntu-based system):

$ git clone https://github.com/PabloMK7/citra.git
$ sudo apt install qt6-headers qt6-tools-dev qt6-base-dev qt6-base-dev-tools qt6-tools-dev-tools qt6-multimedia-dev libgl1-mesa-dev libxext-dev qt6-base-private-dev
$ cd citra
$ git submodule update --init --recursive
$ mkdir build
$ cd build
$ cmake ..
$ make -j$(nproc)

After this, the built binaries should be available in build/bin/Release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants