-
alfonsico
- Posts: 2
- Joined: Sat Aug 17, 2024 9:14 am
Post
by alfonsico » Sat Aug 17, 2024 3:10 pm
Hello, I'm nooby building code and I’m trying to compile some libretro for RetroArch in switch
I have macOS M2 and in the for now I'm not sure if devkitpro is well installed
After I installed Xcode and command line and devkitpro-pacman but when I run this in Terminal
Code: Select all
sudo dkp-pacman -Sy devkit-env devkitA64 libnx switch-tools switch-mesa switch-zlib switch-bzip2 switch-liblzma switch-freetype switch-libpng switch-libvpx switch-ffmpeg
But I got this
Code: Select all
:: Synchronizing package databases...
dkp-libs is up to date
dkp-osx is up to date
[b]error: target not found: devkit-env[/b]
warning: devkitA64-r26.1-2 is up to date -- reinstalling
warning: libnx-4.7.0-1 is up to date -- reinstalling
warning: switch-tools-1.12.0-1 is up to date -- reinstalling
warning: switch-mesa-20.1.0-4 is up to date -- reinstalling
warning: switch-zlib-1.3.1-1 is up to date -- reinstalling
warning: switch-bzip2-1.0.8-1 is up to date -- reinstalling
warning: switch-liblzma-5.2.4-2 is up to date -- reinstalling
warning: switch-freetype-2.13.2-2 is up to date -- reinstalling
warning: switch-libpng-1.6.39-2 is up to date -- reinstalling
warning: switch-libvpx-1.8.0-2 is up to date -- reinstalling
warning: switch-ffmpeg-6.0-3 is up to date -- reinstalling
-
WinterMute
- Site Admin
- Posts: 1899
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
-
Contact:
Post
by WinterMute » Mon Aug 19, 2024 10:47 am
The devkit-env package doesn't exist on macOS. devkit-env, devkitA64, libnx, and switch-tools are all part of the core switch-dev group which should be used in preference to avoid this kind of confusion. I'd be grateful if you fed this back to where you got your installation instructions.
-
alfonsico
- Posts: 2
- Joined: Sat Aug 17, 2024 9:14 am
Post
by alfonsico » Sun Sep 08, 2024 7:25 pm
Sorry, maybe I'm not so expert to understand what you ask me
What do I need to change in preference and how to do it?
-
WinterMute
- Site Admin
- Posts: 1899
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
-
Contact:
Post
by WinterMute » Mon Sep 09, 2024 10:51 am
alfonsico wrote: ↑Sun Sep 08, 2024 7:25 pm
Sorry, maybe I'm not so expert to understand what you ask me
What do I need to change in preference and how to do it?
Someone somewhere has given you this command line to run. I'm assuming it's written down somewhere, perhaps as instructions for compiling libretro
After I installed Xcode and command line and devkitpro-pacman but when I run this in Terminal
Code: Select all
sudo dkp-pacman -Sy devkit-env devkitA64 libnx switch-tools switch-mesa switch-zlib switch-bzip2 switch-liblzma switch-freetype switch-libpng switch-libvpx switch-ffmpeg
This command line, to avoid confusion like this can and should be simplified to
Code: Select all
sudo dkp-pacman -S --needed switch-dev switch-mesa switch-liblzma switch-freetype switch-libvpx switch-ffmpeg
If you can file an issue with the project you're trying to build to tell them of this problem (link to this thread if you want) it would be much appreciated. It would help others avoid this kind of confusion in the future.
Who is online
Users browsing this forum: No registered users and 0 guests