Giter Site home page Giter Site logo

Comments (1)

Moehammered avatar Moehammered commented on September 3, 2024

@ImanCol Hi mate.

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.

Hope that helps.

from switch-remote-play.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.