如何解决在Zero C Ice编译中的upCast错误?- Gcc - 4.7使用clang编译
How to solve the upCast error in Zero C Ice compilation? - Gcc - 4.7 compile with clang
我必须构建杂音(Mumble VOIP客户端的服务器)。杂音和Mumble在其框架中使用了ZeroC Ice 3.4。我试着做杂音,却陷入了一个编译错误。
错误如下:
>/usr/include/Ice/Handle.h: In instantiation of ‘IceInternal::Handle<T>::Handle(T*) [with T = Ice::Communicator]’:
/usr/include/Ice/OutgoingAsync.h:49:16: required from here
/usr/include/Ice/Handle.h:66:13: error: ‘upCast’ was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
我试着用谷歌搜索了几次,但只有两个链接。没有一个能解决我的问题。我已经找到了一种方法来实现我的需求在低语和喃喃自语,但这个bug是让我发疯。
我希望至少有一个人遇到过这个问题并解决了。我真的需要一个解决杂音的方法。
谢谢。
使用google的强大功能,我发现你的问题很容易解决。
像这样搜索
将在这里产生突出的zeroC错误
链接到'grembo'(可能还有其他人)为gcc 4.7和clang编写的补丁
你可能需要在你的搜索引擎功夫。:)
相关文章:
- 从macOS Catalina上的源代码编译LLVM(如何解决未找到"stdio.h")
- 我正在尝试制作一个自平衡机器人,但编译时存在错误。我不知道如何解决它
- 在Linux/Ubuntu中编译openCV应用程序时,如何解决未定义的引用cv:..?
- 如何解决我在 Ubuntu 19.04 下使用 GLFW 时遇到的这个编译问题?
- 解决由于在哈希函数中使用了不完整的类型而导致的编译失败
- 正在尝试解决特定于gcc的编译错误
- 为什么包含任意 STL 标头可以解决这些编译错误?
- 我正在尝试使用回溯来解决 N queen 问题,但在编译时它会给出运行时错误(动态堆栈缓冲区溢出)
- C++编译错误LNK2019:未解决的外部符号错误
- 如何解决RUN_ERROR即使它正常编译
- 当 pkg-config 不能解决 opencv 'undefined reference'编译问题时,如何解决它?
- 编译示例 Cinder 项目时存在大量未解决的外部问题
- 解决此C 代码的编译错误
- 使用/解决模板时停止编译
- 编译轨道样品时的C 错误-LNK2019未解决的外部符号
- 尝试解决"out of scope"编译错误:CodeBlocks,Linux Fedora
- 编译时解决方案以检测特征对象没有eval()成员
- 在编译时解决河内塔
- 为什么不能在编译时解决运行时多态性?
- C++对象实例化数组(我正在尝试找到编译时解决方案)