Giter Site home page Giter Site logo

weirdconstructor / hexosynth Goto Github PK

View Code? Open in Web Editor NEW
206.0 10.0 9.0 5.3 MB

A FLOSS (Open Source) hexagonal modular synthesizer plugin.

License: GNU General Public License v3.0

Rust 98.67% Shell 1.33%
rust audio music synthesizer audioplugin vst2 jackaudio linuxaudio modular-synth modular-synthesizers modularsynth modularsynthesis

hexosynth's Issues

Blank purple screen?

Hi. As a standalone JACK application or VST3 (unsure of CPAL or CLAP), current main branch creates an empty purple window. As a plugin, an audio loop plays through the DAW (tested in reaper and ardour8).

image

System:
arch linux - 6.7.3
wayland, sway, pipewire
AMD GPU

warning: `hexosynth` (lib) generated 15 warnings (run `cargo fix --lib -p hexosynth` to apply 4 suggestions)
    Finished release [optimized] target(s) in 0.14s
     Running `target/release/hexosynth_jack`
JACK: sample rate changed to 48000
JACK: port registered: HexoSynth:hexosynth_in1
JACK: registered port with id 6676
JACK: thread init
JACK: port registered: HexoSynth:hexosynth_in2
JACK: registered port with id 6677
JACK: port registered: HexoSynth:hexosynth_out1
JACK: registered port with id 6678
JACK: port registered: HexoSynth:hexosynth_out2
JACK: registered port with id 6679
JACK: ports with id 6678 and 6351 are connected
JACK: graph reordered
JACK: ports with id 6679 and 6353 are connected
JACK: graph reordered
SYNC FROM
HexoTK drop widget ID=13
HexoTK drop widget ID=14
HexoTK drop widget ID=15
HexoTK drop widget ID=17
HexoTK drop widget ID=16
HexoTK drop widget ID=136
HexoTK drop widget ID=137
HexoTK drop widget ID=134
HexoTK drop widget ID=135
HexoTK drop widget ID=49
HexoTK drop widget ID=50
HexoTK drop widget ID=51
HexoTK drop widget ID=54
HexoTK drop widget ID=52
HexoTK drop widget ID=53
HexoTK drop widget ID=55
HexoTK drop widget ID=138
HexoTK drop widget ID=139
HexoTK drop widget ID=140
HexoTK drop widget ID=141
HexoTK drop widget ID=142
HexoTK drop widget ID=143
HexoTK drop widget ID=144
HexoTK drop widget ID=145
HexoTK drop widget ID=146
HexoTK drop widget ID=18
HexoTK drop widget ID=147
HexoTK drop widget ID=149
HexoTK drop widget ID=150
HexoTK drop widget ID=148
HexoTK drop widget ID=219
HexoTK drop widget ID=220
HexoTK drop widget ID=221
HexoTK drop widget ID=222
HexoTK drop widget ID=152
HexoTK drop widget ID=155
HexoTK drop widget ID=158
HexoTK drop widget ID=160
HexoTK drop widget ID=159
HexoTK drop widget ID=161
HexoTK drop widget ID=163
HexoTK drop widget ID=162
HexoTK drop widget ID=164
HexoTK drop widget ID=166
HexoTK drop widget ID=165
HexoTK drop widget ID=167
HexoTK drop widget ID=169
HexoTK drop widget ID=168
HexoTK drop widget ID=170
HexoTK drop widget ID=171
HexoTK drop widget ID=173
HexoTK drop widget ID=172
HexoTK drop widget ID=174
HexoTK drop widget ID=176
HexoTK drop widget ID=175
HexoTK drop widget ID=177
HexoTK drop widget ID=179
HexoTK drop widget ID=178
HexoTK drop widget ID=180
HexoTK drop widget ID=182
HexoTK drop widget ID=181
HexoTK drop widget ID=183
HexoTK drop widget ID=184
HexoTK drop widget ID=186
HexoTK drop widget ID=185
HexoTK drop widget ID=187
HexoTK drop widget ID=189
HexoTK drop widget ID=188
HexoTK drop widget ID=190
HexoTK drop widget ID=192
HexoTK drop widget ID=191
HexoTK drop widget ID=193
HexoTK drop widget ID=195
HexoTK drop widget ID=194
HexoTK drop widget ID=196
HexoTK drop widget ID=197
HexoTK drop widget ID=199
HexoTK drop widget ID=198
HexoTK drop widget ID=200
HexoTK drop widget ID=202
HexoTK drop widget ID=201
HexoTK drop widget ID=203
HexoTK drop widget ID=205
HexoTK drop widget ID=204
HexoTK drop widget ID=206
HexoTK drop widget ID=207
HexoTK drop widget ID=209
HexoTK drop widget ID=208
HexoTK drop widget ID=210
HexoTK drop widget ID=212
HexoTK drop widget ID=211
HexoTK drop widget ID=213
HexoTK drop widget ID=215
HexoTK drop widget ID=214
HexoTK drop widget ID=216
HexoTK drop widget ID=217
HexoTK drop widget ID=218
HexoTK drop widget ID=226
HexoTK drop widget ID=227
HexoTK drop widget ID=228
HexoTK drop widget ID=230
HexoTK drop widget ID=229
HexoTK drop widget ID=231
HexoTK drop widget ID=235
HexoTK drop widget ID=242
ERROR: Compile error: top_main:2:18 Compilation Error: Error on evaluating module 'main': Runtime error: Panic: Error value in map value: "No Document dir could be found!"
     "No Document dir could be found!"
    wllib/file_selector.wl:29:11 Func[new] [:patches]
    main.wl:1014:40 Call [:patches]

DPI FACTOR = 1, Phys=PhySize { width: 1400, height: 800 }, Logic=Size { width: 1400.0, height: 800.0 }
start relayout w=1400, h=800
layout changed
redraw (lbl=false): 1
UNHANDLED EVENT: Mouse(CursorEntered)
UNHANDLED EVENT: Mouse(CursorLeft)
UNHANDLED EVENT: Mouse(CursorEntered)
UNHANDLED EVENT: Mouse(CursorLeft)
JACK: unregistered client with name "HexoSynth"
[.@. HexoSynth]$

Build failure on Fedora 38

I am trying to build hexosynth on Fedora 38 from master.
I met a build error:

   Compiling synfx-dsp v0.5.6
error[E0432]: unresolved import `std::simd::cmp`
  --> /home/collette/.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/collette/.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`

error[E0554]: `#![feature]` may not be used on the stable release channel
   --> /home/collette/.cargo/registry/src/index.crates.io-6f17d22bba15001f/synfx-dsp-0.5.6/src/lib.rs:230:12
    |
230 | #![feature(portable_simd)]
    |            ^^^^^^^^^^^^^

Some errors have detailed explanations: E0432, E0554.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `synfx-dsp` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.BiUe0p (%build)

Rust build type-errors

hi, we briefly interacted a while ago on Mastodon, and was reminded of your project this morning.

I had some abandoned work from September where I tried to provision a dev environment using nix and build the project (I use NixOS so am accustomed to doing this).

this morning I rebased that over latest master and tried again. the changeset is captured here: https://github.com/mhuesch/HexoSynth/commits/mhueschen-2

I was able to get the deps working, tho arrived at a state where a number of Rust type errors dumped out. is that the expected state of master or did I do something wrong? of note, I tried both nightly 1.64 rust, and stable 1.62, with seemingly the same error msgs.

I was hoping to try out the latest state of the synth on my machine, but if you think that will be too much hassle I am ok with giving up / waiting 🙂 I know it can be jarring to have "visitors" show up unannounced into a codebase 🙇

vayu :: ~/projects/HexoSynth ‹mhueschen-2› » g rev-parse HEAD                               101 ↵
a1384bcac2ef3760abe8404f60ad27597a83eb09

vayu :: ~/projects/HexoSynth ‹mhueschen-2› » rustc --version                
rustc 1.64.0-nightly (c396bb3b8 2022-07-10)

vayu :: ~/projects/HexoSynth ‹mhueschen-2› » cargo build
   Compiling hexosynth v0.2.0-alpha-1 (/home/mhueschen/projects/HexoSynth)
error[E0432]: unresolved imports `hexotk::Units`, `hexotk::TestScript`, `hexotk::HexoTKWindowHandle`
 --> src/lib.rs:7:31
  |
7 | use hexotk::{UI, open_window, Units, Rect, TestScript, HexoTKWindowHandle};
  |                               ^^^^^        ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ no `HexoTKWindowHandle` in the root
  |                               |            |
  |                               |            no `TestScript` in the root
  |                               no `Units` in the root

error[E0432]: unresolved import `hexotk::DummyParamModel`
  --> src/wlapi/hxdsp/matrix.rs:23:5
   |
23 | use hexotk::DummyParamModel;
   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `DummyParamModel` in the root

error[E0432]: unresolved import `hexotk::PatternEditorFeedback`
  --> src/wlapi/hxdsp/matrix.rs:24:9
   |
24 | pub use hexotk::PatternEditorFeedback;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PatternEditorFeedback` in the root

error[E0432]: unresolved import `hexodsp::matrix::MatrixObserver`
 --> src/wlapi/hxdsp/matrix_recorder.rs:6:23
  |
6 | use hexodsp::matrix::{MatrixObserver};
  |                       ^^^^^^^^^^^^^^ no `MatrixObserver` in `matrix`

error[E0432]: unresolved imports `hexotk::HexGridModel`, `hexotk::HexCell`, `hexotk::HexDir`, `hexotk::HexEdge`, `hexotk::HexHLight`
 --> src/wlapi/hxdsp/grid_model.rs:7:14
  |
7 | use hexotk::{HexGridModel, HexCell, HexDir, HexEdge, HexHLight};
  |              ^^^^^^^^^^^^  ^^^^^^^  ^^^^^^  ^^^^^^^  ^^^^^^^^^ no `HexHLight` in the root
  |              |             |        |       |
  |              |             |        |       no `HexEdge` in the root
  |              |             |        no `HexDir` in the root
  |              |             no `HexCell` in the root
  |              no `HexGridModel` in the root

error[E0432]: unresolved import `hexotk::OctaveKeysModel`
 --> src/wlapi/hxdsp/octave_keys.rs:7:5
  |
7 | use hexotk::OctaveKeysModel;
  |     ^^^^^^^^^^^^^^^^^^^^^^^ no `OctaveKeysModel` in the root

error[E0432]: unresolved import `hexotk::GraphModel`
 --> src/wlapi/hxdsp/graph.rs:8:5
  |
8 | use hexotk::GraphModel;
  |     ^^^^^^^^^^^^^^^^^^ no `GraphModel` in the root

error[E0432]: unresolved import `hexotk::GraphMinMaxModel`
 --> src/wlapi/hxdsp/graph_minmax.rs:8:5
  |
8 | use hexotk::GraphMinMaxModel;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^ no `GraphMinMaxModel` in the root

error[E0432]: unresolved import `hexotk::ParamModel`
 --> src/wlapi/hex_knob.rs:6:5
  |
6 | use hexotk::ParamModel;
  |     ^^^^^^^^^^^^^^^^^^ no `ParamModel` in the root

error[E0432]: unresolved import `hexotk::ConnectorData`
 --> src/wlapi/connector.rs:7:5
  |
7 | use hexotk::ConnectorData;
  |     ^^^^^^^^^^^^^^^^^^^^^ no `ConnectorData` in the root

error[E0432]: unresolved imports `hexotk::WichTextData`, `hexotk::WichTextSimpleDataStore`
 --> src/wlapi/wichtext.rs:7:14
  |
7 | use hexotk::{WichTextData, WichTextSimpleDataStore};
  |              ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^ no `WichTextSimpleDataStore` in the root
  |              |
  |              no `WichTextData` in the root
  |              help: a similar name exists in the module: `WidgetData`

error[E0432]: unresolved imports `hexotk::UIPatternModel`, `hexotk::PatternData`, `hexotk::PatternEditorFeedback`, `hexotk::PatternEditorFeedbackDummy`
 --> src/wlapi/pattern_editor.rs:8:5
  |
8 |     UIPatternModel, PatternData,
  |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^ no `PatternData` in the root
  |     |
  |     no `UIPatternModel` in the root
9 |     PatternEditorFeedback, PatternEditorFeedbackDummy
  |     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PatternEditorFeedbackDummy` in the root
  |     |
  |     no `PatternEditorFeedback` in the root

error[E0432]: unresolved import `hexotk::ParamModel`
 --> src/matrix_param_model.rs:5:14
  |
5 | use hexotk::{ParamModel, ChangeRes};
  |              ^^^^^^^^^^ no `ParamModel` in the root

error[E0433]: failed to resolve: could not find `Style` in `hexotk`
   --> src/lib.rs:143:60
    |
143 |         Self { style: Rc::new(RefCell::new(Rc::new(hexotk::Style::new()))) }
    |                                                            ^^^^^ could not find `Style` in `hexotk`

error[E0433]: failed to resolve: could not find `Align` in `hexotk`
   --> src/lib.rs:205:45
    |
205 |                         "center" => hexotk::Align::Center,
    |                                             ^^^^^ could not find `Align` in `hexotk`

error[E0433]: failed to resolve: could not find `Align` in `hexotk`
   --> src/lib.rs:206:45
    |
206 |                         "left"   => hexotk::Align::Left,
    |                                             ^^^^^ could not find `Align` in `hexotk`

error[E0433]: failed to resolve: could not find `Align` in `hexotk`
   --> src/lib.rs:207:45
    |
207 |                         "right"  => hexotk::Align::Right,
    |                                             ^^^^^ could not find `Align` in `hexotk`

error[E0433]: failed to resolve: could not find `Align` in `hexotk`
   --> src/lib.rs:208:45
    |
208 |                         _        => hexotk::Align::Left,
    |                                             ^^^^^ could not find `Align` in `hexotk`

error[E0433]: failed to resolve: could not find `BorderStyle` in `hexotk`
   --> src/lib.rs:218:48
    |
218 | ...                   "rect"  => hexotk::BorderStyle::Rect,
    |                                          ^^^^^^^^^^^ could not find `BorderStyle` in `hexotk`

error[E0433]: failed to resolve: could not find `BorderStyle` in `hexotk`
   --> src/lib.rs:219:48
    |
219 | ...                   "hex"   => hexotk::BorderStyle::Hex {
    |                                          ^^^^^^^^^^^ could not find `BorderStyle` in `hexotk`

error[E0433]: failed to resolve: could not find `BorderStyle` in `hexotk`
   --> src/lib.rs:224:41
    |
224 | ...                   hexotk::BorderStyle::Bevel {
    |                               ^^^^^^^^^^^ could not find `BorderStyle` in `hexotk`

error[E0433]: failed to resolve: could not find `BorderStyle` in `hexotk`
   --> src/lib.rs:233:42
    |
233 | ...                   _ => hexotk::BorderStyle::Rect
    |                                    ^^^^^^^^^^^ could not find `BorderStyle` in `hexotk`

error[E0433]: failed to resolve: could not find `BorderStyle` in `hexotk`
   --> src/lib.rs:239:48
    |
239 | ...                   "rect"  => hexotk::BorderStyle::Rect,
    |                                          ^^^^^^^^^^^ could not find `BorderStyle` in `hexotk`

error[E0433]: failed to resolve: could not find `BorderStyle` in `hexotk`
   --> src/lib.rs:240:48
    |
240 | ...                   "hex"   => hexotk::BorderStyle::Hex {
    |                                          ^^^^^^^^^^^ could not find `BorderStyle` in `hexotk`

error[E0433]: failed to resolve: could not find `BorderStyle` in `hexotk`
   --> src/lib.rs:243:48
    |
243 | ...                   "bevel" => hexotk::BorderStyle::Bevel {
    |                                          ^^^^^^^^^^^ could not find `BorderStyle` in `hexotk`

error[E0433]: failed to resolve: could not find `BorderStyle` in `hexotk`
   --> src/lib.rs:246:42
    |
246 | ...                   _ => hexotk::BorderStyle::Rect
    |                                    ^^^^^^^^^^^ could not find `BorderStyle` in `hexotk`

error[E0433]: failed to resolve: could not find `VAlign` in `hexotk`
   --> src/lib.rs:255:45
    |
255 |                         "middle" => hexotk::VAlign::Middle,
    |                                             ^^^^^^ could not find `VAlign` in `hexotk`

error[E0433]: failed to resolve: could not find `VAlign` in `hexotk`
   --> src/lib.rs:256:45
    |
256 |                         "top"    => hexotk::VAlign::Top,
    |                                             ^^^^^^ could not find `VAlign` in `hexotk`

error[E0433]: failed to resolve: could not find `VAlign` in `hexotk`
   --> src/lib.rs:257:45
    |
257 |                         "bottom" => hexotk::VAlign::Bottom,
    |                                             ^^^^^^ could not find `VAlign` in `hexotk`

error[E0433]: failed to resolve: could not find `VAlign` in `hexotk`
   --> src/lib.rs:258:45
    |
258 |                         _        => hexotk::VAlign::Middle,
    |                                             ^^^^^^ could not find `VAlign` in `hexotk`

error[E0433]: failed to resolve: could not find `CloneMutable` in `hexotk`
   --> src/lib.rs:369:50
    |
369 |             txtmut: Rc::new(RefCell::new(hexotk::CloneMutable::new(s))),
    |                                                  ^^^^^^^^^^^^ could not find `CloneMutable` in `hexotk`

error[E0433]: failed to resolve: could not find `Widget` in `hexotk`
   --> src/lib.rs:406:22
    |
406 |         Self(hexotk::Widget::new(style))
    |                      ^^^^^^ could not find `Widget` in `hexotk`

error[E0433]: failed to resolve: could not find `PopupPos` in `hexotk`
   --> src/lib.rs:509:41
    |
509 |                 self.0.popup_at(hexotk::PopupPos::MousePos);
    |                                         ^^^^^^^^ could not find `PopupPos` in `hexotk`

error[E0433]: failed to resolve: could not find `PositionType` in `hexotk`
   --> src/lib.rs:580:78
    |
580 | ...                   "self"   => Some(hexotk::PositionType::SelfDirected),
    |                                                ^^^^^^^^^^^^ could not find `PositionType` in `hexotk`

error[E0433]: failed to resolve: could not find `PositionType` in `hexotk`
   --> src/lib.rs:581:78
    |
581 | ...                   "parent" => Some(hexotk::PositionType::ParentDirected),
    |                                                ^^^^^^^^^^^^ could not find `PositionType` in `hexotk`

error[E0433]: failed to resolve: could not find `LayoutType` in `hexotk`
   --> src/lib.rs:596:78
    |
596 | ...                   "row"    => Some(hexotk::LayoutType::Row),
    |                                                ^^^^^^^^^^ could not find `LayoutType` in `hexotk`

error[E0433]: failed to resolve: could not find `LayoutType` in `hexotk`
   --> src/lib.rs:597:78
    |
597 | ...                   "column" => Some(hexotk::LayoutType::Column),
    |                                                ^^^^^^^^^^ could not find `LayoutType` in `hexotk`

error[E0433]: failed to resolve: could not find `LayoutType` in `hexotk`
   --> src/lib.rs:598:78
    |
598 | ...                   "grid"   => Some(hexotk::LayoutType::Grid),
    |                                                ^^^^^^^^^^ could not find `LayoutType` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:677:53
    |
677 | ...                   self.0.set_ctrl(hexotk::Control::None);
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:681:53
    |
681 | ...                   self.0.set_ctrl(hexotk::Control::Rect);
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:685:53
    |
685 | ...                   self.0.set_ctrl(hexotk::Control::Label {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `CloneMutable` in `hexotk`
   --> src/lib.rs:689:53
    |
689 | ...                   hexotk::CloneMutable::new(
    |                               ^^^^^^^^^^^^ could not find `CloneMutable` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:695:53
    |
695 | ...                   self.0.set_ctrl(hexotk::Control::Button {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `CloneMutable` in `hexotk`
   --> src/lib.rs:699:53
    |
699 | ...                   hexotk::CloneMutable::new(
    |                               ^^^^^^^^^^^^ could not find `CloneMutable` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:706:57
    |
706 | ...                   self.0.set_ctrl(hexotk::Control::HexKnob {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `HexKnob` in `hexotk`
   --> src/lib.rs:707:60
    |
707 | ...                   knob: Box::new(hexotk::HexKnob::new(param)),
    |                                              ^^^^^^^ could not find `HexKnob` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:720:57
    |
720 | ...                   self.0.set_ctrl(hexotk::Control::HexGrid {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:734:57
    |
734 | ...                   self.0.set_ctrl(hexotk::Control::Connector {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `Connector` in `hexotk`
   --> src/lib.rs:735:59
    |
735 | ...                   con: Box::new(hexotk::Connector::new(data)),
    |                                             ^^^^^^^^^ could not find `Connector` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:748:57
    |
748 | ...                   self.0.set_ctrl(hexotk::Control::WichText {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `WichText` in `hexotk`
   --> src/lib.rs:749:58
    |
749 | ...                   wt: Box::new(hexotk::WichText::new(data)),
    |                                            ^^^^^^^^ could not find `WichText` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:762:57
    |
762 | ...                   self.0.set_ctrl(hexotk::Control::OctaveKeys {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `OctaveKeys` in `hexotk`
   --> src/lib.rs:763:60
    |
763 | ...                   keys: Box::new(hexotk::OctaveKeys::new(data)),
    |                                              ^^^^^^^^^^ could not find `OctaveKeys` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:780:57
    |
780 | ...                   self.0.set_ctrl(hexotk::Control::Graph {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:797:57
    |
797 | ...                   self.0.set_ctrl(hexotk::Control::GraphMinMax {
    |                                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `Control` in `hexotk`
   --> src/lib.rs:819:49
    |
819 | ...                   hexotk::Control::PatternEditor { edit });
    |                               ^^^^^^^ could not find `Control` in `hexotk`

error[E0433]: failed to resolve: could not find `EvPayload` in `hexotk`
   --> src/lib.rs:858:45
    |
858 | ...                   hexotk::EvPayload::Button(btn) => {
    |                               ^^^^^^^^^ could not find `EvPayload` in `hexotk`

error[E0433]: failed to resolve: could not find `EvPayload` in `hexotk`
   --> src/lib.rs:861:45
    |
861 | ...                   hexotk::EvPayload::HexGridClick { x, y, button } => {
    |                               ^^^^^^^^^ could not find `EvPayload` in `hexotk`

error[E0433]: failed to resolve: could not find `EvPayload` in `hexotk`
   --> src/lib.rs:867:45
    |
867 | ...                   hexotk::EvPayload::HexGridDrag {
    |                               ^^^^^^^^^ could not find `EvPayload` in `hexotk`

error[E0433]: failed to resolve: could not find `EvPayload` in `hexotk`
   --> src/lib.rs:878:45
    |
878 | ...                   hexotk::EvPayload::UserData(rc) => {
    |                               ^^^^^^^^^ could not find `EvPayload` in `hexotk`

error[E0433]: failed to resolve: could not find `EvPayload` in `hexotk`
   --> src/lib.rs:882:45
    |
882 | ...                   hexotk::EvPayload::DropAccept(rc) => {
    |                               ^^^^^^^^^ could not find `EvPayload` in `hexotk`

error[E0433]: failed to resolve: could not find `EvPayload` in `hexotk`
   --> src/lib.rs:891:45
    |
891 | ...                   hexotk::EvPayload::HexGridDropData { x, y, data: rc } => {
    |                               ^^^^^^^^^ could not find `EvPayload` in `hexotk`

error[E0433]: failed to resolve: could not find `style` in `hexotk`
    --> src/lib.rs:1228:40
     |
1228 |             for (name, clr) in hexotk::style::get_ui_colors() {
     |                                        ^^^^^ could not find `style` in `hexotk`

error[E0433]: failed to resolve: could not find `style` in `hexotk`
    --> src/lib.rs:1235:32
     |
1235 |             for clr in hexotk::style::get_standard_colors() {
     |                                ^^^^^ could not find `style` in `hexotk`

error[E0412]: cannot find type `Style` in crate `hexotk`
   --> src/lib.rs:138:38
    |
138 |     pub style: Rc<RefCell<Rc<hexotk::Style>>>,
    |                                      ^^^^^ not found in `hexotk`

error[E0412]: cannot find type `Style` in crate `hexotk`
   --> src/lib.rs:146:35
    |
146 |     pub fn from(style: Rc<hexotk::Style>) -> Self {
    |                                   ^^^^^ not found in `hexotk`

error[E0412]: cannot find type `Style` in crate `hexotk`
   --> src/lib.rs:180:43
    |
180 | fn set_style_from_key(style: &mut hexotk::Style, key: &str, v: &VVal) -> bool {
    |                                           ^^^^^ not found in `hexotk`

error[E0412]: cannot find type `Style` in crate `hexotk`
   --> src/lib.rs:357:54
    |
357 | pub fn vv2style_rc(mut v: VVal) -> Option<Rc<hexotk::Style>> {
    |                                                      ^^^^^ not found in `hexotk`

error[E0412]: cannot find type `CloneMutable` in crate `hexotk`
   --> src/lib.rs:363:36
    |
363 |     pub txtmut: Rc<RefCell<hexotk::CloneMutable<String>>>,
    |                                    ^^^^^^^^^^^^ not found in `hexotk`

error[E0412]: cannot find type `CloneMutable` in crate `hexotk`
   --> src/lib.rs:397:61
    |
397 | pub fn vv2txt_mut(mut v: VVal) -> Option<Rc<RefCell<hexotk::CloneMutable<String>>>> {
    |                                                             ^^^^^^^^^^^^ not found in `hexotk`

error[E0412]: cannot find type `Widget` in crate `hexotk`
   --> src/lib.rs:402:30
    |
402 | pub struct VUIWidget(hexotk::Widget);
    |                              ^^^^^^ help: a trait with a similar name exists: `WidgetUI`
    |
   ::: /home/mhueschen/.cargo/git/checkouts/hexotk-ec326cafa71f6e1c/56e23de/src/lib.rs:798:1
    |
798 | pub trait WidgetUI {
    | ------------------ similarly named trait `WidgetUI` defined here

error[E0412]: cannot find type `Style` in crate `hexotk`
   --> src/lib.rs:405:34
    |
405 |     pub fn new(style: Rc<hexotk::Style>) -> Self {
    |                                  ^^^^^ not found in `hexotk`

error[E0412]: cannot find type `Widget` in crate `hexotk`
   --> src/lib.rs:409:33
    |
409 |     pub fn from(widget: hexotk::Widget) -> Self {
    |                                 ^^^^^^ help: a trait with a similar name exists: `WidgetUI`
    |
   ::: /home/mhueschen/.cargo/git/checkouts/hexotk-ec326cafa71f6e1c/56e23de/src/lib.rs:798:1
    |
798 | pub trait WidgetUI {
    | ------------------ similarly named trait `WidgetUI` defined here

error[E0433]: failed to resolve: could not find `HexGrid` in `hexotk`
   --> src/lib.rs:721:60
    |
721 | ...                   grid: Box::new(hexotk::HexGrid::new(model)),
    |                                              ^^^^^^^ not found in `hexotk`
    |
help: consider importing this struct
    |
7   | use hexotk::widgets::HexGrid;
    |
help: if you import `HexGrid`, refer to it directly
    |
721 -                                     grid: Box::new(hexotk::HexGrid::new(model)),
721 +                                     grid: Box::new(HexGrid::new(model)),
    |

error[E0433]: failed to resolve: could not find `Graph` in `hexotk`
   --> src/lib.rs:781:61
    |
781 | ...                   graph: Box::new(hexotk::Graph::new(data, samples, live)),
    |                                               ^^^^^ not found in `hexotk`
    |
help: consider importing this struct
    |
7   | use hexotk::widgets::Graph;
    |
help: if you import `Graph`, refer to it directly
    |
781 -                                     graph: Box::new(hexotk::Graph::new(data, samples, live)),
781 +                                     graph: Box::new(Graph::new(data, samples, live)),
    |

error[E0433]: failed to resolve: could not find `GraphMinMax` in `hexotk`
   --> src/lib.rs:798:61
    |
798 | ...                   graph: Box::new(hexotk::GraphMinMax::new(data, samples)),
    |                                               ^^^^^^^^^^^ not found in `hexotk`
    |
help: consider importing this struct
    |
7   | use hexotk::widgets::GraphMinMax;
    |
help: if you import `GraphMinMax`, refer to it directly
    |
798 -                                     graph: Box::new(hexotk::GraphMinMax::new(data, samples)),
798 +                                     graph: Box::new(GraphMinMax::new(data, samples)),
    |

error[E0433]: failed to resolve: could not find `PatternEditor` in `hexotk`
   --> src/lib.rs:815:58
    |
815 | ...                   Box::new(hexotk::PatternEditor::new(columns));
    |                                        ^^^^^^^^^^^^^ not found in `hexotk`
    |
help: consider importing this struct
    |
7   | use hexotk::widgets::PatternEditor;
    |
help: if you import `PatternEditor`, refer to it directly
    |
815 -                                         Box::new(hexotk::PatternEditor::new(columns));
815 +                                         Box::new(PatternEditor::new(columns));
    |

error[E0412]: cannot find type `Widget` in crate `hexotk`
   --> src/lib.rs:924:49
    |
924 | pub fn vv2widget(mut v: VVal) -> Option<hexotk::Widget> {
    |                                                 ^^^^^^ help: a trait with a similar name exists: `WidgetUI`
    |
   ::: /home/mhueschen/.cargo/git/checkouts/hexotk-ec326cafa71f6e1c/56e23de/src/lib.rs:798:1
    |
798 | pub trait WidgetUI {
    | ------------------ similarly named trait `WidgetUI` defined here

error[E0412]: cannot find type `TestDriver` in crate `hexotk`
   --> src/lib.rs:999:47
    |
999 | pub struct VTestDriver(Rc<RefCell<Box<hexotk::TestDriver>>>);
    |                                               ^^^^^^^^^^ not found in `hexotk`

Some errors have detailed explanations: E0412, E0432, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `hexosynth` due to 79 previous errors
vayu :: ~/projects/HexoSynth ‹mhueschen-2› »                                                101 ↵

Failure to compile on Fedora ARM64

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)]
    |            ^^^^^^^^^^^^^

error: Please select a feature to build for unix: `x11`, `wayland`

When compiling on Linux, I get an error:

cd nih_plug/
cargo xtask bundle hexosynth_plug --release
error: Please select a feature to build for unix: `x11`, `wayland`
  --> /home/tuxmain/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.27.1/src/platform_impl/linux/mod.rs:10:1
   |
10 | compile_error!("Please select a feature to build for unix: `x11`, `wayland`");
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0392]: parameter `T` is never used
  --> /home/tuxmain/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.27.1/src/event_loop.rs:35:22
   |
35 | pub struct EventLoop<T: 'static> {
   |                      ^ unused parameter
   |
   = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`

error[E0392]: parameter `T` is never used
  --> /home/tuxmain/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.27.1/src/event_loop.rs:46:34
   |
46 | pub struct EventLoopWindowTarget<T: 'static> {
   |                                  ^ unused parameter
   |
   = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`

error[E0392]: parameter `T` is never used
   --> /home/tuxmain/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.27.1/src/event_loop.rs:349:27
    |
349 | pub struct EventLoopProxy<T: 'static> {
    |                           ^ unused parameter
    |
    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`

error[E0392]: parameter `T` is never used
   --> /home/tuxmain/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.27.1/src/platform_impl/linux/mod.rs:635:20
    |
635 | pub enum EventLoop<T: 'static> {
    |                    ^ unused parameter
    |
    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`

error[E0392]: parameter `T` is never used
   --> /home/tuxmain/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.27.1/src/platform_impl/linux/mod.rs:642:25
    |
642 | pub enum EventLoopProxy<T: 'static> {
    |                         ^ unused parameter
    |
    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`

error[E0392]: parameter `T` is never used
   --> /home/tuxmain/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.27.1/src/platform_impl/linux/mod.rs:769:32
    |
769 | pub enum EventLoopWindowTarget<T> {
    |                                ^ unused parameter
    |
    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
    = help: if you intended `T` to be a const parameter, use `const T: usize` instead

For more information about this error, try `rustc --explain E0392`.
error: could not compile `winit` due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Could not build hexosynth_plug

Maybe there should be an xtask option to choose x11 or wayland?

master 60a7bca
ArchLinux 5.15.55-2-lts, cargo 1.64.0-nightly (dbff32b27 2022-06-24)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.