Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    Paraview 编译

    OpenFOAM
    3
    14
    1786
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jacob Z last edited by 李东岳

      从git下载了paraview解压至thirdparty5.x 编译后报错如图解决未果,但thirdparty 变成了600多M,就直接删了thirdparty 重新下载了一个,并按照李老师官网的教程重新编译paraview 5.4.0。不知道这样做妥不妥?😅![0_1597281644833_FA157F1E-4BFC-4BBA-9EEA-2BE4BB7C15AB.jpeg](正在上传 100%)

      1 Reply Last reply Reply Quote
      • 李东岳
        李东岳 管理员 last edited by

        从git下载了paraview解压至thirdparty5.x 编译后报错如图解决未果

        你下载的paraview要符合openfoam-5的版本。为什么不用绿色版paraview,不用编译,双击就能运行,也没什么差异。

        ![0_1597281644833_FA157F1E-4BFC-4BBA-9EEA-2BE4BB7C15AB.jpeg](正在上传 100%)
        我经常看到这种错误,但不知道怎么产生的,我就没法处理,可以告诉我一下你这个怎么出来的么?

        CFD课程 改成线上了 http://dyfluid.com/class.html
        CFD高性能服务器 http://dyfluid.com/servers.html

        J 2 Replies Last reply Reply Quote
        • J
          Jacob Z last edited by

          图片为啥显示不了?~ 李老师,就在刚刚编译到最后又是同样的错误“”“error:invalid use of incomplete type 'class QHeaderView'”。因为要用CFDEM,所以安装的OF-5.x,paraview5.4.0。具体这个错误怎么来的我不知道啊,从头到尾都按教程来的,很懵逼~解决不了只能绿色版了 :135:

          1 Reply Last reply Reply Quote
          • J
            Jacob Z @李东岳 last edited by

            @东岳 老师,你是指图片上传的错误吗? 我用的手机,提示“服务器响应解析错误”。

            1 Reply Last reply Reply Quote
            • J
              Jacob Z @李东岳 last edited by

              @东岳 刚拍了一张图上传提示“文件大小限制为500k”。但是昨天上传图片都很顺利~

              1 Reply Last reply Reply Quote
              • 李东岳
                李东岳 管理员 last edited by

                @Jacob-Z

                https://github.com/OpenFOAM/thirdparty-5.x 你试试下载里面的连接的包 http://www.paraview.org/files/v5.4/ParaView-v5.4.0.tar.gz

                你用的是ubuntu多少?

                CFD课程 改成线上了 http://dyfluid.com/class.html
                CFD高性能服务器 http://dyfluid.com/servers.html

                J 1 Reply Last reply Reply Quote
                • J
                  Jacob Z @李东岳 last edited by

                  @东岳 我用的ubuntu-20.04

                  1 Reply Last reply Reply Quote
                  • 李东岳
                    李东岳 管理员 last edited by

                    我怀疑你这个是QT版本问题 你看看下述有没有帮助

                    https://bugs.openfoam.org/view.php?id=2640

                    https://www.cfd-china.com/topic/3182/paraview编译问题再次求助?_=1597312248423

                    https://www.cfd-china.com/topic/3296/paraview安装/3?_=1597312248430

                    CFD课程 改成线上了 http://dyfluid.com/class.html
                    CFD高性能服务器 http://dyfluid.com/servers.html

                    J 2 Replies Last reply Reply Quote
                    • J
                      Jacob Z @李东岳 last edited by

                      @东岳 感谢老师! 我会稍后尝试并反馈:140:

                      1 Reply Last reply Reply Quote
                      • J
                        Jacob Z @李东岳 last edited by

                        @东岳 老师,我分别并一起使用了cmake3.9以及QT5.9.0重新编译paraview5.4.0到92%提示同样错误(invalid use of incomplete type ‘class QHeadView’),后在相应文件中引用了头文件后再重新编译到96%提示新的错误,还是QT的问题(invalid use of incomplete type ‘class QSstyle’):136:

                        1 Reply Last reply Reply Quote
                        • 李东岳
                          李东岳 管理员 last edited by

                          不好弄 我可以再有空的时候帮你装一个 但是装这个太费时间了 :135:

                          CFD课程 改成线上了 http://dyfluid.com/class.html
                          CFD高性能服务器 http://dyfluid.com/servers.html

                          J 1 Reply Last reply Reply Quote
                          • J
                            Jacob Z @李东岳 last edited by

                            @东岳 老师你这么说我已经很感动了😹。还好我用的工作站编译比较快,我这两天再弄弄💪

                            1 Reply Last reply Reply Quote
                            • C
                              chien last edited by

                              强烈建议直接下载Paraview安装包,不要编译了!

                              J 1 Reply Last reply Reply Quote
                              • J
                                Jacob Z @chien last edited by

                                @chien 是的谢谢🙏,放弃编译了😹

                                1 Reply Last reply Reply Quote
                                • First post
                                  Last post

                                CFD中文网 | 东岳流体 | 京ICP备15017992号-2