You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't mind helping you out with how to compile, however if you're just getting into Switch development I would recommend you learn to compile the examples that come with the devkitPRO installation.
Also, this is not something to open an issue for. You should have gone to the forums and looked at tutorial basics on how to compile the Switch examples, including the SDL and OpenGL examples.
Now, the compiler issues you're getting are due to missing libraries. The default installation of devkitPRO won't install extra libraries like GLFW, SDL, or LIBAV.
So you'll need to use pacman to get the missing libraries. To do this:
open Msys and type pacman -Syu to make sure it's up to date
after that completes, type pacman -S switch-portlibs
it should show you a list of libraries, just press enter and confirm everything that it asks
when it's done, try compiling again (I'd recommend using make -j to allow multi-threaded compilation)
For future reference, if you want to see if a library exists, you can search in pacman for libraries. So for example, the above was saying 'SDL' is a missing dependency. So you can try to find the library by doing pacman -Ss sdl and it will list all packages that contain the keyword 'sdl'. To find switch related packages, you can do pacman -Ss switch.
I am learning how to compile on Switch. I can't find detailed instructions on how to compile the .nro
Just install devkitpro here I opened MSys2 installed by DevKitPRO, I went to the folder "switch-remote-play\switch-project" and run Make -i.
These are the results:
The text was updated successfully, but these errors were encountered: