# Problems with mac m1 (supercollider)

**URL:** <https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995>\
**Category:** Bug Reports and Issues\
**Created:** [September 29, 2021, 7:23pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995 "2021-09-29T19:23:30Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![NiklasDahlqvist](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/n/5fc32e/32.png) [@NiklasDahlqvist](https://discourse.flucoma.org/u/NiklasDahlqvist)\
**Post date:** [September 29, 2021, 7:23pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/1 "2021-09-29T19:23:30Z")

</div>

Hello!

I am working on a m1 mac and when i put the folder in my extensions folder the server crashes. I have been trying to work around this but haven’t found a solution that works. I read somewhere it has something to do with rosetta 2 or something like that. Do you think there is any possibility to get it working on my system?

//Niklas

---

<div class="post-metadata">

**Author:** ![jamesbradbury](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/jamesbradbury/32/1252_2.png) [@jamesbradbury](https://discourse.flucoma.org/u/jamesbradbury)\
**Post date:** [September 29, 2021, 7:36pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/2 "2021-09-29T19:36:03Z")

</div>

I’d love to help but I’m not update to scratch with compiling for SC yet. Is this using the current download located at our front page? If so, it might be that its compiled with AVX on which makes anything running under Rosetta unhappy and crash.

@weefuzzy do you know what is going on?

---

<div class="post-metadata">

**Author:** ![NiklasDahlqvist](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/n/5fc32e/32.png) [@NiklasDahlqvist](https://discourse.flucoma.org/u/NiklasDahlqvist)\
**Post date:** [September 29, 2021, 7:39pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/3 "2021-09-29T19:39:13Z")

</div>

Thanks for the quick answer! Yes it is the current download. Ahaa i see.

---

<div class="post-metadata">

**Author:** ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)\
**Post date:** [September 29, 2021, 7:44pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/4 "2021-09-29T19:44:02Z")

</div>

Yes, it sounds like it will be that the beta 2 package is on AVX, so makes Rosetta 2 bail.

@NiklasDahlqvist We’ve abandoned AVX in the next release, to avoid this problem. The next beta will be out very soon, but if you fancy having a go at compiling in the meantime we could help you do that.

---

<div class="post-metadata">

**Author:** ![NiklasDahlqvist](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/n/5fc32e/32.png) [@NiklasDahlqvist](https://discourse.flucoma.org/u/NiklasDahlqvist)\
**Post date:** [September 29, 2021, 7:46pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/5 "2021-09-29T19:46:32Z")

</div>

Ok! Yes i would love some help with that, thank you!

---

<div class="post-metadata">

**Author:** ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)\
**Post date:** [September 29, 2021, 7:56pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/6 "2021-09-29T19:56:13Z")

</div>

Happy to. Do you have Xcode or the Xcode command line tools installed already?

(if you have homebrew installed, it’s quite likely it already installed the command line tools at some point)

You’ll also need git and cmake (which are most simply installed via homebrew)

---

<div class="post-metadata">

**Author:** ![NiklasDahlqvist](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/n/5fc32e/32.png) [@NiklasDahlqvist](https://discourse.flucoma.org/u/NiklasDahlqvist)\
**Post date:** [September 29, 2021, 7:58pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/7 "2021-09-29T19:58:23Z")

</div>

Yes i have all of those installed!

---

<div class="post-metadata">

**Author:** ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)\
**Post date:** [September 29, 2021, 8:27pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/8 "2021-09-29T20:27:08Z")

</div>

Brilliant. So, the thing to do is to

1. have the supercollider source code downloaded / cloned somewhere

2. `git clone` the flucoma sc repo at [GitHub - flucoma/flucoma-sc: Fluid Corpus Manipulation plugins for Supercollider](https://github.com/flucoma/flucoma-sc)

3. Make a note of where the SC source is; go to the flucoma-sc directory and

```bash
mkdir build 
cd build 
cmake -DSC_PATH=<sc src directory> -DFLUID_ARCH=-msse -DCMAKE_OSX_ARCHITECTURE=x64 ..
make install

```

If all goes well, then a package with everything will have been put together at `<flucoma-sc>/install/FluidCorpusManipulation`, I think

If there’s errors (hope not!), then we’ll unpick them…

---

<div class="post-metadata">

**Author:** ![NiklasDahlqvist](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/n/5fc32e/32.png) [@NiklasDahlqvist](https://discourse.flucoma.org/u/NiklasDahlqvist)\
**Post date:** [September 30, 2021, 8:41am UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/9 "2021-09-30T08:41:49Z")

</div>

Hmm i followed the steps but i keep getting this error:

Fatal Python error: init\_sys\_streams: is a directory, cannot continue

Python runtime state: core initialized

Do you understand whats wrong? sorry i am a complete mess when it comes to terminal.

---

<div class="post-metadata">

**Author:** ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)\
**Post date:** [September 30, 2021, 8:51am UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/10 "2021-09-30T08:51:06Z")

</div>

Hmm, Python shouldn’t be involved at all as far as I know! Perhaps CMake is trying to use it for something.

There should be a file in your build folder `builld/CMakeFiles/CMakeOutput.log`. Could you attach that and I’ll have a look at what CMake did. Also `build/CMakeCache.txt`…

---

<div class="post-metadata">

**Author:** ![NiklasDahlqvist](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/n/5fc32e/32.png) [@NiklasDahlqvist](https://discourse.flucoma.org/u/NiklasDahlqvist)\
**Post date:** [September 30, 2021, 8:58am UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/11 "2021-09-30T08:58:02Z")

</div>

hmm there is no such file, only -DFLUID\_ARCH=-msse

---

<div class="post-metadata">

**Author:** ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)\
**Post date:** [September 30, 2021, 9:38am UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/12 "2021-09-30T09:38:01Z")

</div>

Ah, ok, sounds like something went funny before CMake ran. In your build folder, if you do `ls` to list the contents what do you see?

---

<div class="post-metadata">

**Author:** ![NiklasDahlqvist](https://discourse.flucoma.org/letter_avatar_proxy/v4/letter/n/5fc32e/32.png) [@NiklasDahlqvist](https://discourse.flucoma.org/u/NiklasDahlqvist)\
**Post date:** [September 30, 2021, 10:05am UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/13 "2021-09-30T10:05:49Z")

</div>

I managed to get it to work!! Thank you so much for your help!

---

<div class="post-metadata">

**Author:** ![weefuzzy](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/weefuzzy/32/362_2.png) [@weefuzzy](https://discourse.flucoma.org/u/weefuzzy)\
**Post date:** [September 30, 2021, 2:14pm UTC](https://discourse.flucoma.org/t/problems-with-mac-m1-supercollider/995/14 "2021-09-30T14:14:47Z")

</div>

Great, thanks for having a go!
