WeirdConstructor / HexoSynth

A FLOSS (Open Source) hexagonal modular synthesizer plugin.
GNU General Public License v3.0
218 stars 9 forks source link

Failure to compile on Fedora ARM64 #7

Closed real-felix closed 9 months ago

real-felix commented 9 months ago

Hello, as said in the title, I tried to compile on a Fedora ARM64.

I add to install:

sudo dnf install alsa-lib-devel libXcursor-devel mesa-libGL-devel jack-audio-connection-kit-devel xcb-util-wm-devel.aarch64

But I get this error:

   Compiling fnv v1.0.7
error[E0432]: unresolved import `std::simd::cmp`
  --> /home/felixdv/.cargo/registry/src/index.crates.io-6f17d22bba15001f/synfx-dsp-0.5.6/src/fh_va/ladder.rs:11:16
   |
11 | use std::simd::cmp::SimdPartialEq;
   |                ^^^ could not find `cmp` in `simd`

error[E0432]: unresolved import `std::simd::cmp`
  --> /home/felixdv/.cargo/registry/src/index.crates.io-6f17d22bba15001f/synfx-dsp-0.5.6/src/fh_va/ladder.rs:12:16
   |
12 | use std::simd::cmp::SimdPartialOrd;
   |                ^^^ could not find `cmp` in `simd`

   Compiling cfg-if v0.1.10
error[E0554]: `#![feature]` may not be used on the stable release channel
   --> /home/felixdv/.cargo/registry/src/index.crates.io-6f17d22bba15001f/synfx-dsp-0.5.6/src/lib.rs:230:12
    |
230 | #![feature(portable_simd)]
    |            ^^^^^^^^^^^^^
real-felix commented 9 months ago

Whelp, I've not waken up correctly, I need a nightly compiler. De you know that you can add:

[toolchain]
channel = "nightly"

in rust-toolchain.toml so that it's automatic?

Anyway, you can add the instructions for Fedora, the packages I wrote must be added.

WeirdConstructor commented 9 months ago

@Boiethios Thanks for the heads up about the toolchain, I was not aware of that yet. Thanks! I make a note to add the packages to the readme.