Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    未定义的引用,undefined reference

    OpenFOAM
    1
    1
    938
    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.
    • 李东岳
      李东岳 管理员 last edited by

      对‘Foam::twoPhase::Sp()’未定义的引用
      collect2: error: ld returned 1 exit status

      undefined reference

      类可能编译成功,在对接求解器的时候可能会提示此错误。问题在于类。检查virtual函数后面是否=0。

      CFD高性能服务器 http://dyfluid.com/servers.html

      1 Reply Last reply Reply Quote
      • First post
        Last post

      CFD中文网 | 东岳流体 | 京ICP备15017992号-2
      论坛登录问题反馈可联系 li.dy@dyfluid.com