[ 3%] Building CXX object CMakeFiles/smuview.dir/smuview_autogen/mocs_compilation.cpp.o
In file included from ./smuview/build/smuview_autogen/CYCPDLY2YL/../../../src/devices/basedevice.hpp:34,
from ./smuview/build/smuview_autogen/CYCPDLY2YL/moc_basedevice.cpp:10,
from ./smuview/build/smuview_autogen/mocs_compilation.cpp:16:
./smuview/src/devices/deviceutil.hpp:492:23: error: ‘OFFSET’ is not a member of ‘sigrok::ConfigKey’
492 | { sigrok::ConfigKey::OFFSET, ConfigKey::Offset },
| ^~~~~~
./smuview/src/devices/deviceutil.hpp:510:1: error: could not convert ‘{{sigrok::ConfigKey::SAMPLERATE, sv::devices::ConfigKey::Samplerate}, {sigrok::ConfigKey::CAPTURE_RATIO, sv::devices::ConfigKey::CaptureRatio}, {sigrok::ConfigKey::PATTERN_MODE, sv::devices::ConfigKey::PatternMode}, {sigrok::ConfigKey::RLE, sv::devices::ConfigKey::RLE}, {sigrok::ConfigKey::TRIGGER_SLOPE, sv::devices::ConfigKey::TriggerSlope}, {sigrok::ConfigKey::AVERAGING, sv::devices::ConfigKey::Averaging}, {sigrok::ConfigKey::AVG_SAMPLES, sv::devices::ConfigKey::AvgSamples}, {sigrok::ConfigKey::TRIGGER_SOURCE, sv::devices::ConfigKey::TriggerSource}, {sigrok::ConfigKey::HORIZ_TRIGGERPOS, sv::devices::ConfigKey::HorizTriggerPos}, {sigrok::ConfigKey::BUFFERSIZE, sv::devices::ConfigKey::BufferSize}, {sigrok::ConfigKey::TIMEBASE, sv::devices::ConfigKey::TimeBase}, {sigrok::ConfigKey::FILTER, sv::devices::ConfigKey::Filter}, {sigrok::ConfigKey::VDIV, sv::devices::ConfigKey::VDiv}, {sigrok::ConfigKey::COUPLING, sv::devices::ConfigKey::Coupling}, {sigrok::ConfigKey::TRIGGER_MATCH, sv::devices::ConfigKey::TriggerMatch}, {sigrok::ConfigKey::SAMPLE_INTERVAL, sv::devices::ConfigKey::SampleInterval}, {sigrok::ConfigKey::NUM_HDIV, sv::devices::ConfigKey::NumHDiv}, {sigrok::ConfigKey::NUM_VDIV, sv::devices::ConfigKey::NumVDiv}, {sigrok::ConfigKey::SPL_WEIGHT_FREQ, sv::devices::ConfigKey::SplWeightFreq}, {sigrok::ConfigKey::SPL_WEIGHT_TIME, sv::devices::ConfigKey::SplWeightTime}, {sigrok::ConfigKey::SPL_MEASUREMENT_RANGE, sv::devices::ConfigKey::SplMeasurementRange}, {sigrok::ConfigKey::HOLD_MAX, sv::devices::ConfigKey::HoldMax}, {sigrok::ConfigKey::HOLD_MIN, sv::devices::ConfigKey::HoldMin}, {sigrok::ConfigKey::VOLTAGE_THRESHOLD, sv::devices::ConfigKey::VoltageThreshold}, {sigrok::ConfigKey::EXTERNAL_CLOCK, sv::devices::ConfigKey::ExternalClock}, {sigrok::ConfigKey::SWAP, sv::devices::ConfigKey::Swap}, {sigrok::ConfigKey::CENTER_FREQUENCY, sv::devices::ConfigKey::CenterFrequency}, {sigrok::ConfigKey::NUM_LOGIC_CHANNELS, sv::devices::ConfigKey::NumLogicChannels}, {sigrok::ConfigKey::NUM_ANALOG_CHANNELS, sv::devices::ConfigKey::NumAnalogChannels}, {sigrok::ConfigKey::VOLTAGE, sv::devices::ConfigKey::Voltage}, {sigrok::ConfigKey::VOLTAGE_TARGET, sv::devices::ConfigKey::VoltageTarget}, {sigrok::ConfigKey::CURRENT, sv::devices::ConfigKey::Current}, {sigrok::ConfigKey::CURRENT_LIMIT, sv::devices::ConfigKey::CurrentLimit}, {sigrok::ConfigKey::ENABLED, sv::devices::ConfigKey::Enabled}, {sigrok::ConfigKey::CHANNEL_CONFIG, sv::devices::ConfigKey::ChannelConfig}, {sigrok::ConfigKey::OVER_VOLTAGE_PROTECTION_ENABLED, sv::devices::ConfigKey::OverVoltageProtectionEnabled}, {sigrok::ConfigKey::OVER_VOLTAGE_PROTECTION_ACTIVE, sv::devices::ConfigKey::OverVoltageProtectionActive}, {sigrok::ConfigKey::OVER_VOLTAGE_PROTECTION_THRESHOLD, sv::devices::ConfigKey::OverVoltageProtectionThreshold}, {sigrok::ConfigKey::OVER_CURRENT_PROTECTION_ENABLED, sv::devices::ConfigKey::OverCurrentProtectionEnabled}, {sigrok::ConfigKey::OVER_CURRENT_PROTECTION_ACTIVE, sv::devices::ConfigKey::OverCurrentProtectionActive}, {sigrok::ConfigKey::OVER_CURRENT_PROTECTION_THRESHOLD, sv::devices::ConfigKey::OverCurrentProtectionThreshold}, {sigrok::ConfigKey::OVER_TEMPERATURE_PROTECTION, sv::devices::ConfigKey::OverTemperatureProtectionEnabled}, {sigrok::ConfigKey::OVER_TEMPERATURE_PROTECTION_ACTIVE, sv::devices::ConfigKey::OverTemperatureProtectionActive}, {sigrok::ConfigKey::UNDER_VOLTAGE_CONDITION, sv::devices::ConfigKey::UnderVoltageConditionEnabled}, {sigrok::ConfigKey::UNDER_VOLTAGE_CONDITION_ACTIVE, sv::devices::ConfigKey::UnderVoltageConditionActive}, {sigrok::ConfigKey::UNDER_VOLTAGE_CONDITION_THRESHOLD, sv::devices::ConfigKey::UnderVoltageConditionThreshold}, {sigrok::ConfigKey::CLOCK_EDGE, sv::devices::ConfigKey::ClockEdge}, {sigrok::ConfigKey::AMPLITUDE, sv::devices::ConfigKey::Amplitude}, {<expression error>, sv::devices::ConfigKey::Offset}, {sigrok::ConfigKey::REGULATION, sv::devices::ConfigKey::Regulation}, {sigrok::ConfigKey::OUTPUT_FREQUENCY, sv::devices::ConfigKey::OutputFrequency}, {sigrok::ConfigKey::OUTPUT_FREQUENCY_TARGET, sv::devices::ConfigKey::OutputFrequencyTarget}, {sigrok::ConfigKey::MEASURED_QUANTITY, sv::devices::ConfigKey::MeasuredQuantity}, {sigrok::ConfigKey::EQUIV_CIRCUIT_MODEL, sv::devices::ConfigKey::EquivCircuitModel}, {sigrok::ConfigKey::TRIGGER_LEVEL, sv::devices::ConfigKey::TriggerLevel}, {sigrok::ConfigKey::EXTERNAL_CLOCK_SOURCE, sv::devices::ConfigKey::ExternalClockSource}, {sigrok::ConfigKey::SESSIONFILE, sv::devices::ConfigKey::SessionFile}, {sigrok::ConfigKey::CAPTUREFILE, sv::devices::ConfigKey::CaptureFile}, {sigrok::ConfigKey::CAPTURE_UNITSIZE, sv::devices::ConfigKey::CaptureUnitSize}, {sigrok::ConfigKey::POWER_OFF, sv::devices::ConfigKey::PowerOff}, {sigrok::ConfigKey::DATA_SOURCE, sv::devices::ConfigKey::DataSource}, {sigrok::ConfigKey::PROBE_FACTOR, sv::devices::ConfigKey::ProbeFactor}, {sigrok::ConfigKey::ADC_POWERLINE_CYCLES, sv::devices::ConfigKey::ADCPowerlineCycles}, {sigrok::ConfigKey::DATALOG, sv::devices::ConfigKey::DataLog}, {sigrok::ConfigKey::DEVICE_MODE, sv::devices::ConfigKey::DeviceMode}, {sigrok::ConfigKey::TEST_MODE, sv::devices::ConfigKey::TestMode}}’ from ‘<brace-enclosed initializer list>’ to ‘std::map<const sigrok::ConfigKey*, sv::devices::ConfigKey>’
510 | };
| ^
| |
| <brace-enclosed initializer list>
./smuview/src/devices/deviceutil.hpp:561:42: error: ‘OFFSET’ is not a member of ‘sigrok::ConfigKey’
561 | { ConfigKey::Offset, sigrok::ConfigKey::OFFSET },
| ^~~~~~
./smuview/src/devices/deviceutil.hpp:579:1: error: could not convert ‘{{sv::devices::ConfigKey::Samplerate, sigrok::ConfigKey::SAMPLERATE}, {sv::devices::ConfigKey::CaptureRatio, sigrok::ConfigKey::CAPTURE_RATIO}, {sv::devices::ConfigKey::PatternMode, sigrok::ConfigKey::PATTERN_MODE}, {sv::devices::ConfigKey::RLE, sigrok::ConfigKey::RLE}, {sv::devices::ConfigKey::TriggerSlope, sigrok::ConfigKey::TRIGGER_SLOPE}, {sv::devices::ConfigKey::Averaging, sigrok::ConfigKey::AVERAGING}, {sv::devices::ConfigKey::AvgSamples, sigrok::ConfigKey::AVG_SAMPLES}, {sv::devices::ConfigKey::TriggerSource, sigrok::ConfigKey::TRIGGER_SOURCE}, {sv::devices::ConfigKey::HorizTriggerPos, sigrok::ConfigKey::HORIZ_TRIGGERPOS}, {sv::devices::ConfigKey::BufferSize, sigrok::ConfigKey::BUFFERSIZE}, {sv::devices::ConfigKey::TimeBase, sigrok::ConfigKey::TIMEBASE}, {sv::devices::ConfigKey::Filter, sigrok::ConfigKey::FILTER}, {sv::devices::ConfigKey::VDiv, sigrok::ConfigKey::VDIV}, {sv::devices::ConfigKey::Coupling, sigrok::ConfigKey::COUPLING}, {sv::devices::ConfigKey::TriggerMatch, sigrok::ConfigKey::TRIGGER_MATCH}, {sv::devices::ConfigKey::SampleInterval, sigrok::ConfigKey::SAMPLE_INTERVAL}, {sv::devices::ConfigKey::NumHDiv, sigrok::ConfigKey::NUM_HDIV}, {sv::devices::ConfigKey::NumVDiv, sigrok::ConfigKey::NUM_VDIV}, {sv::devices::ConfigKey::SplWeightFreq, sigrok::ConfigKey::SPL_WEIGHT_FREQ}, {sv::devices::ConfigKey::SplWeightTime, sigrok::ConfigKey::SPL_WEIGHT_TIME}, {sv::devices::ConfigKey::SplMeasurementRange, sigrok::ConfigKey::SPL_MEASUREMENT_RANGE}, {sv::devices::ConfigKey::HoldMax, sigrok::ConfigKey::HOLD_MAX}, {sv::devices::ConfigKey::HoldMin, sigrok::ConfigKey::HOLD_MIN}, {sv::devices::ConfigKey::VoltageThreshold, sigrok::ConfigKey::VOLTAGE_THRESHOLD}, {sv::devices::ConfigKey::ExternalClock, sigrok::ConfigKey::EXTERNAL_CLOCK}, {sv::devices::ConfigKey::Swap, sigrok::ConfigKey::SWAP}, {sv::devices::ConfigKey::CenterFrequency, sigrok::ConfigKey::CENTER_FREQUENCY}, {sv::devices::ConfigKey::NumLogicChannels, sigrok::ConfigKey::NUM_LOGIC_CHANNELS}, {sv::devices::ConfigKey::NumAnalogChannels, sigrok::ConfigKey::NUM_ANALOG_CHANNELS}, {sv::devices::ConfigKey::Voltage, sigrok::ConfigKey::VOLTAGE}, {sv::devices::ConfigKey::VoltageTarget, sigrok::ConfigKey::VOLTAGE_TARGET}, {sv::devices::ConfigKey::Current, sigrok::ConfigKey::CURRENT}, {sv::devices::ConfigKey::CurrentLimit, sigrok::ConfigKey::CURRENT_LIMIT}, {sv::devices::ConfigKey::Enabled, sigrok::ConfigKey::ENABLED}, {sv::devices::ConfigKey::ChannelConfig, sigrok::ConfigKey::CHANNEL_CONFIG}, {sv::devices::ConfigKey::OverVoltageProtectionEnabled, sigrok::ConfigKey::OVER_VOLTAGE_PROTECTION_ENABLED}, {sv::devices::ConfigKey::OverVoltageProtectionActive, sigrok::ConfigKey::OVER_VOLTAGE_PROTECTION_ACTIVE}, {sv::devices::ConfigKey::OverVoltageProtectionThreshold, sigrok::ConfigKey::OVER_VOLTAGE_PROTECTION_THRESHOLD}, {sv::devices::ConfigKey::OverCurrentProtectionEnabled, sigrok::ConfigKey::OVER_CURRENT_PROTECTION_ENABLED}, {sv::devices::ConfigKey::OverCurrentProtectionActive, sigrok::ConfigKey::OVER_CURRENT_PROTECTION_ACTIVE}, {sv::devices::ConfigKey::OverCurrentProtectionThreshold, sigrok::ConfigKey::OVER_CURRENT_PROTECTION_THRESHOLD}, {sv::devices::ConfigKey::OverTemperatureProtectionEnabled, sigrok::ConfigKey::OVER_TEMPERATURE_PROTECTION}, {sv::devices::ConfigKey::OverTemperatureProtectionActive, sigrok::ConfigKey::OVER_TEMPERATURE_PROTECTION_ACTIVE}, {sv::devices::ConfigKey::UnderVoltageConditionEnabled, sigrok::ConfigKey::UNDER_VOLTAGE_CONDITION}, {sv::devices::ConfigKey::UnderVoltageConditionActive, sigrok::ConfigKey::UNDER_VOLTAGE_CONDITION_ACTIVE}, {sv::devices::ConfigKey::UnderVoltageConditionThreshold, sigrok::ConfigKey::UNDER_VOLTAGE_CONDITION_THRESHOLD}, {sv::devices::ConfigKey::ClockEdge, sigrok::ConfigKey::CLOCK_EDGE}, {sv::devices::ConfigKey::Amplitude, sigrok::ConfigKey::AMPLITUDE}, {sv::devices::ConfigKey::Offset, <expression error>}, {sv::devices::ConfigKey::Regulation, sigrok::ConfigKey::REGULATION}, {sv::devices::ConfigKey::OutputFrequency, sigrok::ConfigKey::OUTPUT_FREQUENCY}, {sv::devices::ConfigKey::OutputFrequencyTarget, sigrok::ConfigKey::OUTPUT_FREQUENCY_TARGET}, {sv::devices::ConfigKey::MeasuredQuantity, sigrok::ConfigKey::MEASURED_QUANTITY}, {sv::devices::ConfigKey::EquivCircuitModel, sigrok::ConfigKey::EQUIV_CIRCUIT_MODEL}, {sv::devices::ConfigKey::TriggerLevel, sigrok::ConfigKey::TRIGGER_LEVEL}, {sv::devices::ConfigKey::ExternalClockSource, sigrok::ConfigKey::EXTERNAL_CLOCK_SOURCE}, {sv::devices::ConfigKey::SessionFile, sigrok::ConfigKey::SESSIONFILE}, {sv::devices::ConfigKey::CaptureFile, sigrok::ConfigKey::CAPTUREFILE}, {sv::devices::ConfigKey::CaptureUnitSize, sigrok::ConfigKey::CAPTURE_UNITSIZE}, {sv::devices::ConfigKey::PowerOff, sigrok::ConfigKey::POWER_OFF}, {sv::devices::ConfigKey::DataSource, sigrok::ConfigKey::DATA_SOURCE}, {sv::devices::ConfigKey::ProbeFactor, sigrok::ConfigKey::PROBE_FACTOR}, {sv::devices::ConfigKey::ADCPowerlineCycles, sigrok::ConfigKey::ADC_POWERLINE_CYCLES}, {sv::devices::ConfigKey::DataLog, sigrok::ConfigKey::DATALOG}, {sv::devices::ConfigKey::DeviceMode, sigrok::ConfigKey::DEVICE_MODE}, {sv::devices::ConfigKey::TestMode, sigrok::ConfigKey::TEST_MODE}}’ from ‘<brace-enclosed initializer list>’ to ‘std::map<sv::devices::ConfigKey, const sigrok::ConfigKey*>’
579 | };
| ^
| |
| <brace-enclosed initializer list>
make[2]: *** [CMakeFiles/smuview.dir/build.make:105: CMakeFiles/smuview.dir/smuview_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:79: CMakeFiles/smuview.dir/all] Error 2
make: *** [Makefile:130: all] Error 2