Registered Member
|
Dear All,
Could you help me solve the following problem? I have been trying a while and asked around but still wasn't able to get through. I followed the instructions there: https://userbase.kde.org/Simon/Developm ... t#Mac_OS_X And everything is fine - configuring is done. Below is the error output. Please advise. Thank you so much in advance!! ## -- Configuring done CMake Warning (dev): Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake --help-policy CMP0042" for policy details. Use the cmake_policy command to set the policy and suppress this warning. MACOSX_RPATH is not specified for the following targets: eventsimulation simonactions simonactionsui simonappcore simoncontextadapter simoncontextcoreui simoncontextdetection simoncontextui simonddatabaseaccess simondialogengine simondialogengineconfui simondialogenginegraphicalview simondialogenginettsview simondstreamer simongraphemetophoneme simoninfo simonjsonconnector simonlogging simonmodelcompilation simonmodelmanagementui simonmodeltest simonprogresstracking simonrecognitioncontrol simonrecognitionresult simonrecognizer simonsampleshare simonscenariobase simonscenarios simonscenarioui simonsound simontts simonuicomponents simonutils simonwav simonxml sscdaccess sscobjects This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done -- Build files have been written to: /Users/jasonmianluo/Desktop/ASR/simonsource/build [ 0%] Built target eventsimulation_automoc [ 1%] Built target eventsimulation [ 1%] Built target simoneventhandlertest-eventhandler_automoc [ 1%] Built target simoneventhandlertest-eventhandler [ 1%] Built target simonscenarios_automoc [ 1%] Built target simongraphemetophoneme_automoc [ 2%] Built target simongraphemetophoneme [ 2%] Built target simonlogging_automoc [ 2%] Built target simonlogging [ 2%] Built target simoninfo_automoc [ 2%] Built target simoninfo [ 2%] Built target simonxml_automoc [ 2%] Built target simonxml [ 2%] Built target simonrecognitionresult_automoc [ 2%] Built target simonrecognitionresult [ 2%] Built target simoncontextdetection_automoc [ 4%] Built target simoncontextdetection [ 4%] Built target simonscenariobase_automoc [ 4%] Built target simonscenariobase [ 9%] Built target simonscenarios [ 9%] Built target simonactions_automoc [ 10%] Built target simonactions [ 10%] Built target simonactionskcm_automoc [ 11%] Built target simonactionskcm [ 11%] Built target simoncontextcoreui_automoc [ 11%] Built target simoncontextcoreui [ 11%] Built target simonddatabaseaccess_automoc [ 12%] Built target simonddatabaseaccess [ 12%] Built target simondstreamer_automoc [ 12%] Built target simonuicomponents_automoc [ 14%] Built target simonuicomponents [ 14%] Built target simonsound_automoc [ 14%] Built target simonwav_automoc [ 15%] Built target simonwav Scanning dependencies of target simonsound [ 15%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/coreaudio/coreaudiobackend.mm.o /Users/jasonmianluo/Desktop/ASR/simonsource/simonlib/simonsound/coreaudio/coreaudiobackend.mm:72:64: error: too many arguments provided to function-like macro invocation bool CoreAudioBackend::check(SimonSound::SoundDeviceType type, const QSt... ^ /usr/include/AssertMacros.h:1291:10: note: macro 'check' defined here #define check(assertion) __Check(assertion) ^ /Users/jasonmianluo/Desktop/ASR/simonsource/simonlib/simonsound/coreaudio/coreaudiobackend.mm:72:24: error: redefinition of 'check' as different kind of symbol bool CoreAudioBackend::check(SimonSound::SoundDeviceType type, const QSt... ^ /Users/jasonmianluo/Desktop/ASR/simonsource/simonlib/simonsound/coreaudio/coreaudiobackend.h:39:10: note: previous definition is here bool check(SimonSound::SoundDeviceType type, const QString& device, ... ^ /Users/jasonmianluo/Desktop/ASR/simonsource/simonlib/simonsound/coreaudio/coreaudiobackend.mm:72:29: error: expected ';' after top level declarator bool CoreAudioBackend::check(SimonSound::SoundDeviceType type, const QSt... ^ ; 3 errors generated. make[2]: *** [simonlib/simonsound/CMakeFiles/simonsound.dir/coreaudio/coreaudiobackend.mm.o] Error 1 make[1]: *** [simonlib/simonsound/CMakeFiles/simonsound.dir/all] Error 2 make: *** [all] Error 2 DN0a233929:simonsource jasonmianluo$ ## |
Registered Member
|
Hii All, I have tried on another Mac with clear build and complete configuration. However, it failed with the same errors... below are the output. Could someone help me? I will really appreciate that!!
## -- Generating done -- Build files have been written to: /Users/Shu/Desktop/simonsource/build Scanning dependencies of target eventsimulation_automoc [ 0%] Built target eventsimulation_automoc Scanning dependencies of target eventsimulation [ 0%] Building CXX object simonlib/eventsimulation/CMakeFiles/eventsimulation.dir/eventsimulation_automoc.cpp.o [ 0%] Building CXX object simonlib/eventsimulation/CMakeFiles/eventsimulation.dir/eventhandler.cpp.o [ 1%] Building CXX object simonlib/eventsimulation/CMakeFiles/eventsimulation.dir/coreevents.cpp.o In file included from /Users/Shu/Desktop/simonsource/simonlib/eventsimulation/coreevents.cpp:20: /Users/Shu/Desktop/simonsource/simonlib/eventsimulation/coreevents.h:76:57: warning: private field 'optionSet' is not used [-Wunused-private-field] bool shiftSet, altgrSet, altSet, superSet, strgSet, optionSet; ^ /Users/Shu/Desktop/simonsource/simonlib/eventsimulation/coreevents.h:77:62: warning: private field 'optionOnce' is not used [-Wunused-private-field] bool shiftOnce, altgrOnce, altOnce, superOnce, strgOnce, optionOnce; ^ 2 warnings generated. [ 1%] Building CXX object simonlib/eventsimulation/CMakeFiles/eventsimulation.dir/carbonevents.cpp.o /Users/Shu/Desktop/simonsource/simonlib/eventsimulation/carbonevents.cpp:266:9: warning: cast from 'const UInt8 *' (aka 'const unsigned char *') to 'const UCKeyboardLayout *' increases required alignment from 1 to 2 [-Wcast-align] (const UCKeyboardLayout *)CFDataGetBytePtr(layoutData); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. [ 1%] Linking CXX shared library ../../lib/libeventsimulation.dylib [ 1%] Built target eventsimulation Scanning dependencies of target simoneventhandlertest-eventhandler_automoc Generating eventhandlertest.moc [ 1%] Built target simoneventhandlertest-eventhandler_automoc Scanning dependencies of target simoneventhandlertest-eventhandler [ 1%] Building CXX object simonlib/eventsimulation/test/CMakeFiles/simoneventhandlertest-eventhandler.dir/simoneventhandlertest-eventhandler_automoc.cpp.o [ 1%] Building CXX object simonlib/eventsimulation/test/CMakeFiles/simoneventhandlertest-eventhandler.dir/eventhandlertest.cpp.o [ 1%] Linking CXX executable simoneventhandlertest-eventhandler.app/Contents/MacOS/simoneventhandlertest-eventhandler [ 1%] Built target simoneventhandlertest-eventhandler Scanning dependencies of target simonscenarios_automoc Generating moc_scenario.cpp Generating moc_shadowvocabulary.cpp Generating moc_commandmanager.cpp Generating moc_action.cpp Generating moc_createbasemodel.cpp Generating moc_createvoiceinterfacecommandwidget.cpp Generating moc_createcommandwidget.cpp Generating moc_scenariomanager.cpp Generating moc_createvoiceinterfacecommandwidgetprivate.cpp Generating moc_promptstablemodel.cpp Generating moc_trainingmanager.cpp Generating moc_modelmanager.cpp Generating moc_commandconfiguration.cpp Generating moc_basemodelsettings.cpp Generating moc_actionmodel.cpp [ 1%] Built target simonscenarios_automoc Scanning dependencies of target simongraphemetophoneme_automoc Generating moc_graphemetophoneme.cpp [ 1%] Built target simongraphemetophoneme_automoc Scanning dependencies of target simongraphemetophoneme [ 1%] Building CXX object simonlib/simongraphemetophoneme/CMakeFiles/simongraphemetophoneme.dir/simongraphemetophoneme_automoc.cpp.o [ 1%] Building CXX object simonlib/simongraphemetophoneme/CMakeFiles/simongraphemetophoneme.dir/graphemetophoneme.cpp.o [ 2%] Building CXX object simonlib/simongraphemetophoneme/CMakeFiles/simongraphemetophoneme.dir/transcriptionresult.cpp.o [ 2%] Linking CXX shared library ../../lib/libsimongraphemetophoneme.dylib [ 2%] Built target simongraphemetophoneme Scanning dependencies of target simonlogging_automoc [ 2%] Built target simonlogging_automoc Scanning dependencies of target simonlogging [ 2%] Building CXX object simonlib/simonlogging/CMakeFiles/simonlogging.dir/simonlogging_automoc.cpp.o [ 2%] Building CXX object simonlib/simonlogging/CMakeFiles/simonlogging.dir/logger.cpp.o [ 2%] Linking CXX shared library ../../lib/libsimonlogging.dylib [ 2%] Built target simonlogging Scanning dependencies of target simoninfo_automoc Generating moc_osd.cpp [ 2%] Built target simoninfo_automoc Scanning dependencies of target simoninfo [ 2%] Building CXX object simonlib/simoninfo/CMakeFiles/simoninfo.dir/simoninfo_automoc.cpp.o [ 2%] Building CXX object simonlib/simoninfo/CMakeFiles/simoninfo.dir/simoninfo.cpp.o [ 2%] Building CXX object simonlib/simoninfo/CMakeFiles/simoninfo.dir/osd.cpp.o [ 2%] Linking CXX shared library ../../lib/libsimoninfo.dylib [ 2%] Built target simoninfo Scanning dependencies of target simonxml_automoc Generating moc_xmlreader.cpp [ 2%] Built target simonxml_automoc Scanning dependencies of target simonxml [ 2%] Building CXX object simonlib/simonxml/CMakeFiles/simonxml.dir/simonxml_automoc.cpp.o [ 2%] Building CXX object simonlib/simonxml/CMakeFiles/simonxml.dir/xmldomreader.cpp.o [ 2%] Building CXX object simonlib/simonxml/CMakeFiles/simonxml.dir/xmlsaxreader.cpp.o [ 2%] Building CXX object simonlib/simonxml/CMakeFiles/simonxml.dir/xmlreader.cpp.o [ 2%] Linking CXX shared library ../../lib/libsimonxml.dylib [ 2%] Built target simonxml Scanning dependencies of target simonrecognitionresult_automoc [ 2%] Built target simonrecognitionresult_automoc Scanning dependencies of target simonrecognitionresult [ 2%] Building CXX object simonlib/simonrecognitionresult/CMakeFiles/simonrecognitionresult.dir/simonrecognitionresult_automoc.cpp.o [ 2%] Building CXX object simonlib/simonrecognitionresult/CMakeFiles/simonrecognitionresult.dir/recognitionresult.cpp.o [ 2%] Linking CXX shared library ../../lib/libsimonrecognitionresult.dylib [ 2%] Built target simonrecognitionresult Scanning dependencies of target simoncontextdetection_automoc Generating moc_createconditionwidget.cpp Generating moc_samplegroupcondition.cpp Generating moc_contextmanager.cpp Generating moc_processinfo.cpp Generating moc_condition.cpp Generating moc_macprocessinfogatherer.cpp Generating moc_processinfogatherer.cpp Generating moc_compoundcondition.cpp Generating moc_conditionassociation.cpp [ 2%] Built target simoncontextdetection_automoc Scanning dependencies of target simoncontextdetection [ 2%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/simoncontextdetection_automoc.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/contextmanager.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/condition.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/conditionassociation.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/compoundcondition.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/createconditionwidget.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/processinfo.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/processinfogatherer.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/samplegroupcondition.cpp.o [ 3%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/macprocessinfogatherer.cpp.o [ 4%] Building CXX object simonlib/simoncontextdetection/CMakeFiles/simoncontextdetection.dir/macprocessinfogathererhelper.mm.o /Users/Shu/Desktop/simonsource/simonlib/simoncontextdetection/macprocessinfogathererhelper.mm:55:19: warning: unused variable 'processes' [-Wunused-variable] SBElementArray *processes = [systemEvents processes]; ^ 1 warning generated. [ 4%] Linking CXX shared library ../../lib/libsimoncontextdetection.dylib [ 4%] Built target simoncontextdetection Scanning dependencies of target simonscenariobase_automoc [ 4%] Built target simonscenariobase_automoc Scanning dependencies of target simonscenariobase [ 4%] Building CXX object simonlib/simonscenariobase/CMakeFiles/simonscenariobase.dir/simonscenariobase_automoc.cpp.o [ 5%] Building CXX object simonlib/simonscenariobase/CMakeFiles/simonscenariobase.dir/versionnumber.cpp.o [ 5%] Building CXX object simonlib/simonscenariobase/CMakeFiles/simonscenariobase.dir/scenarioobject.cpp.o [ 5%] Linking CXX shared library ../../lib/libsimonscenariobase.dylib [ 5%] Built target simonscenariobase [ 5%] Generating speechmodelmanagementconfiguration.h, speechmodelmanagementconfiguration.cpp [ 5%] Generating ui_createvoiceinterfacecommandwidget.h [ 5%] Generating ui_basemodelconfig.h [ 5%] Generating ui_modelsettingsdlg.h [ 5%] Generating scenariomanageradaptor.cpp, scenariomanageradaptor.h [ 5%] Generating scenariomanageradaptor.moc Scanning dependencies of target simonscenarios [ 6%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/simonscenarios_automoc.cpp.o [ 6%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/trainingmanager.cpp.o [ 6%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/modelmanager.cpp.o [ 6%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/wordlisttype.cpp.o [ 6%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/vocabulary.cpp.o [ 6%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/activevocabulary.cpp.o [ 6%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/shadowvocabulary.cpp.o [ 6%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/scenario.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/scenariomanager.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/grammar.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/trainingtextcollection.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/trainingtext.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/languagedescriptioncontainer.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/trainingcontainer.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/model.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/word.cpp.o [ 7%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/author.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/scenariodisplay.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/commandmanager.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/command.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/voiceinterfacecommand.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/voiceinterfacecommandtemplate.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/commandconfiguration.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/createcommandwidget.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/createvoiceinterfacecommandwidget.cpp.o [ 8%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/createvoiceinterfacecommandwidgetprivate.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/action.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/actioncollection.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/actionmodel.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/actioncommandmodel.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/commandparameter.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/promptstable.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/promptstablemodel.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/basemodelsettings.cpp.o [ 9%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/createbasemodel.cpp.o [ 10%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/modelmetadata.cpp.o [ 10%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/scenariomanageradaptor.cpp.o [ 10%] Building CXX object simonlib/simonscenarios/CMakeFiles/simonscenarios.dir/speechmodelmanagementconfiguration.cpp.o [ 10%] Linking CXX shared library ../../lib/libsimonscenarios.dylib [ 10%] Built target simonscenarios Scanning dependencies of target simonactions_automoc Generating moc_commandtablemodel.cpp Generating moc_listcommand.cpp Generating moc_listconfiguration.cpp Generating moc_commandmodel.cpp Generating moc_commandlistwidget.cpp Generating moc_actionmanager.cpp Generating moc_commandsettingsinternal.cpp [ 10%] Built target simonactions_automoc [ 10%] Generating actionmanageradaptor.cpp, actionmanageradaptor.h [ 10%] Generating ui_commandsettingsdlg.h [ 10%] Generating ui_listconfigurationdlg.h [ 10%] Generating actionmanageradaptor.moc Scanning dependencies of target simonactions [ 10%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/simonactions_automoc.cpp.o [ 10%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/commandmodel.cpp.o [ 11%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/commandtablemodel.cpp.o [ 11%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/commandsettingsinternal.cpp.o [ 11%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/listconfiguration.cpp.o [ 11%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/actionmanager.cpp.o [ 11%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/greedyreceiver.cpp.o [ 11%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/listcommand.cpp.o [ 11%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/commandlistwidget.cpp.o [ 11%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/actionmanageradaptor.cpp.o [ 11%] Linking CXX shared library ../../lib/libsimonactions.dylib [ 11%] Built target simonactions Scanning dependencies of target simonactionskcm_automoc Generating moc_commandsettings.cpp [ 11%] Built target simonactionskcm_automoc Scanning dependencies of target simonactionskcm [ 12%] Building CXX object simonlib/simonactions/CMakeFiles/simonactionskcm.dir/simonactionskcm_automoc.cpp.o [ 12%] Building CXX object simonlib/simonactions/CMakeFiles/simonactionskcm.dir/commandsettings.cpp.o [ 12%] Linking CXX shared module ../../lib/simonactionskcm.so [ 12%] Built target simonactionskcm Scanning dependencies of target simoncontextcoreui_automoc Generating moc_compoundconditionsettings.cpp Generating moc_newcondition.cpp [ 12%] Built target simoncontextcoreui_automoc [ 12%] Generating ui_compoundconditionsettings.h [ 12%] Generating ui_modifycondition.h Scanning dependencies of target simoncontextcoreui [ 12%] Building CXX object simonlib/simoncontextcoreui/CMakeFiles/simoncontextcoreui.dir/simoncontextcoreui_automoc.cpp.o [ 12%] Building CXX object simonlib/simoncontextcoreui/CMakeFiles/simoncontextcoreui.dir/newcondition.cpp.o [ 12%] Building CXX object simonlib/simoncontextcoreui/CMakeFiles/simoncontextcoreui.dir/compoundconditionsettings.cpp.o [ 12%] Linking CXX shared library ../../lib/libsimoncontextcoreui.dylib [ 12%] Built target simoncontextcoreui Scanning dependencies of target simonddatabaseaccess_automoc Generating moc_databaseaccess.cpp [ 12%] Built target simonddatabaseaccess_automoc Scanning dependencies of target simonddatabaseaccess [ 12%] Building CXX object simonlib/simonddatabaseaccess/CMakeFiles/simonddatabaseaccess.dir/simonddatabaseaccess_automoc.cpp.o [ 13%] Building CXX object simonlib/simonddatabaseaccess/CMakeFiles/simonddatabaseaccess.dir/databaseaccess.cpp.o [ 13%] Linking CXX shared library ../../lib/libsimonddatabaseaccess.dylib [ 13%] Built target simonddatabaseaccess Scanning dependencies of target simondstreamer_automoc Generating moc_simondstreamer.cpp Generating moc_simondstreamerclient.cpp Generating moc_simonsender.cpp [ 13%] Built target simondstreamer_automoc Scanning dependencies of target simonuicomponents_automoc Generating moc_selectprogramdialog.cpp Generating moc_inlinewidgetview.cpp Generating moc_inlinewidget.cpp Generating moc_trayiconmanager.cpp Generating moc_textlistwidget.cpp Generating moc_addserverconnection.cpp Generating moc_multikcmview.cpp Generating moc_serveraddressselector.cpp Generating moc_selectionlistview.cpp Generating moc_actionbutton.cpp [ 13%] Built target simonuicomponents_automoc [ 13%] Generating ui_selectprogramdlg.h Scanning dependencies of target simonuicomponents [ 13%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/simonuicomponents_automoc.cpp.o [ 13%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/inlinewidgetview.cpp.o [ 13%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/inlinewidget.cpp.o [ 13%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/addserverconnection.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/serveraddressselector.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/selectionlistview.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/trayiconmanager.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/textlistwidget.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/simonwizard.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/multikcmview.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/selectprogramdialog.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/actionbutton.cpp.o [ 14%] Building CXX object simonlib/simonuicomponents/CMakeFiles/simonuicomponents.dir/verticalscrollarea.cpp.o [ 15%] Linking CXX shared library ../../lib/libsimonuicomponents.dylib [ 15%] Built target simonuicomponents Scanning dependencies of target simonsound_automoc Generating moc_volumewidget.cpp Generating moc_wavplayersubclient.cpp Generating moc_devicesettings.cpp Generating moc_simonsoundoutput.cpp Generating moc_simonsoundinput.cpp Generating moc_vadsoundprocessor.cpp Generating moc_wavfilewidget.cpp Generating moc_loudnessmetersoundprocessor.cpp Generating moc_recwidget.cpp Generating moc_devicevolumewidget.cpp Generating moc_soundserver.cpp Generating moc_wavrecorderclient.cpp Generating moc_postprocessing.cpp Generating moc_soundbackend.cpp Generating moc_wavplayerclient.cpp Generating moc_singledevicesettings.cpp Generating moc_nullrecorderclient.cpp [ 15%] Built target simonsound_automoc Scanning dependencies of target simonwav_automoc [ 15%] Built target simonwav_automoc Scanning dependencies of target simonwav [ 15%] Building CXX object simonlib/simonwav/CMakeFiles/simonwav.dir/simonwav_automoc.cpp.o [ 15%] Building CXX object simonlib/simonwav/CMakeFiles/simonwav.dir/wav.cpp.o [ 16%] Linking CXX shared library ../../lib/libsimonwav.dylib [ 16%] Built target simonwav [ 16%] Generating ui_singledeviceconfiguration.h [ 16%] Generating soundconfig.h, soundconfig.cpp [ 17%] Generating ui_prompt.h [ 17%] Generating ui_vad.h [ 17%] Generating ui_postprocessing.h [ 17%] Generating ui_recwidget.h [ 17%] Generating ui_volumewidget.h [ 17%] Generating ui_devicevolumewidget.h [ 17%] Generating ui_wavfilewidget.h [ 17%] Generating ui_trainsamplevolumepage.h [ 17%] Generating ui_trainingsettings.h [ 18%] Generating ui_deviceconfiguration.h Scanning dependencies of target simonsound [ 18%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/simonsound_automoc.cpp.o [ 18%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/recwidget.cpp.o [ 18%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/volumewidget.cpp.o [ 18%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/devicevolumewidget.cpp.o [ 18%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/postprocessing.cpp.o [ 18%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/soundserver.cpp.o [ 18%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/soundclient.cpp.o [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/soundinputclient.cpp.o [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/soundoutputclient.cpp.o /Users/Shu/Desktop/simonsource/simonlib/simonsound/soundoutputclient.cpp:59:46: warning: unused parameter 'contentSampleRate' [-Wunused-parameter] void SoundOutputClient::initToSampleRate(int contentSampleRate) ^ 1 warning generated. [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/wavrecorderclient.cpp.o [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/nullrecorderclient.cpp.o [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/wavplayerclient.cpp.o [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/wavplayersubclient.cpp.o [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/wavfilewidget.cpp.o [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/simonsoundinput.cpp.o [ 19%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/simonsoundoutput.cpp.o [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/loudnessmetersoundprocessor.cpp.o /Users/Shu/Desktop/simonsource/simonlib/simonsound/loudnessmetersoundprocessor.cpp:44:25: warning: cast from 'const char *' to 'short *' increases required alignment from 1 to 2 [-Wcast-align] const short* frames = (short*) data.constData(); ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/vadsoundprocessor.cpp.o [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/trainsamplevolumepage.cpp.o [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/devicesettings.cpp.o [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/singledevicesettings.cpp.o [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/soundbuffer.cpp.o [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/soundinputbuffer.cpp.o [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/soundoutputbuffer.cpp.o [ 20%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/soundbackend.cpp.o [ 21%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/qsemaphore2.cpp.o [ 21%] Building CXX object simonlib/simonsound/CMakeFiles/simonsound.dir/coreaudio/coreaudiobackend.mm.o /Users/Shu/Desktop/simonsource/simonlib/simonsound/coreaudio/coreaudiobackend.mm:72:64: error: too many arguments provided to function-like macro invocation bool CoreAudioBackend::check(SimonSound::SoundDeviceType type, const QSt... ^ /usr/include/AssertMacros.h:1291:10: note: macro 'check' defined here #define check(assertion) __Check(assertion) ^ /Users/Shu/Desktop/simonsource/simonlib/simonsound/coreaudio/coreaudiobackend.mm:72:24: error: redefinition of 'check' as different kind of symbol bool CoreAudioBackend::check(SimonSound::SoundDeviceType type, const QSt... ^ /Users/Shu/Desktop/simonsource/simonlib/simonsound/coreaudio/coreaudiobackend.h:39:10: note: previous definition is here bool check(SimonSound::SoundDeviceType type, const QString& device, ... ^ /Users/Shu/Desktop/simonsource/simonlib/simonsound/coreaudio/coreaudiobackend.mm:72:29: error: expected ';' after top level declarator bool CoreAudioBackend::check(SimonSound::SoundDeviceType type, const QSt... ^ ; 3 errors generated. make[2]: *** [simonlib/simonsound/CMakeFiles/simonsound.dir/coreaudio/coreaudiobackend.mm.o] Error 1 make[1]: *** [simonlib/simonsound/CMakeFiles/simonsound.dir/all] Error 2 make: *** [all] Error 2 Shus-MacBook-Pro:simonsource Shu$ ## |
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]