我在Kaaproject中运行通知时遇到问题 构建应用程序后运行我有这个错误
terminate called after throwing an instance of 'kaa::KaaException'
what(): [Kaa OpenSource Project] Instruction failed! Details: "Failed to add
topic list listeners. Notification subsystem is disabled" Original message: std::exception
Backtrace:
[0] ./client(_ZN3kaa12KaaException12captureStackERSt18basic_stringstreamIcSt11char_traitsIcESaIcEE+0x43) [0x66a0a7]
[1] ./client(_ZN3kaa12KaaExceptionC2ERKSs+0xe4) [0x669f88]
[2] ./client(_ZN3kaa9KaaClient20addTopicListListenerERNS_30INotificationTopicListListenerE+0x52) [0x66db66]
[3] ./client(main+0x10d) [0x65a03d]
[4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f8f911d6830]
[5] ./client(_start+0x29) [0x659b39]
Aborted (core dumped)
你可以告诉我,我有这种问题????
答案 0 :(得分:0)
您应该使用KAA_WITHOUT_NOTIFICATIONS
CMake选项启用通知子系统:
cmake -DKAA_WITHOUT_NOTIFICATIONS=0 ..
(请注意,这是该选项的默认值。)