Polyphonic ''compile patch failed''


#1

Hello!

It's been 3 days I'm trying to solve the issue and try to do what people did to resolve the compile patch problem.

So, I want to use polyphony, but everytime I try to go live, this message appear:

Generate code complete
Start compiling patch
Compiling patch... with /Applications/axoloti_runtime/platform_osx/Axoloti.app/Contents/Java/firmware
BDIR = /Users/Wilhelm/Documents/axoloti/build
FIRMWARE = .
RM
APP
! /Users/Wilhelm/Documents/axoloti/build/xpatch.h.gch
. /Users/Wilhelm/Documents/axoloti/axoloti-factory/objects/osc/bltable.h
/Users/Wilhelm/Documents/axoloti/build/xpatch.cpp: In member function 'void rootc::instancepatcher__1::MidiInHandler(midi_device_t, uint8_t, uint8_t, uint8_t, uint8_t)':
/Users/Wilhelm/Documents/axoloti/build/xpatch.cpp:1837:6: error: 'attr_mididevice' was not declared in this scope
if ( attr_mididevice > 0 && dev > 0 && attr_mididevice != dev) return;
^
/Users/Wilhelm/Documents/axoloti/build/xpatch.cpp:1838:6: error: 'attr_midiport' was not declared in this scope
if ( attr_midiport > 0 && port > 0 && attr_midiport != port) return;
^
make: *** [/Users/Wilhelm/Documents/axoloti/build/xpatch.bin] Error 1
shell task failed, exit value: 2
Compiling patch failed ( /Users/Wilhelm/Documents/Synth WH-X1/WH-X1.4.axp )

I tried to erase the content of the build folder, so I don't know what to do. I'm with Mac OS by the way!

Thank you very much!

Wil


#2

(I'm aware that answering is probably much too late for the original poster, but someone could come here by using the search function with some of the error message text, like I did.)
I had the same problem, and it went away: probably when I unchecked "Has MIDI selector" in the View/Settings menu in the main patch (not the voice subpatch).