< Back to IRCAM Forum

(in-package :om)

hello,

I’d like to use the om package in LispWorks. Where can I find it

thx

………………………………………………………………… jerome

what do you mean by “finding it” ?
the OM package is defined in the OM sources. it is just a namespace for OM functions.
so you don’t need to find it in order to use it (provided OM is loaded…)

Jean

hi jean

when I open a lisp file, LispWorks ask me the om-package. In order to use OM functions in LW, I’d like to have the asked package.

Capture.png

Hi Jerome,

I suspect you are trying to use lisp in LispWorks using Om functions.
In order to do so, you should first load OM in lispworks, (or even easier) launch om.
Once you are here, and open a lisp file , you should always state in the beginning of your lisp file :

(in-package :om)
;…then the code goes here …

That’s all.

Your warning i guess is that you didn’t load om , OR you used an om function call without being in the package.

Jean will confirm or say if i am saying something stupid…

Best
K

1 Like

Hi Karim,

yes, I’m trying to load OM in LispWorks, I had a look to http://repmus.ircam.fr/openmusic/sources but I can’t find the sources of OM 6.9 for OSX. Opening OM doesn’t work.

Mikhail advised me to work in OM itself and, even if I will follow his advice for beginning, using LW is interesting anyway !

Cheers~

……………………………………………………………… jerome

Hi Jérôme. OMs sources are normally installed together with the application. Look inside the folder in "Applications/OM*./, you’ll find buildimage/ and the rest of the sources.

To load and start OM in a running lw, in the repl: (load “path/to/sources/buildimage/build-om.lisp”), then (om::start-openmusic)

-anders

Thank you very much Anders, this is what I expected !