最近在某学校的服务器上装老版本的Palabos,结果编译的时候还有这回事:
error: invalid initialization of reference of type ‘plb::MultiContainerBlock3D&’ from expression of type ‘plb::MultiContainerBlock3D*’|

查了一下:
把src\gridRefinement\couplingInterfaceGenerator3D.h的第145行改成:

return *dataProcessors;

即可。

error: invalid initialization of reference of type ‘plb::MultiContainerBlock3D’ from expression of相关推荐

  1. error: invalid initialization of reference of type ‘std::string’ from expression of type ‘const s

    error: invalid initialization of reference of type 'std::string&' from expression of type 'const ...

  2. error: invalid new-expression of abstract class type 'Rectangle'

    class GeometricObject { --virtual bool hit(const Ray& ray, double& t, ShadeRec& s) const ...

  3. invalid new-expression of abstract class type 'CurveFittingEdge'

    目录 一 报错原因 注:原创不易,转载请务必注明原作者和出处,感谢支持! 一 报错原因 今天遇到了一个之前从未遇到的报错: error: invalid new-expression of abstr ...

  4. boost中cannot bind rvalue reference of type to lvalue of type问题

    1.问题引出 最近在新的环境上编译以前使用过boost的c++程序,发现对boost的相关调用部分报错了,而且报错发生在boost的内部的hpp文件中 报错内容:cannot bind rvalue ...

  5. error: invalid use of incomplete type 'XXXX' ;error: forward declaration of 'XXXX' 声明改为包含头文件

    error: invalid use of incomplete type 'XXXX' error: forward declaration of XXXX 声明改为包含头文件 class XXXX ...

  6. warning: initialization from incompatible pointer type error, forbidden解决

    android kernel报错: warning: initialization from incompatible pointer type error, forbidden warning:xx ...

  7. error: invalid application of 'sizeof' to an incomplete type 'JNINativeMethod []'

    android studio比较奇葩得把new char[100]{"fff"}这样的直接写成字面值常量 而window 的jni则必须使用这种 -- 尴尬 然后发现2个jni文件 ...

  8. 成功解决CatBoost Error: Invalid type for cat_feature[non-default value idx=0,feature_idx=6]=31698.0 : ca

    成功解决CatBoost Error: Invalid type for cat_feature[nondefault value idx=0,feature_idx=6]=31698.0 : cat ...

  9. 【报错】关于[Error] cannot bind non-const lvalue reference of type ‘std::String‘ to an rvalue……的一个解决方案

    使用dev c++进行一波教科书代码的练习时出现了一点问题,于是来记录一波. 报错信息如下: [Error] cannot bind non-const lvalue reference of typ ...

最新文章

  1. 求高精度幂(java)
  2. C++ 自由存储区是否等价于堆?
  3. python自带超参调优包
  4. HDU1058 Humble Numbers
  5. 手把手教你安装VMware虚拟机
  6. 计算机网络常见面试真题详解
  7. 百度任务型对话系统小记
  8. 阿里云容器技术专家莫源:乘风踏雪归来,仍是此间少年
  9. 如何输入一个整数逆序输出_如何理解运算放大器的共模输入和输出摆幅限制?...
  10. MySQL对字符集_对MySQL字符集的认识
  11. Java中的 WeakReference 和 SoftReference
  12. 华为鸿蒙系统手机央视,央视再次确认!华为投入巨资打造鸿蒙系统生态:体验媲美七成安卓...
  13. jenkins的groovy脚本没权限
  14. 是否可以手动运行一次logrotate检查?
  15. Cpp STL - vector常用语法
  16. 实验四 数组程序设计
  17. Kebernetes 学习总结(8) statefulset
  18. 在OneNote中快速插入当前日期和时间
  19. 利用打码平台识别点选验证码
  20. [2022-04-27] refresh PDB

热门文章

  1. python list常用技巧
  2. 头条批量关注发消息,按键精灵自动化脚本
  3. 哲学家们只是用不同的方式解释世界,而问题在于改变世界。
  4. 2020年4月北京BGP机房网络质量评测报告
  5. html table的边框线怎么变圆角_css实现带有四个圆角的table表格 2019年9月6日
  6. 题解 P1650 田忌赛马
  7. Github下载热榜,阿里最新出品Java面试核心讲(终极版)
  8. JavaScript Attacks
  9. 泰坦尼克号可视化案例分析
  10. tensorflow 物体检测(检测限速标志)