Created
August 21, 2017 08:46
-
-
Save eckucukoglu/9855d8e41f34cbe76f698a71f8925fb5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eckucukoglu@neptune:~/.../KeywordManager$ source /opt/sestek.env.sheckucukoglu@neptune:~/.../KeywordManager$ make | |
arm-oe-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/usr/local/oecore-x86_64/sysroots/armv7a-vfp-neon-oe-linux-gnueabi -O2 -g -Wall -fmessage-length=0 -std=c++11 -pthread -DDEVICE -I../ExternalLibs/include -c KeywordManager.cpp -o KeywordManager.o | |
KeywordManager.cpp: In member function 'bool KeywordManager::enable(int)': | |
KeywordManager.cpp:117:105: error: invalid conversion from 'void (*)(void*, char*)' to 'qci_keyword_cb {aka void (*)(void*, char*, unsigned int, unsigned int, unsigned int, unsigned int)}' [-fpermissive] | |
int setcbResult = qci_keyword_setcb(KeywordManager::keywordTriggered, (void *)"QUANTA_USER_DATA_STRING"); | |
^ | |
In file included from KeywordManager.cpp:14:0: | |
../ExternalLibs/include/qci_lib.h:198:5: note: initializing argument 1 of 'int qci_keyword_setcb(qci_keyword_cb, void*)' | |
int qci_keyword_setcb(qci_keyword_cb cb, void* user_data); | |
^ | |
Makefile:17: recipe for target 'KeywordManager.o' failed | |
make: *** [KeywordManager.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment