overtone / overtone

Collaborative Programmable Music
http://overtone.github.io
Other
5.89k stars 448 forks source link

Cannot find scsynth.exe when installed under Windows "c:\Program Files" #418

Open stevejb71 opened 5 years ago

stevejb71 commented 5 years ago

I installed scsynth in "Program Files" on Windows 10.

In a repl:

user=> (boot-external-server 57110)

Exception Unable to locate a valid scsynth executable on your system. I looked in the following places: ["\\scsynth.exe"]  overtone.sc.machinery.server.connection/find-sc-path (connection.clj:258)
user=> (boot-external-server 57110)

I copied the scsynth installation to "Program Files (x86)", and it worked.

hlolli commented 5 years ago

How did you install Supercollider originally? I thought "Program Files (x86)" was still the default location, but I guess this has changed since this code was written? But wont hurt to try both locations.

stevejb71 commented 5 years ago

It's a little while ago now, but I likely installed the 64 bit version using the downloaded installer, which would copy files into Program Files (not x86).

pete-dot-m commented 5 years ago

I'm having the same issue. Running Win10 64, installed SC 64-bit , although to a completely custom folder. It would be cool if we could override scsynth's location in ~/.overtone/config.clj

hlolli commented 5 years ago

@pete-dot-m Good idea, I will implement that. Going to research this code

https://github.com/overtone/overtone/blob/f6d414f884f1b6d3166195b49276174efddf2cf2/src/overtone/helpers/lib.clj#L356-L366

I haven't made a release, does this still happens on master branch?

Dapuva76 commented 5 years ago

I just tried to set up Overtone on Windows 10, and found this page via google. I've also installed supercollider in a different directory, and overtone can't find it. I've added the supercollider dir to PATH as well as to emacs exec-path, but no luck.

fractal80y commented 5 years ago

Have same issue. Also added to path, no luck. Capture Capture1