-
pepposole
- Posts: 2
- Joined: Wed May 14, 2025 10:02 pm
Post
by pepposole » Wed May 14, 2025 10:15 pm
Trying to compile NDS example on WSL, windows 11. Got all the stuff installed.
Code: Select all
/opt/devkitpro/examples/nds$ sudo dkp-pacman -Q
calico 1.1.0-1
devkitARM r66-1
devkitarm-crtls 1.2.6-1
devkitarm-rules 1.6.0-4
devkitpro-keyring 20241017-2
general-tools 1.4.4-1
grit 0.9.2-1
libnds 2.0.1-1
nds-examples 20241110-1
ndstool 2.3.1-1
pacman 6.0.2-6
but when i try to compile....
Code: Select all
/opt/devkitpro/examples/nds$ sudo DEVKITARM=/opt/devkitpro/devkitARM/ DEVKITPRO=/opt/devkitpro/ make
make[1]: Entering directory '/opt/devkitpro/examples/nds/Graphics'
make[2]: Entering directory '/opt/devkitpro/examples/nds/Graphics/3D'
make[3]: Entering directory '/opt/devkitpro/examples/nds/Graphics/3D/3D_Both_Screens'
template.c
linking 3D_Both_Screens.elf
Nintendo DS rom tool 2.3.1 - Jan 8 2024
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
failed to open input file: '/opt/devkitpro//calico/bin/ds7_maine.elf'
make[4]: *** [/opt/devkitpro/devkitARM//ds_rules:39: /opt/devkitpro/examples/nds/Graphics/3D/3D_Both_Screens/3D_Both_Screens.nds] Error 1
thoughts?
-
WinterMute
- Site Admin
- Posts: 2052
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
-
Contact:
Post
by WinterMute » Thu May 15, 2025 6:24 am
/opt/devkitpro is not user writable. If you want to compile the examples copy them somewhere that's writable.
-
pepposole
- Posts: 2
- Joined: Wed May 14, 2025 10:02 pm
Post
by pepposole » Thu May 15, 2025 1:10 pm
WinterMute wrote: Thu May 15, 2025 6:24 am
/opt/devkitpro is not user writable. If you want to compile the examples copy them somewhere that's writable.
I've also moved out the sources from /opt/devkitpro with no success.
The problem is that file /opt/devkitpro/calico/bin/ds7_maine.elf is missing and i don't know how to produce it/retrieve it
Any ideas?
-
WinterMute
- Site Admin
- Posts: 2052
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
-
Contact:
Post
by WinterMute » Fri May 16, 2025 10:04 pm
Don't redefine the DEVKITPRO & DEVKITARM variables when compiling. These should be set in your environment already.
Run the following command to ensure your devkit install is up to date and all required components are installed.
Code: Select all
sudo dkp-pacman -S nds-dev --needed
Who is online
Users browsing this forum: No registered users and 1 guest