Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3DS build environment
#2
Hi,
I was able to figure it out. For anyone else who tries to compile for 3ds here the steps I used:

Code:
export DEVKITPRO=... DEVKITARM=...
git clone https://github.com/mgba-emu/mgba.git
mkdir mgba/build
cd mgba/build
cmake -DCMAKE_TOOLCHAIN_FILE=../src/platform/3ds/CMakeToolchain.txt ..
make

You obviously have to have devkitpro/devkitarm and libctru installed. I additionally had to download and build picasso and bannertool. To help cmake find the executables I linked them into the bin directory of devkitarm. There were problems building the .cia, but I just commented out its block in src/platform/3ds/CMakeLists.txt as I don't need it.

Hope this helps someone.
Reply



Messages In This Thread
3DS build environment - by thammi - 12-08-2015, 06:16 PM
RE: 3DS build environment - by thammi - 12-08-2015, 08:01 PM
RE: 3DS build environment - by Robin - 02-06-2016, 09:56 PM
RE: 3DS build environment - by endrift - 02-06-2016, 11:54 PM
RE: 3DS build environment - by Robin - 02-07-2016, 01:26 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.