Problem with NDS emulator

Hi,

I have a working Lutris install, but i can’t load a nintedo ds game from the simpsons. The error message is this:

lutris-wrapper: The Simpsons Game
Running /sysroot/home/carlos/.var/app/net.lutris.Lutris/data/lutris/runners/retroarch/retroarch --fullscreen --config=/sysroot/home/carlos/.var/app/net.lutris.Lutris/data/lutris/runners/retroarch/retroarch.cfg --libretro=/sysroot/home/carlos/.var/app/net.lutris.Lutris/data/lutris/runners/retroarch/cores/desmume_libretro.so /sysroot/home/carlos/Games/the-simpsons-game/1577 - Simpsons Game, The (Europe).nds
Initial process has started with pid 56
Start monitoring process.
/sysroot/home/carlos/.var/app/net.lutris.Lutris/data/lutris/runners/retroarch/retroarch: error while loading shared libraries: libCg.so: cannot open shared object file: No such file or directory

Any help?

Thanks

You seem to be missing a library. The libCg.so is part of the NVIDIA CG Toolkit.

See this link for more info:
https://www.reddit.com/r/Lutris/comments/pa7604/trouble_with_snes_emulation/

On Manjaro the packages seem to be as follows:

nvidia-cg-toolkit
lib32-nvidia-cg-toolkit

On Ubuntu and derivatives:

nvidia-cg-toolkit
# The x86 package has i386 in its name. Look for it using apt search...

Fedora’s version is in the rpmfusion-nonfree repository as package:

libCg.x86_64 # (or just libCg as it defaults to the 64 bit version)
libCg.i686