0

我在构建应用程序并运行后在 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)

你能告诉我为什么我有这种问题吗????

4

1 回答 1

0

KAA_WITHOUT_NOTIFICATIONS您应该使用CMake 选项启用通知子系统:

cmake -DKAA_WITHOUT_NOTIFICATIONS=0 ..

(请注意,这是该选项的默认值。)

于 2016-11-04T17:52:38.123 回答