I installed DrRacket, the full version not the minimal but I don't have the packages.
When I run this code:
#lang racket
(provide (all-defined-out))
(require rsound)
(play ding)
It gives me this error:
standard-module-name-resolver: collection not found
for module path: rsound
collection: "rsound"
in collection directories:
C:\Users\Theodor\AppData\Roaming\Racket\6.3\collects
C:\Program Files\Racket\collects
... [161 additional linked and package directories] in: rsound
no packages suggestions are available .
In "collects" I have only "catalog.sqlite".
How do I install packages for DrRacket? "Update catalog" didn't work. The other similar questions didn't help.
An installation package contains all of the information that the Windows Installer requires to install or uninstall an application or product and to run the setup user interface.
A package management system is comprised of sets of tools and file formats that are used together to install, update, and uninstall Linux apps. The two most common package management systems are from Red Hat and Debian. Red Hat, CentOS, and Fedora all use the rpm system (.
Author of rsound here. Yes, liweijian got it right, you need to install the package. There are two ways to do this:
In DrRacket, go to "File > Package Manager ..." and type "rsound" in the "do what I mean" box.
Or, at the command-line, run
raco pkg install rsound
Let me know if you have any problems with this!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With