如何在Debian Jessie上编译Selenium,在ibus上失败

时间:2015-07-26 07:41:46

标签: c++ c selenium compilation compiler-errors

当我在Debian Jessie上编译Selenium时,它给出了下面的输出。我安装了ibus lib。我认为我使用的版本是不同的。

我该如何解决?

如果您需要提供任何环境配置,请写下我应该在此处发布的cmd输出。

...
Compiling: //cpp:imehandler64 as build/cpp/amd64/libimehandler64.so
cpp/imehandler/linux/src/ibushandler.cpp: In member function ‘virtual std::string IBusHandler::GetActiveEngine() const’:
cpp/imehandler/linux/src/ibushandler.cpp:70:37: error: ‘IBusEngineDesc’ has no member named ‘name’
     engine_name = std::string(desc->name);
                                     ^
cpp/imehandler/linux/src/ibushandler.cpp: In member function ‘IBusInputContext* IBusHandler::GetCurrentInputContext() const’:
cpp/imehandler/linux/src/ibushandler.cpp:88:3: error: ‘IBusConnection’ was not declared in this scope
   IBusConnection* conn = ibus_bus_get_connection(bus_);
   ^
cpp/imehandler/linux/src/ibushandler.cpp:88:19: error: ‘conn’ was not declared in this scope
   IBusConnection* conn = ibus_bus_get_connection(bus_);
                   ^
cpp/imehandler/linux/src/ibushandler.cpp: In member function ‘virtual bool IBusHandler::IsActivated() const’:
cpp/imehandler/linux/src/ibushandler.cpp:110:47: error: ‘ibus_input_context_is_enabled’ was not declared in this scope
   return ibus_input_context_is_enabled(context);
                                               ^
cpp/imehandler/linux/src/ibushandler.cpp: In member function ‘virtual void IBusHandler::Deactivate()’:
cpp/imehandler/linux/src/ibushandler.cpp:127:37: error: ‘ibus_input_context_disable’ was not declared in this scope
   ibus_input_context_disable(context);
...

0 个答案:

没有答案